joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4181b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
test eax, eax
jle 0x418346
lea ebx, [edx + 0x18]
nop word [eax + eax]
mov edx, dword [ebx - 0x18]
test edx, edx
je 0x418337
mov ecx, esi
call fcn.00417c70
mov edi, eax
mov eax, dword [ebx - 0x14]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x41820e
push eax
lea ecx, [esi + 0x2fb8]
call fcn.00403320
mov ecx, eax
jmp 0x418210
xor ecx, ecx
mov dword [edi + 0x10], ecx
movsx eax, word [ebx]
movd xmm1, eax
movsx eax, word [ebx + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm0
movsx eax, word [ebx + 4]
movd xmm1, eax
movsx eax, word [ebx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm1
movss dword [edi + 0x38], xmm0
movsx eax, word [ebx + 8]
movd xmm1, eax
movsx eax, word [ebx + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x90]
cvtdq2ps xmm0, xmm0
and eax, 0xfffffe49
or eax, 0x49
mov dword [edi + 0x90], eax
movss dword [edi + 0x3c], xmm1
movss dword [edi + 0x40], xmm0
test ecx, ecx
je 0x41829e
cmp dword [ecx + 0x14], 0
jne 0x418295
mov dword [ecx + 0x14], edi
jmp 0x41829e
cmp dword [ecx + 0x18], 0
jne 0x41829e
mov dword [ecx + 0x18], edi
mov eax, dword [ebx - 0xc]
mov ecx, edi
mov dword [edi + 0x88], eax
movsx eax, byte [ebx - 8]
mov dword [edi + 0x44], eax
mov eax, dword [ebx - 4]
and eax, 0x61fc20
or dword [edi + 8], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4182cb
mov ecx, eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4182c2
push dword [ecx]
lea eax, [ebp - 0x18]
push str.DockNode__02X
push 0x14
push eax
call fcn.00402eb0
mov al, byte [ebp - 0x18]
lea esi, [ebp - 0x17]
add esp, 0x10
or edx, 0xffffffff
test al, al
je 0x41831a
or edi, 0xffffffff
cmp al, 0x23
jne 0x4182fe
cmp byte [esi], al
jne 0x4182fe
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x43e9a0]
test al, al
jne 0x4182f0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x445608]
not edx
push edx
lea ecx, [ecx + 0x1c30]
call fcn.00403320
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 8]
add ebx, 0x24
sub eax, 1
mov dword [ebp + 8], eax
jne 0x4181e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c4d6
mov esp, ebp
pop ebp
ret
Function at 0x427ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x427f0a
mov eax, dword [0x445608]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x427efd
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x427f3b
mov eax, dword [0x445608]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x427f2e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x427f6c
mov eax, dword [0x445608]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x427f5f
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x427fb9
mov eax, dword [0x445608]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x427fac
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x427fea
mov eax, dword [0x445608]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x427fdd
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x42801b
mov eax, dword [0x445608]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x42800e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042a760
Function at 0x437e30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, edx
je 0x437ea1
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x437e78
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x437e5f
cmp byte [esi], cl
jne 0x437e5f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x43e9a0]
test cl, cl
jne 0x437e50
mov ecx, dword [0x445608]
not eax
cmp dword [ecx + 0x1c84], eax
jne 0x437e8e
mov dword [ecx + 0x1c88], eax
cmp dword [ecx + 0x1cbc], eax
jne 0x437ee6
pop edi
mov byte [ecx + 0x1cc0], 1
pop esi
pop ebp
ret
mov esi, dword [0x445608]
xor edx, edx
mov eax, dword [esi + 0x1c48]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.00402ef0
add esp, 4
cmp dword [esi + 0x1c84], eax
jne 0x437ed7
mov dword [esi + 0x1c88], eax
cmp dword [esi + 0x1cbc], eax
jne 0x437ee6
mov byte [esi + 0x1cc0], 1
pop edi
pop esi
pop ebp
ret
Function at 0x43b160
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push 0
push 0
push 0x43b8b0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 4
mov dword [0x44564c], eax
call fcn.0043caa3
add esp, 4
push eax
push 0
push 0
push 0x43b1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 8
call fcn.0043a2e0
ret 0x10
Function at 0x43bf80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x44565c]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
push esi
cmp byte [eax + 0xc], 0
push edi
mov dword [ebp - 0x10], ecx
je 0x43c024
mov ebx, dword [eax + 0x28]
xor edi, edi
cmp byte [ebx], 0
je 0x43bffb
inc edi
cmp byte [ebx + edi], 0
jne 0x43bfb1
test edi, edi
je 0x43bffb
mov esi, dword [eax + 4]
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
push dword [ecx]
mov dword [ebp - 8], 0
call edx
push 0
push edi
push ebx
mov ebx, dword [ebp - 0x10]
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebx]
call eax
mov eax, dword [0x44565c]
mov ecx, ebx
mov edx, dword [eax + 8]
test edx, edx
je 0x43c017
push 0x8000
push 0
push edx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [0x44565c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov byte [eax + 0xc], 0
mov eax, dword [0x445658]
cmp byte [eax + 0xc], 0
je 0x43c0ad
mov ebx, dword [eax + 0x28]
xor edi, edi
cmp byte [ebx], 0
je 0x43c08a
nop dword [eax]
inc edi
cmp byte [ebx + edi], 0
jne 0x43c040
test edi, edi
je 0x43c08a
mov esi, dword [eax + 4]
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
push dword [ecx]
mov dword [ebp - 0xc], 0
call edx
push 0
push edi
push ebx
mov ebx, dword [ebp - 0x10]
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebx]
call eax
mov eax, dword [0x445658]
jmp 0x43c08d
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43c0a9
push 0x8000
push 0
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [0x445658]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c4d6
mov esp, ebp
pop ebp
ret
Function at 0x43c430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44500c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0
push 2
mov dword [ebx + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x43c4ba
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x43c4ba
nop dword [eax]
push dword [ebx + 4]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x43c4b3
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x43c490
jmp 0x43c4ba
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c4d6
mov esp, ebp
pop ebp
ret

Function at 0x43d0fc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43d13b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43d13b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43d13b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43d13b
cmp dword [ecx + 0x74], 0xe
jbe 0x43d13b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402dd4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402e11
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402e31
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404fa4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403080
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d34
test esi, esi
jne 0x4030b7
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e24
jmp 0x4030d8
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402f1c
mov dword [esp], eax
test esi, esi
je 0x4030d8
cmp dword [ebx], 0
je 0x4030d8
dec esi
jmp 0x4030bf
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403874
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4038a7
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x4038ae
cmp edx, dword [ebx + 8]
je 0x4038b8
mov eax, 0x65
jmp 0x4038b3
mov eax, 5
jmp 0x4038b3
call sub.kernel32.dll_GetLastError
call fcn.00402d48
mov eax, ebx
pop ebx
ret

Function at 0x403d4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x54b024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403de4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403dc4
xor eax, eax
push ebp
push 0x403dbd
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 0x403e00
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 0x403dc4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x54b024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x54b024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404b0c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55704c], 0
je 0x404b6d
cmp word [0x557220], 0xd7b2
jne 0x404b35
cmp dword [0x557228], 0
jbe 0x404b35
mov eax, 0x55721c
call dword [0x557238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x54b09c
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 0x404b94
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x54b034], 0
jne 0x404b89
push 0
push 0x54b094
push 0x54b09c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404ce8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b9c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x55704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404cb0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4070d0
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 0x407136
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.00404fa4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407120
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40713d
lea eax, [ebp - 0x10]
call fcn.00404d34
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004051f4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a1d1
test al, 0x10
jne 0x40a1d5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d8a4
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 0x40d8dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e24
jmp 0x40d8e6
mov eax, ebx
mov edx, esi
call fcn.00404d88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40dfa8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40de10
mov eax, dword [0x556850]
cmp byte [eax], 0
je 0x40e024
mov eax, dword [0x55622c]
call fcn.004034a0
call fcn.00402d28
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.0040a714
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 0x40e06c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e05a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x556160]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x557668]
call fcn.0040653c
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 0x40e940
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 0x40ea16
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404dcc
lea eax, [ebp - 8]
call fcn.00405244
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004051f4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ea00
mov eax, ebx
call fcn.00402b9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e9f9
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.004051f4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e9e3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ea28
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e9e3
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 0x40ea00
mov eax, dword [ebp - 0x10]
call fcn.00402bcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea1d
lea eax, [ebp - 8]
call fcn.00404d34
ret

