joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00401180
mov ebx, eax
test ebx, ebx
je 0x4013eb
push edi
push 0x40
push 0x3000
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebp - 4]
mov edi, eax
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0
push 0xc00
push edi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401c63
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ca2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ca2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ca2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ca2
cmp dword [ecx + 0x74], 0xe
jbe 0x401ca2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2d3454b6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5e251eb8
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40475c
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.00406930
test esi, esi
jne 0x404792
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.00406a98
jmp 0x4047b0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004046a0
mov edi, eax
test esi, esi
je 0x4047b0
cmp dword [ebx], 0
je 0x4047b0
dec esi
jmp 0x404799
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4056dc
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.00405ac8
mov byte [esp], al
cmp byte [esp], 0
jne 0x405865
test edi, edi
je 0x405865
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40579c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405777
cmp edi, 0xffffffff
je 0x40573b
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40573b
mov byte [esp], 0
jmp 0x405865
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405777
test ebx, ebx
jne 0x405770
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004025ec
test eax, eax
jne 0x405770
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405865
pause
dec ebp
test ebp, ebp
jg 0x405720
cmp edi, 0xffffffff
je 0x40579c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40579a
mov byte [esp], 0
jmp 0x405865
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4056ea
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004025ec
cmp ebx, eax
jne 0x40579c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004058d8
mov edx, eax
mov ebx, dword [0x4eb8cc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405803
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405801
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405803
xor edi, edi
cmp byte [esp], 0
je 0x40582c
mov ebx, dword [esi]
test bl, 1
jne 0x405845
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004025ec
cmp ebx, eax
jne 0x405809
mov byte [esp + 1], 1
jmp 0x405845
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004025ec
cmp ebx, eax
jne 0x40582c
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4057b6
cmp byte [esp], 0
je 0x405865
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 0x4065e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4eb054], 0
je 0x406641
cmp word [0x4eb330], 0xd7b2
jne 0x406609
cmp dword [0x4eb338], 0
jbe 0x406609
mov eax, 0x4eb32c
call dword [0x4eb348]
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 0x40666c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e8028], 0
jne 0x40665d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4067ec
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 [0x4e802c], 0
je 0x406817
mov edx, edi
mov eax, esi
call dword [0x4e802c]
mov ebx, eax
jmp 0x406828
mov eax, 8
call fcn.004043d4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4eb055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4067b4
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 0x40685d
mov edx, 8
mov eax, ebx
call fcn.004043f0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408a18
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 0x408b7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406930
cmp si, word [0x4e87dc]
jb 0x408ab0
cmp si, word [0x4e89dc]
ja 0x408ab0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408ab0
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4e87dc]
jae 0x408a8a
mov edi, ebx
dec edi
jmp 0x408aab
cmp si, word [ebx*8 + 0x4e87dc]
jbe 0x408a9a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408aab
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e87e0]
call fcn.00408928
jmp 0x408ab0
cmp edi, dword [ebp - 8]
jae 0x408a74
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408b5f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408b5f
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.00407300
push dword [ebp - 0x160]
push 0x408b98
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407300
push dword [ebp - 0x164]
push 0x408ba8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407300
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b84
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406990
ret
Function at 0x408d30
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 0x408e33
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4edb55
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4edb6e]
jne 0x408d7c
mov eax, esi
mov edx, 0x4edb70
mov ecx, 0x55
call fcn.00407300
push 0x4edb55
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408e1d
push 0x4edb55
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406930
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408deb
cmp byte [0x4edb54], 0
je 0x408db0
mov edx, esi
mov eax, ebx
call fcn.00408c14
jmp 0x408deb
mov edx, esi
mov eax, ebx
call fcn.00408a18
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408deb
cmp dword [esi], 0
je 0x408dd4
mov eax, esi
mov edx, 0x408e4c
call fcn.00407458
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408a18
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407458
push 0x4edb55
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4edb6e], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407274
push eax
push 0x4edb70
call sub.kernel32.dll_lstrcpynW
push 0x4edb55
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e3a
lea eax, [ebp - 4]
call fcn.00406930
ret
Function at 0x409068
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.00406a14
xor eax, eax
push ebp
push 0x40928d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4090a8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4090c2
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407274
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409277
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40929c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409191
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40929c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409191
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409191
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409191
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40930c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409191
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409340
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409277
xor eax, eax
push ebp
push 0x409270
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408e74
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 0x409200
mov eax, dword [ebp - 0x10]
call fcn.004043d4
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.004072c4
jmp 0x40924b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409380
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40924b
mov eax, dword [ebp - 0x10]
call fcn.004043d4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409380
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409277
cmp dword [ebp - 8], 0
je 0x409266
mov eax, dword [ebp - 8]
call fcn.004043f0
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 0x409294
lea eax, [ebp - 4]
call fcn.00406930
ret
Function at 0x4095cc
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.00406a14
xor eax, eax
push ebp
push 0x40968c
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.00407300
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004074b0
mov eax, dword [ebx]
call fcn.00409494
test al, al
jne 0x409669
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407300
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004074b0
mov eax, dword [ebx]
call fcn.00409494
test al, al
jne 0x409669
mov eax, ebx
call fcn.00406930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409693
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406990
lea eax, [ebp - 4]
call fcn.00406930
ret

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

