joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cdc38
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cde1e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4cddda
mov eax, dword [ebp - 4]
call fcn.004cf5e0
cmp ebx, eax
jge 0x4cddda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004c43dc
mov edx, dword [0x4c5d98]
call fcn.004044cc
mov esi, eax
mov eax, esi
call fcn.004c6c5c
test al, al
je 0x4cddd0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4cddc4
xor eax, eax
push ebp
push 0x4cddbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ce1f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041f018
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040595c
mov eax, dword [ebp - 8]
call fcn.0040572c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cdfb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cde08
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4cddbc
mov eax, dword [ebp - 4]
call fcn.004ce274
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040ada0
jmp 0x4cde08
mov eax, dword [ebp - 8]
call fcn.0040523c
jmp 0x4cde08
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040a1d8
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x419804]
call fcn.0040dd30
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cde25
lea eax, [ebp - 0x54]
call fcn.0040523c
ret
Function at 0x4d4aec
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00403ae0
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0x41
mov word [esp + 0x30], si
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4d4b49
push edi
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4d4b4e
call sub.kernel32.dll_GetLastError_1
add esp, 0x54
pop edi
pop esi
pop ebx
ret

Function at 0x4d4b58
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4d51
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00403494
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0040a868
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x4d4d64
call fcn.00405554
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403874
lea eax, [ebp - 0x1d0]
call fcn.00403610
call fcn.004030b8
mov edx, 0x4d4d7c
lea eax, [ebp - 0x1d0]
call fcn.004059ec
call fcn.00403d64
call fcn.004030b8
push 0x4d4d8c
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00403494
push dword [ebp - 0x234]
push 0x4d4d9c
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.004055d0
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.004059ec
call fcn.00403d64
call fcn.004030b8
push 0x4d4dac
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00403494
push dword [ebp - 0x23c]
push 0x4d4d9c
push 0x4d4dc0
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.004055d0
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.004059ec
call fcn.00403d64
call fcn.004030b8
mov edx, 0x4d4dd4
lea eax, [ebp - 0x1d0]
call fcn.004059ec
call fcn.00403d64
call fcn.004030b8
lea eax, [ebp - 0x1d0]
call fcn.0040393c
call fcn.004030b8
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403ae0
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004056cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4d4d2b
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4d58
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00405260
lea eax, [ebp - 4]
call fcn.0040523c
ret
Function at 0x4d62b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4d62bc
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d6531
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004d6278
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d6548
call fcn.0048fb7c
mov edx, dword [ebx + 0x44]
lea eax, [ebp - 8]
mov ecx, 0x4d6568
call fcn.00405554
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004d2bf4
test al, al
je 0x4d64f3
mov eax, dword [ebp - 4]
mov edx, dword [0x4e4ef0]
call fcn.00405664
jbe 0x4d64e0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x4e4ef0]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x4d6580
call fcn.0040b290
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
call fcn.0048fb7c
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov dl, 1
call fcn.0048fe40
xor eax, eax
push ebp
push 0x4d64d9
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x4d7350
push dword [ebx + 0x40]
push 0x4d65c8
push 0x4d65d4
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ebx + 0x44]
lea eax, [ebp - 0x24]
mov ecx, 0x4d65e8
call fcn.00405554
mov eax, dword [ebp - 0x24]
pop edx
call fcn.004d2cec
test al, al
je 0x4d64a7
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d6604
call fcn.0048fb7c
push dword [ebx + 0x40]
push 0x4d65c8
push 0x4d65d4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x28]
call fcn.004056cc
or ecx, 0xffffffff
mov edx, 5
call fcn.004d4aec
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d6628
call fcn.0048fb7c
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004738a8
push dword [ebx + 0x40]
push 0x4d65c8
push 0x4d65d4
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x2c]
call fcn.0040a734
test al, al
je 0x4d6410
mov eax, dword [0x4e4ee8]
cmp byte [eax + 0x3ac], 0
jne 0x4d64bd
push 1
lea edx, [ebp - 0x34]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040a868
mov eax, dword [ebp - 0x30]
call fcn.004056cc
push eax
push 0x4d663c
lea edx, [ebp - 0x38]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov eax, dword [ebp - 0x38]
call fcn.004056cc
push eax
push 0x4d6648
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.004d6fac
jmp 0x4d64bd
mov ecx, 0x4d6658
mov dl, 1
mov eax, dword [0x4089cc]
call fcn.0040dcf4
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6509
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
xor edx, edx
call fcn.0048fe40
ret
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d6690
call fcn.0048fb7c
jmp 0x4d6509
mov ecx, 0x4d66b8
mov dl, 1
mov eax, dword [0x4089cc]
call fcn.0040dcf4
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6538
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00405260
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405260
ret
Function at 0x40362c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xc29020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036a4
xor eax, eax
push ebp
push 0x40369d
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 0x4036e0
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 0x4036a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0xc29020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xc29020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404490
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xc2b04c], 0
je 0x4044f1
cmp word [0xc2b220], 0xd7b2
jne 0x4044b9
cmp dword [0xc2b228], 0
jbe 0x4044b9
mov eax, 0xc2b21c
call dword [0xc2b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xc2906c
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 0x404518
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0xc29030], 0
jne 0x40450d
push 0
push 0xc29064
push 0xc2906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40668c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4066f2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404884
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066dc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066f9
lea eax, [ebp - 0x10]
call fcn.00404614
ret
Function at 0x40957c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4097d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404668
cmp dword [0xc290d4], 1
jne 0x4095c7
cmp dword [0xc290d8], 4
jle 0x409606
mov dword [ebp - 0x18], 0x400
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x424]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00404ad4
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x4097b2
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x424]
mov edx, dword [edx]
call fcn.0040480c
jmp 0x4097b2
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402f08
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0x41
jb 0x4097b2
cmp byte [ebp - 0x19], 0x5a
ja 0x4097b2
mov eax, dword [ebp - 4]
call fcn.004048d4
cmp eax, 3
jl 0x4097b2
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x4097b2
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x4097b2
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x4097b2
xor eax, eax
push ebp
push 0x4097ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.00402a64
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x40978d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.mpr.dll_WNetEnumResourceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xea
jne 0x4096da
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00402ab4
jmp 0x409699
cmp dword [ebp - 0x10], 0
je 0x4096ef
call fcn.0040404c
call fcn.0040404c
jmp 0x4097b2
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jl 0x409699
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x24]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x40976b
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402f08
cmp al, byte [ebp - 0x19]
jne 0x40976b
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 4]
call fcn.004048d4
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00404b34
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, dword [ebx + 0x14]
call fcn.0040480c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00404920
call fcn.0040404c
call fcn.0040404c
jmp 0x4097b2
inc edi
dec esi
jne 0x4096fa
jmp 0x409699
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4097d7
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00404638
ret
Function at 0x40c200
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 0x40c239
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404704
jmp 0x40c242
mov eax, ebx
mov edx, esi
call fcn.00404668
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c24c
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 0x40c26d
mov al, byte [esp]
jmp 0x40c26f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c904
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c76c
mov eax, dword [0xc2a5fc]
cmp byte [eax], 0
je 0x40c980
mov eax, dword [0xc2a3c8]
call fcn.00402ffc
call fcn.00402bf0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004098e8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c9c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c9b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0xc2a364]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0xc2b668]
call fcn.00405af8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d26c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d342
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046ac
lea eax, [ebp - 8]
call fcn.00404b24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ad4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d32c
mov eax, ebx
call fcn.00402a64
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d325
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 - 8]
call fcn.00404ad4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d30f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d354
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d30f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d32c
mov eax, dword [ebp - 0x10]
call fcn.00402a94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d349
lea eax, [ebp - 8]
call fcn.00404614
ret

Function at 0x40d998
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d9fc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404884
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ed0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da03
lea eax, [ebp - 0xc]
call fcn.00404614
ret

Function at 0x42358c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0xc2b88c
cmp dword [edi], 0
jne 0x423608
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0xc2b888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0xc294b0
mov ecx, 2
call fcn.00402c84
mov edx, 0x423564
lea eax, [esi + 5]
call fcn.00423584
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423584
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 0x4235dd
mov dword [0xc2b888], 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

Function at 0x424b84
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 0x424b8a
ret
Function at 0x427140
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 0x427191
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427178
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427168
jmp 0x427191
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 0x427179
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433e34
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004031ac
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0xc2a72c]
cmp byte [edx + 0xc], 0
je 0x433e98
mov edx, dword [0xc2a720]
cmp dword [edx], 2
jne 0x433e98
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x433e9c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x433f54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00433e34
test al, al
je 0x433f36
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404704
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x433f36
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ad4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404ad4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040480c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x433eef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433f5b
lea eax, [ebp - 0x2c]
call fcn.00404614
lea eax, [ebp - 0xc]
call fcn.00404614
ret