joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099d8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x64f05c], 0
je 0x409a3f
cmp word [0x64f348], 0xd7b2
jne 0x409a01
cmp dword [0x64f350], 0
jbe 0x409a01
mov eax, 0x64f344
call dword [0x64f360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409a6c
call fcn.0040a560
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x648032], 0
jne 0x409a5b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409c00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x648034], 0
je 0x409c2b
mov edx, edi
mov eax, esi
call dword [0x648034]
mov ebx, eax
jmp 0x409c3c
mov eax, 8
call fcn.00406e70
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x64f05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409bc8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409c6c
mov eax, ebx
call fcn.00406e8c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40c974
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40cad9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409d40
cmp si, word [0x648a00]
jb 0x40ca0c
cmp si, word [0x648c00]
ja 0x40ca0c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40ca0c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x648a00]
jae 0x40c9e6
mov edi, ebx
dec edi
jmp 0x40ca07
cmp si, word [ebx*8 + 0x648a00]
jbe 0x40c9f6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ca07
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x648a04]
call fcn.0040c894
jmp 0x40ca0c
cmp edi, dword [ebp - 8]
jae 0x40c9d0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40cabb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cabb
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a918
push dword [ebp - 0x160]
push 0x40caf4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a918
push dword [ebp - 0x164]
push 0x40cb04
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a918
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ab50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cae0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409da0
ret
Function at 0x40cc8c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cd90
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x651c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x651c2c]
jne 0x40ccd8
mov eax, esi
mov edx, 0x651c2e
mov ecx, 0x55
call fcn.0040a918
push 0x651c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40cd7a
push 0x651c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409d40
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cd47
cmp byte [0x651c10], 0
je 0x40cd0c
mov edx, esi
mov eax, ebx
call fcn.0040cb70
jmp 0x40cd47
mov edx, esi
mov eax, ebx
call fcn.0040c974
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40cd47
cmp dword [esi], 0
je 0x40cd30
mov eax, esi
mov edx, 0x40cda8
call fcn.0040aa70
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c974
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040aa70
push 0x651c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x651c2c], bx
mov eax, dword [esi]
call fcn.0040a85c
mov ecx, eax
mov eax, 0x651c2e
mov edx, 0xaa
call fcn.0040c7f4
push 0x651c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd97
lea eax, [ebp - 4]
call fcn.00409d40
ret
Function at 0x40cfc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409e24
xor eax, eax
push ebp
push 0x40d1e5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40d000
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40d01a
mov eax, dword [ebp - 4]
call fcn.0040a85c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c7f4
cmp word [ebp - 0x21a], 0
je 0x40d1cf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d1f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d1f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d230
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d230
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d264
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d0e9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d298
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d1cf
xor eax, eax
push ebp
push 0x40d1c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cdd0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d158
mov eax, dword [ebp - 0x10]
call fcn.00406e70
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a8c4
jmp 0x40d1a3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d2d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d1a3
mov eax, dword [ebp - 0x10]
call fcn.00406e70
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d2d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a8c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1cf
cmp dword [ebp - 8], 0
je 0x40d1be
mov eax, dword [ebp - 8]
call fcn.00406e8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1ec
lea eax, [ebp - 4]
call fcn.00409d40
ret
Function at 0x40d4d4
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409e24
xor eax, eax
push ebp
push 0x40d594
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a918
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aac8
mov eax, dword [ebx]
call fcn.0040d39c
test al, al
jne 0x40d571
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a918
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aac8
mov eax, dword [ebx]
call fcn.0040d39c
test al, al
jne 0x40d571
mov eax, ebx
call fcn.00409d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d59b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409da0
lea eax, [ebp - 4]
call fcn.00409d40
ret

