joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404748
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406ed0
test esi, esi
jne 0x40477e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00407038
jmp 0x40479c
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040468c
mov edi, eax
test esi, esi
je 0x40479c
cmp dword [ebx], 0
je 0x40479c
dec esi
jmp 0x404785
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4047d0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x582008], 0x8088405
inc edx
mov dword [ebx + 0x582008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x405c30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0040601c
mov byte [esp], al
cmp byte [esp], 0
jne 0x405db9
test edi, edi
je 0x405db9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405cf0
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405ccb
cmp edi, 0xffffffff
je 0x405c8f
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405c8f
mov byte [esp], 0
jmp 0x405db9
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405ccb
test ebx, ebx
jne 0x405cc4
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0040259c
test eax, eax
jne 0x405cc4
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405db9
pause
dec ebp
test ebp, ebp
jg 0x405c74
cmp edi, 0xffffffff
je 0x405cf0
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405cee
mov byte [esp], 0
jmp 0x405db9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405c3e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0040259c
cmp ebx, eax
jne 0x405cf0
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405e2c
mov edx, eax
mov ebx, dword [0x5948c8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405d57
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405d55
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405d57
xor edi, edi
cmp byte [esp], 0
je 0x405d80
mov ebx, dword [esi]
test bl, 1
jne 0x405d99
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0040259c
cmp ebx, eax
jne 0x405d5d
mov byte [esp + 1], 1
jmp 0x405d99
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0040259c
cmp ebx, eax
jne 0x405d80
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405d0a
cmp byte [esp], 0
je 0x405db9
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406b34
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x594050], 0
je 0x406b95
cmp word [0x59432c], 0xd7b2
jne 0x406b5d
cmp dword [0x594334], 0
jbe 0x406b5d
mov eax, 0x594328
call dword [0x594344]
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
push 0x406bc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x582028], 0
jne 0x406bb1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406d8c
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 [0x58202c], 0
je 0x406db7
mov edx, edi
mov eax, esi
call dword [0x58202c]
mov ebx, eax
jmp 0x406dc8
mov eax, 8
call fcn.004043b4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x594051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406d54
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 0x406dfd
mov edx, 8
mov eax, ebx
call fcn.004043d0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x4091e0
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 0x409345
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406ed0
cmp si, word [0x5827fc]
jb 0x409278
cmp si, word [0x5829fc]
ja 0x409278
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409278
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5827fc]
jae 0x409252
mov edi, ebx
dec edi
jmp 0x409273
cmp si, word [ebx*8 + 0x5827fc]
jbe 0x409262
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409273
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x582800]
call fcn.004090f0
jmp 0x409278
cmp edi, dword [ebp - 8]
jae 0x40923c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409327
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409327
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.00407b08
push dword [ebp - 0x160]
push 0x409360
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407b08
push dword [ebp - 0x164]
push 0x409370
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407b08
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40934c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406f30
ret
Function at 0x4094f8
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 0x4095fb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x596b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x596b6a]
jne 0x409544
mov eax, esi
mov edx, 0x596b6c
mov ecx, 0x55
call fcn.00407b08
push 0x596b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4095e5
push 0x596b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406ed0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4095b3
cmp byte [0x596b50], 0
je 0x409578
mov edx, esi
mov eax, ebx
call fcn.004093dc
jmp 0x4095b3
mov edx, esi
mov eax, ebx
call fcn.004091e0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4095b3
cmp dword [esi], 0
je 0x40959c
mov eax, esi
mov edx, 0x409614
call fcn.00407c60
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004091e0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407c60
push 0x596b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x596b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407a64
push eax
push 0x596b6c
call sub.kernel32.dll_lstrcpynW
push 0x596b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409602
lea eax, [ebp - 4]
call fcn.00406ed0
ret
Function at 0x409830
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.00406fb4
xor eax, eax
push ebp
push 0x409a55
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409870
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40988a
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407a64
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409a3f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409959
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409959
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409aa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409959
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409aa0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409959
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ad4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409959
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b08
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409a3f
xor eax, eax
push ebp
push 0x409a38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040963c
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 0x4099c8
mov eax, dword [ebp - 0x10]
call fcn.004043b4
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.00407ab4
jmp 0x409a13
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409b48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409a13
mov eax, dword [ebp - 0x10]
call fcn.004043b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409b48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a3f
cmp dword [ebp - 8], 0
je 0x409a2e
mov eax, dword [ebp - 8]
call fcn.004043d0
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 0x409a5c
lea eax, [ebp - 4]
call fcn.00406ed0
ret
Function at 0x409d94
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.00406fb4
xor eax, eax
push ebp
push 0x409e54
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
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.00407b08
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407cb8
mov eax, dword [ebx]
call fcn.00409c5c
test al, al
jne 0x409e31
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407b08
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407cb8
mov eax, dword [ebx]
call fcn.00409c5c
test al, al
jne 0x409e31
mov eax, ebx
call fcn.00406ed0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409e5b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406f30
lea eax, [ebp - 4]
call fcn.00406ed0
ret

