joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x40ce30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x490
mov ecx, 8
xor eax, eax
push ebx
mov ebx, dword [esp + 0x49c]
push esi
push edi
mov edi, ebx
push 0
rep stosd dword es:[edi], eax
push 0
push 3
stosb byte es:[edi], al
mov eax, dword [esp + 0x4ac]
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ce7c
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x490
ret
lea ecx, [esp + 0x44]
push ecx
call fcn.0040c2a0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x9c]
push 0
push edx
push 0x400
push eax
push esi
call edi
test eax, eax
je 0x40cee3
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x40cee3
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0040c2d0
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x9c]
push 0
push eax
push 0x400
push ecx
push esi
call edi
test eax, eax
jne 0x40ceaa
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0040c380
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea edi, [esp + 0x20]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
push ecx
push str._02x
push 2
push edi
call sub.MSVCRT.dll__snprintf
add esp, 0x10
inc esi
add edi, 2
cmp esi, 0x10
jl 0x40cf02
mov ecx, 8
lea esi, [esp + 0x20]
mov edi, ebx
mov al, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x490
ret

Function at 0x40d62d
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
pop esi
call fcn.0040d340
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp + 8], 0xe
and dword [ecx + 0x134], 0
and dword [ecx + 0x130], 0
xor dword [ecx + 0x9c], edi
mov eax, dword [ebp + 8]
push 0x25
cdq
pop ebx
add dword [ebp + 8], 0xe
idiv ebx
xor dword [ecx + edx*4 + 0x9c], esi
sub edi, esi
cmp dword [ebp + 8], 0x206
lea eax, [ecx + edx*4 + 0x9c]
mov eax, esi
mov esi, edi
mov edi, eax
jl 0x40d65b
mov esi, 0x3e8
call fcn.0040d5ab
dec esi
jne 0x40d68c
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40eb90
Capabilities:
Access peb ldr_data
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x410760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov al, 0x9a
push esi
mov byte [esp + 0x30], al
mov byte [esp + 0x38], al
push edi
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x2c]
push 0x14
push eax
push 0x26
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 1
mov dword [esp + 0x7c], edi
mov byte [esp + 0x38], 0x95
mov byte [esp + 0x39], 0xe3
mov byte [esp + 0x3a], 0xee
mov byte [esp + 0x3b], 0xef
mov byte [esp + 0x3c], 0x91
mov byte [esp + 0x3d], 0xed
mov byte [esp + 0x3e], 0xfa
mov byte [esp + 0x3f], 0xfe
mov byte [esp + 0x41], 0xf8
mov byte [esp + 0x42], 0xcd
mov byte [esp + 0x43], 0xd5
mov byte [esp + 0x44], 0xa5
mov byte [esp + 0x45], 0xc9
mov byte [esp + 0x46], 0xc6
mov byte [esp + 0x47], 0xcf
mov byte [esp + 0x49], 0xf8
mov byte [esp + 0x4a], 0xea
mov byte [esp + 0x4b], 0xf3
call fcn.004029b0
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xc]
push esi
push edx
push str.Install
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], 0
call fcn.00402a40
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40ed78
mov al, 0x99
push 0x1c
mov byte [esp + 0x44], al
mov byte [esp + 0x5c], al
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
push 0x29
mov byte [esp + 0x4d], 0xdd
mov byte [esp + 0x4e], 0xc4
mov byte [esp + 0x4f], 0xd9
mov byte [esp + 0x50], 0xbb
mov byte [esp + 0x51], 0xce
mov byte [esp + 0x52], 0xc6
mov byte [esp + 0x53], 0x9e
mov byte [esp + 0x54], 0x8f
mov byte [esp + 0x55], 0xc6
mov byte [esp + 0x56], 0xc7
mov byte [esp + 0x57], 0xdb
mov byte [esp + 0x58], 0xba
mov byte [esp + 0x59], 0xf3
mov byte [esp + 0x5a], 0xff
mov byte [esp + 0x5b], 0xfb
mov byte [esp + 0x5c], 0x87
mov byte [esp + 0x5d], 0xec
mov byte [esp + 0x5e], 0xee
mov byte [esp + 0x5f], 0xf0
mov byte [esp + 0x60], 0x9d
mov byte [esp + 0x61], 0xf3
mov byte [esp + 0x62], 0xf8
mov byte [esp + 0x63], 0xed
mov byte [esp + 0x65], 0xc3
mov byte [esp + 0x66], 0xde
mov byte [esp + 0x67], 0xcd
call fcn.004029b0
push edi
push esi
mov byte [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40ed52
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], al
call fcn.00402a00
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00402a00
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
lea ecx, [esp + 0xc]
call fcn.00402a40
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 0
call fcn.00402a00
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00402a00
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 8
Function at 0x40fb90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
mov edx, ecx
dec ecx
test edx, edx
je 0x40fbc7
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x41492c]
xor eax, edx
inc ecx
dec esi
jne 0x40fba7
pop esi
pop ebx
not eax
ret