Disassembly:
cmp eax, edx
je 0x41bcc1
test eax, edx
je 0x41bcc4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41bc7f
movzx eax, word [eax]
sub eax, ecx
jmp 0x41bca6
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 0x41bca7
add ecx, 4
js 0x41bc97
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41bca4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41bca6
xor eax, eax
ret
test eax, eax
je 0x41bcd0
test edx, edx
jne 0x41bc70
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41cb08
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.00407274
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41cb72
test ah, 4
je 0x41cb6b
test bl, bl
jne 0x41cb30
mov al, 1
jmp 0x41cb99
test al, 0x10
je 0x41cb38
xor eax, eax
jmp 0x41cb99
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41cb5c
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41cb99
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41cb99
test al, 0x10
sete al
jmp 0x41cb99
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41cb93
cmp ebx, 3
je 0x41cb93
cmp ebx, 0x7b
je 0x41cb93
mov eax, esi
call fcn.0041cac8
test al, al
jne 0x41cb97
xor eax, eax
jmp 0x41cb99
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x420438
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 0x420471
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406a98
jmp 0x42047a
mov eax, ebx
mov edx, esi
call fcn.00406cf0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x420484
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 0x4204a6
movzx eax, word [esp]
jmp 0x4204a8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x421164
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 0x421289
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00420f74
mov esi, eax
mov eax, dword [0x4eadc0]
cmp byte [eax], 0
je 0x421231
mov eax, dword [0x4eab2c]
call fcn.00404890
call fcn.00404550
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 [0x42113c]
call fcn.00408468
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 0x4212a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42126d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4eaabc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4edc38]
call fcn.0040855c
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 0x421290
lea eax, [ebp - 4]
mov edx, dword [0x42113c]
call fcn.00408474
ret
Function at 0x4222d4
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 0x4223aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406d38
lea eax, [ebp - 4]
call fcn.00406ea0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407274
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x422394
mov eax, ebx
call fcn.004043d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42238d
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.00407274
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x422377
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4223bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x422377
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 0x422394
mov eax, dword [ebp - 0x10]
call fcn.004043f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4223b1
lea eax, [ebp - 4]
call fcn.00406930
ret

Function at 0x422c24
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.00406de0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f58
mov edi, eax
cmp edi, 0x104
jbe 0x422bcf
mov eax, edi
add eax, eax
call fcn.004043d4
mov esi, eax
jmp 0x422bd1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f58
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x422c0a
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 0x422bf4
mov eax, esp
cmp esi, eax
je 0x422c17
mov eax, esi
call fcn.004043f0
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 0x422c50
cmp bl, 0
je 0x422c4c
cmp bl, 0x41
jl 0x422c47
cmp bl, 0x5a
jg 0x422c47
or bl, 0x20
xor al, bl
inc esi
jmp 0x422c2b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x422b90

Function at 0x4233f0
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.00407300
add esp, 0x800
pop ebx
ret
Function at 0x4499e8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x449a86
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x449a4a
cmp byte [ebx + 0x10], 0
jne 0x449a4a
cmp byte [ebx + 0x3c], 0
jne 0x449a4a
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 0x449a6b
lea edx, [ebp - 4]
mov eax, dword [0x4ead58]
call fcn.00409ec4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x439af8]
call fcn.004212b4
call fcn.00406080
jmp 0x449a6b
lea edx, [ebp - 8]
mov eax, dword [0x4ead58]
call fcn.00409ec4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x439af8]
call fcn.004212b4
call fcn.00406080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449a8d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406990
ret

Function at 0x44a394
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 0x44a3e2
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.00449934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44a3fb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44a404
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.00449934
dec esi
jne 0x44a426
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44bc9c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4eff90
cmp dword [edi], 0
jne 0x44bd18
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4eff8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e909c
mov ecx, 2
call fcn.004045a0
mov edx, 0x44bc74
lea eax, [esi + 5]
call fcn.0044bc94
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044bc94
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 0x44bced
mov dword [0x4eff8c], 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