Function at 0x40a700
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 0x41cde8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41ce41
test eax, edx
je 0x41ce44
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41cdff
movzx eax, word [eax]
sub eax, ecx
jmp 0x41ce26
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 0x41ce27
add ecx, 4
js 0x41ce17
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41ce24
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41ce26
xor eax, eax
ret
test eax, eax
je 0x41ce50
test edx, edx
jne 0x41cdf0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41dc3c
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.00407a64
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41dca6
test ah, 4
je 0x41dc9f
test bl, bl
jne 0x41dc64
mov al, 1
jmp 0x41dccd
test al, 0x10
je 0x41dc6c
xor eax, eax
jmp 0x41dccd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41dc90
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41dccd
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41dccd
test al, 0x10
sete al
jmp 0x41dccd
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41dcc7
cmp ebx, 3
je 0x41dcc7
cmp ebx, 0x7b
je 0x41dcc7
mov eax, esi
call fcn.0041dbfc
test al, al
jne 0x41dccb
xor eax, eax
jmp 0x41dccd
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41dcd4
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.00407a64
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41dd7b
test esi, 0x400
jne 0x41dd10
test esi, 0x10
setne bl
jmp 0x41dd95
cmp byte [esp], 0
je 0x41dd44
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41dd95
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41dd95
test esi, 0x10
je 0x41dd50
mov bl, 1
jmp 0x41dd95
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41dd77
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41dd95
mov bl, 1
jmp 0x41dd95
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x41dd8f
cmp eax, 3
je 0x41dd8f
cmp eax, 0x7b
jne 0x41dd93
xor ebx, ebx
jmp 0x41dd95
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4217f4
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_1
test eax, eax
jle 0x42182d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407038
jmp 0x421836
mov eax, ebx
mov edx, esi
call fcn.00407290
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x421840
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_1
test eax, eax
jle 0x421862
movzx eax, word [esp]
jmp 0x421864
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x422520
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 0x422645
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00422330
mov esi, eax
mov eax, dword [0x593bc4]
cmp byte [eax], 0
je 0x4225ed
mov eax, dword [0x593834]
call fcn.00404c08
call fcn.00404530
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4224f8]
call fcn.00408c30
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x422660
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x422629
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5937b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x596c34]
call fcn.00408d24
push eax
call sub.user32.dll_LoadStringW_1
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 0x42264c
lea eax, [ebp - 4]
mov edx, dword [0x4224f8]
call fcn.00408c3c
ret

Function at 0x4236b0
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 0x423786
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004072d8
lea eax, [ebp - 4]
call fcn.00407480
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407a64
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x423770
mov eax, ebx
call fcn.004043b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x423769
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.00407a64
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x423753
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x423798
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x423753
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 0x423770
mov eax, dword [ebp - 0x10]
call fcn.004043d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42378d
lea eax, [ebp - 4]
call fcn.00406ed0
ret
Function at 0x42436c
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.0040738c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a6e0
mov edi, eax
cmp edi, 0x104
jbe 0x424317
mov eax, edi
add eax, eax
call fcn.004043b4
mov esi, eax
jmp 0x424319
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a6e0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424352
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 0x42433c
mov eax, esp
cmp esi, eax
je 0x42435f
mov eax, esi
call fcn.004043d0
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 0x424398
cmp bl, 0
je 0x424394
cmp bl, 0x41
jl 0x42438f
cmp bl, 0x5a
jg 0x42438f
or bl, 0x20
xor al, bl
inc esi
jmp 0x424373
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4242d8

Function at 0x424c04
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407b08
add esp, 0x800
pop ebx
ret

Function at 0x44abc4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44ac62
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44ac26
cmp byte [ebx + 0x10], 0
jne 0x44ac26
cmp byte [ebx + 0x3c], 0
jne 0x44ac26
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x44ac47
lea edx, [ebp - 4]
mov eax, dword [0x593b44]
call fcn.0040a64c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43abcc]
call fcn.00422690
call fcn.004065d4
jmp 0x44ac47
lea edx, [ebp - 8]
mov eax, dword [0x593b44]
call fcn.0040a64c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43abcc]
call fcn.00422690
call fcn.004065d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ac69
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f30
ret

Function at 0x44b570
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x44b5be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0044ab10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44b5d7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x44b5e0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044ab10
dec esi
jne 0x44b602
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44cfb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x598f88
cmp dword [edi], 0
jne 0x44d034
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x598f84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5830b4
mov ecx, 2
call fcn.0040458c
mov edx, 0x44cf90
lea eax, [esi + 5]
call fcn.0044cfb0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044cfb0
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 0x44d009
mov dword [0x598f84], 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