Function at 0x40fbf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
je 0x40fc1b
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40fc1b
xor eax, eax
test edi, edi
jle 0x40fc1b
mov cl, byte [esp + 0xc]
mov dl, byte [eax + esi]
xor dl, cl
sub dl, al
mov byte [eax + esi], dl
inc eax
cmp eax, edi
jl 0x40fc0c
pop edi
pop esi
ret

Function at 0x40fc60
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
test esi, esi
jne 0x40fc7e
xor eax, eax
pop esi
add esp, 0x104
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
push 0x104
push esi
push ecx
call ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x10]
push esi
push eax
call ebx
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop edi
pop ebx
pop esi
add esp, 0x104
ret 4
Function at 0x40fe40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xb5]
mov byte [esp + 0xb4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x74]
push 0x40
push eax
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0xbc]
push 0x40
push ecx
lea edx, [esp + 0x44]
push 0x40
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.0040fd90
test eax, eax
je 0x40ffed
push esi
lea ecx, [esp + 0x18]
push 0x20
lea edx, [esp + 0xbc]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x40ffed
mov eax, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x40ffdf
cmp dword [ebp], eax
jb 0x40ffdf
xor esi, esi
mov dword [ebp], eax
test eax, eax
jbe 0x40ffa2
cmp ebx, dword [esp + 0x28]
jae 0x40ffa2
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xf5]
mov byte [esp + 0xf4], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
push ebx
stosw word es:[edi], ax
push ecx
push str._s_d
lea edx, [esp + 0x100]
push 0x3f
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [ebp]
add esp, 0x14
sub eax, esi
mov edi, 0x4000
cmp eax, 0x4000
jg 0x40ff6c
mov edi, eax
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x10]
push eax
push edi
lea edx, [esi + ecx]
lea eax, [esp + 0xfc]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x40ffa2
mov eax, dword [ebp]
add esi, edi
inc ebx
cmp esi, eax
jb 0x40ff16
mov edx, dword [ebp]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x20]
push edx
push esi
push eax
call fcn.0040fbf0
mov ecx, dword [ebp]
push ecx
push esi
call fcn.0040fb90
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x40fffc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x124
ret 0xc
push 0xea
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x124
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 0xc
Function at 0x410060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x44
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x54]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00410010
test eax, eax
jne 0x41009b
pop edi
pop esi
add esp, 0x44
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x10], 0
mov eax, dword [ebp]
add eax, 0x20
push eax
mov dword [esp + 0x5c], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x410166
lea edx, [esp + 0x58]
lea eax, [esp + 0x60]
push edx
push ebx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x104]
lea edx, [esi + 0x108]
push ecx
push edx
push eax
mov dword [esp + 0x78], 3
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x41015d
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx + 0xc]
push ecx
push ebx
push edx
call fcn.0040fbf0
mov edi, dword [esp + 0x68]
add esp, 0xc
test edi, edi
je 0x41014c
mov eax, dword [ebx + 8]
mov ecx, dword [ebp]
cmp eax, ecx
ja 0x41014c
lea esi, [ebx + 0x20]
push eax
push esi
mov dword [ebp], eax
call fcn.0040fb90
mov ecx, dword [ebx + 0x10]
add esp, 8
cmp eax, ecx
jne 0x41015d
mov ecx, dword [ebp]
mov dword [esp + 0x10], 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41015d
mov ecx, dword [ebx + 8]
push 0xea
mov dword [ebp], ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call fcn.0040cfde
add esp, 4
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x44
ret 0xc
Function at 0x4101c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x410780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
mov cl, 0xcf
mov al, 0xd4
mov byte [esp + 0x3b], cl
mov byte [esp + 0x44], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4c], cl
mov byte [esp + 0x52], al
mov byte [esp + 0x5c], al
push edi
mov cl, 0xfe
lea eax, [esp + 0x3c]
push 0x29
mov dl, 0xf4
mov byte [esp + 0x5d], cl
mov byte [esp + 0x5f], cl
mov byte [esp + 0x63], cl
push eax
push 6
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0xf5
mov byte [esp + 0x49], 0xc3
mov byte [esp + 0x4a], 0xce
mov byte [esp + 0x4c], 0xf1
mov byte [esp + 0x4d], 0xcd
mov byte [esp + 0x4e], 0xda
mov byte [esp + 0x4f], 0xde
mov byte [esp + 0x50], 0xfa
mov byte [esp + 0x51], 0xc1
mov byte [esp + 0x52], 0xe1
mov byte [esp + 0x53], 0xf8
mov byte [esp + 0x55], 0xe3
mov byte [esp + 0x56], 0xfb
mov byte [esp + 0x57], dl
mov byte [esp + 0x58], 0xc0
mov byte [esp + 0x59], 0xf8
mov byte [esp + 0x5b], 0xcc
mov byte [esp + 0x5d], 0xe2
mov byte [esp + 0x5e], 0xec
mov byte [esp + 0x5f], dl
mov byte [esp + 0x60], 0xd1
mov byte [esp + 0x61], 0xff
mov byte [esp + 0x63], 0xd8
mov byte [esp + 0x64], 0xd3
mov byte [esp + 0x66], 0xfa
mov byte [esp + 0x68], 0xc8
mov byte [esp + 0x69], 0xf8
mov byte [esp + 0x6a], 0xde
mov byte [esp + 0x6d], 0xff
mov byte [esp + 0x6e], 0xe1
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0xc8
call fcn.004029b0
lea ecx, [esp + 0x10]
push 9
mov al, 0xe8
push ecx
push 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x7c], 0
mov byte [esp + 0x1c], 0xef
mov byte [esp + 0x1d], 0xe7
mov byte [esp + 0x1e], 0xfd
mov byte [esp + 0x1f], 0xd5
mov byte [esp + 0x20], 0xc3
mov byte [esp + 0x21], 0xff
mov byte [esp + 0x22], 0xd1
mov byte [esp + 0x23], al
mov byte [esp + 0x24], al
call fcn.004029b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0x10
call fcn.00402a40
lea edx, [esp + 8]
mov edi, eax
push edx
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00402a40
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x410352
mov eax, dword [esp + 8]
test eax, eax
je 0x410352
mov esi, 1
jmp 0x410354
xor esi, esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.00402a00
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00402a00
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x402b58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bf0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bd0
xor eax, eax
push ebp
push 0x402bc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c0c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404bcc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404d84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404c2d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404da0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c9a
xor eax, eax
push ebp
push 0x404c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c7c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404dc0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404c9a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404d7b
cmp byte [ebp - 0xd], 0
jne 0x404cdc
cmp byte [ebp - 0x12], 0
je 0x404d7b
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404cf5
dec ebx
cmp byte [ebx], 0x2e
je 0x404d04
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404cf4
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d7b
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404d31
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d7b
cmp byte [ebp - 0xd], 0
je 0x404d7b
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d7b
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408488
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4084c1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403970
jmp 0x4084ca
mov eax, ebx
mov edx, esi
call fcn.00403924
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4084d4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4084f5
mov al, byte [esp]
jmp 0x4084f7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4137b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4137b6
ret