Function at 0x40f2ec
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x422c14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x422c6d
test eax, edx
je 0x422c70
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422c2b
movzx eax, word [eax]
sub eax, ecx
jmp 0x422c52
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x422c53
add ecx, 4
js 0x422c43
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422c50
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422c52
xor eax, eax
ret
test eax, eax
je 0x422c7c
test edx, edx
jne 0x422c1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42413c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x424169
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42423c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040a85c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4242a6
test ah, 4
je 0x42429f
test bl, bl
jne 0x424264
mov al, 1
jmp 0x4242cd
test al, 0x10
je 0x42426c
xor eax, eax
jmp 0x4242cd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x424290
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x4242cd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4242cd
test al, 0x10
sete al
jmp 0x4242cd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4242c7
cmp ebx, 3
je 0x4242c7
cmp ebx, 0x7b
je 0x4242c7
mov eax, esi
call fcn.004241fc
test al, al
jne 0x4242cb
xor eax, eax
jmp 0x4242cd
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4242d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040a85c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42437b
test esi, 0x400
jne 0x424310
test esi, 0x10
setne bl
jmp 0x4243ab
cmp byte [esp], 0
je 0x424344
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4243ab
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x4243ab
test esi, 0x10
je 0x424350
mov bl, 1
jmp 0x4243ab
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x424377
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x4243ab
mov bl, 1
jmp 0x4243ab
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4243a5
cmp eax, 3
je 0x4243a5
cmp eax, 0xa1
je 0x4243a5
cmp eax, 0x7b
je 0x4243a5
cmp eax, 0x35
je 0x4243a5
cmp eax, 0x15
je 0x4243a5
cmp eax, 0x43
jne 0x4243a9
xor ebx, ebx
jmp 0x4243ab
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4244b8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040a85c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42450d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x424507
test ah, 4
je 0x424507
test al, 0x10
je 0x424507
mov eax, esi
call fcn.0040a85c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x42450d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4283f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x428431
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409ec8
jmp 0x42843a
mov eax, ebx
mov edx, esi
call fcn.0040a120
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428444
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x428466
movzx eax, word [esp]
jmp 0x428468
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x429764
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x429889
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042956c
mov esi, eax
mov eax, dword [0x64dda0]
cmp byte [eax], 0
je 0x429831
mov eax, dword [0x64d898]
call fcn.004077a8
call fcn.00406fe4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x429734]
call fcn.0040c078
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4298a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42986d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x64d7c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x652634]
call fcn.0040c498
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429890
lea eax, [ebp - 4]
mov edx, dword [0x429734]
call fcn.0040c19c
ret

Function at 0x42a948
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42aa1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a168
lea eax, [ebp - 4]
call fcn.0040a2fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a85c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42aa08
mov eax, ebx
call fcn.00406e70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42aa01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a85c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42a9eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42aa30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42a9eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aa08
mov eax, dword [ebp - 0x10]
call fcn.00406e8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aa25
lea eax, [ebp - 4]
call fcn.00409d40
ret
Function at 0x42aa34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42ab34
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a168
lea eax, [ebp - 4]
call fcn.0040a2fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a85c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42ab1e
mov eax, ebx
call fcn.00406e70
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42ab17
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a85c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42ab01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ab48
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42ab01
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ab1e
mov eax, dword [ebp - 0x10]
call fcn.00406e8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ab3b
lea eax, [ebp - 4]
call fcn.00409d40
ret

Function at 0x42ba74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a23c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f2cc
mov edi, eax
cmp edi, 0x104
jbe 0x42ba1f
mov eax, edi
add eax, eax
call fcn.00406e70
mov esi, eax
jmp 0x42ba21
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f2cc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42ba5a
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42ba44
mov eax, esp
cmp esi, eax
je 0x42ba67
mov eax, esi
call fcn.00406e8c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42baa0
cmp bl, 0
je 0x42ba9c
cmp bl, 0x41
jl 0x42ba97
cmp bl, 0x5a
jg 0x42ba97
or bl, 0x20
xor al, bl
inc esi
jmp 0x42ba7b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b9e0

Function at 0x42c370
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a918
add esp, 0x800
pop ebx
ret
Function at 0x4841d8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4841e0
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c1b20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c1bbe
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c1b82
cmp byte [ebx + 0x11], 0
jne 0x4c1b82
cmp byte [ebx + 0x24], 0
jne 0x4c1b82
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c1ba3
lea edx, [ebp - 4]
mov eax, dword [0x64dccc]
call fcn.0040f238
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49543c]
call fcn.004298b4
call fcn.004093b8
jmp 0x4c1ba3
lea edx, [ebp - 8]
mov eax, dword [0x64dccc]
call fcn.0040f238
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x49543c]
call fcn.004298b4
call fcn.004093b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1bc5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409da0
ret

Function at 0x4c23d8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c2426
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c19a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c243f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c2448
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c19a0
dec esi
jne 0x4c246a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4c4fc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x654de8
cmp dword [edi], 0
jne 0x4c5044
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x654de4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x64b7ac
mov ecx, 2
call fcn.00407034
mov edx, 0x4c4fa0
lea eax, [esi + 5]
call fcn.004c4fc0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c4fc0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4c5019
mov dword [0x654de4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8