Function at 0x40f168
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 0x40f1cc
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.00404fa4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409da0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f1d3
lea eax, [ebp - 0xc]
call fcn.00404d34
ret

Function at 0x40f9c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x5562a0]
cmp dword [eax], 0
je 0x40f9fa
push 0xa
push 0x40fa50
mov eax, dword [0x5562a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x5562a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
jmp 0x40fa46
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x556960]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40fa46
mov ebx, dword [esp + 4]
push 0xa
push 0x40fa50
mov esi, dword [ebx + 4]
push esi
call sub.kernel32.dll_FindResourceA
push eax
push esi
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
cmp dword [esp], 0
jne 0x40fa46
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40fa11
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x424a84
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.004248b0
dec esi
jne 0x424aa6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x425bfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x55788c
cmp dword [edi], 0
jne 0x425c78
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x557888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x54b69c
mov ecx, 2
call fcn.00402edc
mov edx, 0x425bd4
lea eax, [esi + 5]
call fcn.00425bf4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425bf4
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 0x425c4d
mov dword [0x557888], 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 0x42734c
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 0x427352
ret

Function at 0x429c04
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 0x429c55
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429c3c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429c2c
jmp 0x429c55
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 0x429c3d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4351a8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051e4
xor eax, eax
push ebp
push 0x4352d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4352a9
xor eax, eax
push ebp
push 0x4352a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ff4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435277
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x435266
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ff4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004051f4
mov edx, ebx
pop ecx
call fcn.00402edc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43526d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x555fdc]
mov dl, 1
mov eax, dword [0x408778]
call fcn.0040e15c
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4352dd
lea eax, [ebp - 4]
call fcn.00404d34
ret