Function at 0x415d90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x415de1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415dc8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415db8
jmp 0x415de1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x415dc9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x461758], 0
sete dl
or al, dl
jne 0x424a84
mov eax, dword [0x46175c]
mov bx, 0xffff
call fcn.00402eb4
mov eax, dword [0x461758]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x424a53
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x461758]
call fcn.0040cf94
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x424a4b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x424a4b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x424a4b
mov eax, dword [ebp - 0x10]
call fcn.0042c864
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x424a4b
push ebp
call fcn.004248fc
pop ecx
test al, al
jne 0x424a4b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x424a07
mov eax, dword [ebp - 0x10]
call fcn.0042b1ac
dec eax
jle 0x424a4b
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402eb4
cmp byte [ebp - 0x15], 0
je 0x424a4b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x424a4b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x46175c]
call fcn.004241ac
inc edi
dec esi
jne 0x42499a
mov eax, dword [0x46175c]
cmp dword [eax + 8], 0
jle 0x424a6b
mov eax, dword [0x46175c]
call fcn.0042423c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424a84
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004247b4
pop ecx
test al, al
jne 0x424a84
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a338
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42a369
je 0x42a3c3
sub eax, 7
je 0x42a38a
dec eax
je 0x42a3b4
sub eax, 0x17
je 0x42a444
jmp 0x42a482
add eax, 0xffffff00
sub eax, 9
jb 0x42a430
add eax, 0xffffff09
sub eax, 0xb
jb 0x42a41a
jmp 0x42a482
mov eax, ebx
call fcn.0043a678
mov edi, eax
test edi, edi
je 0x42a4e2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42a4eb
jmp 0x42a4e2
test byte [ebx + 0x44], 0x20
jne 0x42a4eb
jmp 0x42a4e2
mov edx, esi
mov eax, ebx
call fcn.00427bdc
cmp dword [esi + 0xc], 0xffffffff
jne 0x42a4eb
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406770
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426650
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042a1e8
test eax, eax
je 0x42a4eb
mov dword [esi + 0xc], 1
jmp 0x42a4eb
mov edx, esi
mov eax, ebx
call fcn.0042a2ac
test al, al
jne 0x42a4eb
jmp 0x42a4e2
mov eax, ebx
call fcn.00427248
test al, al
jne 0x42a4eb
jmp 0x42a4e2
mov eax, ebx
call fcn.0042c864
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42a4e2
cmp dword [0x45f72c], 0
je 0x42a4e2
mov eax, dword [0x45f72c]
cmp ebx, dword [eax + 0x24]
jne 0x42a4e2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45f72c]
call fcn.00427af8
jmp 0x42a4e2
mov eax, dword [0x461720]
cmp byte [eax + 0x20], 0
je 0x42a4e2
mov eax, dword [0x461720]
cmp dword [eax + 0x1c], 0
je 0x42a4e2
mov eax, dword [esi]
mov edx, dword [0x461720]
cmp eax, dword [edx + 0x1c]
jne 0x42a4e2
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043a58c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402eb4
jmp 0x42a4eb
mov edx, esi
mov eax, ebx
call fcn.00427bdc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret