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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.00403050
lea eax, [ebp - 0x184]
push 0x4090dc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x402882
lea eax, [ebp - 0x184]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push 0x4090e0
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
pop eax
jmp 0x4028d2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, 0x80
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x4028c6
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
jmp 0x40289c
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x402dc5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00402ea1
pop ecx
test al, al
pop ecx
jne 0x402df1
push 1
push 0x4092b8
call fcn.00403335
pop ecx
pop ecx
push 2
call dword [sym.imp.MSVCRT.dll_exit]
push 0
call fcn.00402dbf
push eax
push dword [ebp + 0x10]
call fcn.004028d5
add esp, 0xc
cmp eax, 1
jge 0x402e1f
push 1
push 0x4092ec
call fcn.00403335
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401537
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov edi, eax
and byte [ebx], 0
push ebx
push edi
mov dword [ebp + 0x14], edi
push dword [ebp + 0x10]
call fcn.00402f69
add esp, 0x1c
test al, al
jne 0x402e9d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push esi
dec ecx
mov esi, 0x409324
add edx, ecx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call fcn.0040207c
push ebx
mov edi, eax
push dword [ebp + 0x14]
push esi
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
push 1
push edi
call fcn.00403335
add esp, 0x1c
push 4
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403421
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, 0x104
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [ebp - 0x114]
xor eax, eax
push esi
push ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call edi
test eax, eax
jne 0x4034c0
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00403fea
pop ecx
test eax, eax
pop ecx
je 0x4034a5
cmp dword [ebp - 8], 0
je 0x403494
push dword [ebp - 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00403f1b
pop ecx
test eax, eax
pop ecx
jle 0x4034a5
push dword [ebp - 8]
call ebx
pop ecx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x114]
push esi
push eax
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x403458
mov edi, dword [ebp - 8]
test edi, edi
jne 0x4034c4
xor eax, eax
jmp 0x40353a
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
push edi
je 0x4034e7
call ebx
cmp dword [ebp - 4], 0
pop ecx
jmp 0x403511
call ebx
pop ecx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x114]
xor esi, esi
push eax
push esi
push esi
push 0x4096f8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40351e
cmp dword [ebp - 4], esi
je 0x4034c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4034c0
cmp dword [ebp - 4], esi
je 0x40352c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40353f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403578
push 1
push 0x409704
call fcn.00403335
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x104]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x40364d
mov edi, dword [ebp + 8]
mov ecx, ebx
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x40973c
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
mov eax, 0x409734
dec edi
mov esi, eax
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
cmp byte [0x40ac62], 0
je 0x403632
mov esi, dword [sym.imp.MSVCRT.dll_printf]
lea eax, [ebp - 0x104]
push eax
push 0x409744
call esi
mov eax, dword [edi]
pop ecx
test eax, eax
pop ecx
je 0x40362a
mov ebx, edi
push eax
push 0x409750
call esi
mov eax, dword [ebx + 4]
add ebx, 4
pop ecx
test eax, eax
pop ecx
jne 0x403616
push 0x409758
call esi
pop ecx
lea eax, [ebp - 0x104]
push edi
push eax
push 0
call dword [sym.imp.MSVCRT.dll__spawnv]
add esp, 0xc
push eax
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4037f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 4], 0xffffffff
je 0x403850
cmp dword [esi], 0xffffffff
je 0x403850
push 0
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0xc
test eax, eax
jl 0x403850
mov eax, dword [esi + 4]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x403850
mov edi, dword [esi + 4]
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, edi
je 0x403857
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x403867
and byte [edi + ebx], cl
mov eax, ebx
jmp 0x403852
cmp eax, 8
jne 0x403850
push 0x38
push 0x4097c4
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
call fcn.0040432c
add esp, 0x10
test eax, eax
jl 0x403848
mov eax, dword [esi]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x403848
mov eax, dword [esi]
push 1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], edi
call fcn.00404416
pop ecx
test eax, eax
pop ecx
jge 0x4038cd
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ebx
call esi
push edi
call esi
pop ecx
jmp 0x40384f
mov eax, dword [esi]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ebx
and byte [eax + edi], 0
call esi
lea eax, [ebp - 0x38]
push eax
call fcn.004042ee
pop ecx
test eax, eax
pop ecx
jge 0x4038f3
push edi
call esi
jmp 0x40384f
mov eax, edi
jmp 0x403852
Function at 0x40639a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407378
push 0x4064d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40aca0], 0xffffffff
or dword [0x40aca4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40ac9c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x40ac98]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40aca8], eax
call fcn.00406261
cmp dword [0x40ac40], 0
jne 0x40641d
push 0x4064c8
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004064b6
push 0x40800c
push 0x408008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40ac94]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40ac90]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x408004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2437733e
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3ee468ab
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404258
test esi, esi
jne 0x402b06
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404348
jmp 0x402b24
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029e4
mov edi, eax
test esi, esi
je 0x402b24
cmp dword [ebx], 0
je 0x402b24
dec esi
jmp 0x402b0d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403298
Capabilities:
Query or enumerate registry value

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

Function at 0x404058
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50a04c], 0
je 0x4040b9
cmp word [0x50a220], 0xd7b2
jne 0x404081
cmp dword [0x50a228], 0
jbe 0x404081
mov eax, 0x50a21c
call dword [0x50a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x500070
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 0x4040e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x500034], 0
jne 0x4040d5
push 0
push 0x500068
push 0x500070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40420c
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.004027a8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041d4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40666c
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 0x4066d2
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.004044c8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066bc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066d9
lea eax, [ebp - 0x10]
call fcn.00404258
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404718
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409975
test al, 0x10
jne 0x409979
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ce18
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 0x40ce51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404348
jmp 0x40ce5a
mov eax, ebx
mov edx, esi
call fcn.004042ac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d50c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d384
mov eax, dword [0x509564]
cmp byte [eax], 0
je 0x40d588
mov eax, dword [0x5092cc]
call fcn.00402c4c
call fcn.00402910
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.00409e5c
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 0x40d5d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d5be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x509264]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x50a668]
call fcn.00405b30
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 0x40de78
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 0x40df4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042f0
lea eax, [ebp - 8]
call fcn.00404768
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404718
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40df38
mov eax, ebx
call fcn.004027a8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40df31
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.00404718
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40df1b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40df60
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40df1b
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 0x40df38
mov eax, dword [ebp - 0x10]
call fcn.004027c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df55
lea eax, [ebp - 8]
call fcn.00404258
ret

Function at 0x40e510
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 0x40e574
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.004044c8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004094a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e57b
lea eax, [ebp - 0xc]
call fcn.00404258
ret

Function at 0x424a64
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.00424890
dec esi
jne 0x424a86
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425bc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x50a88c
cmp dword [edi], 0
jne 0x425c44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x50a888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x500540
mov ecx, 2
call fcn.004029a4
mov edx, 0x425ba0
lea eax, [esi + 5]
call fcn.00425bc0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425bc0
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 0x425c19
mov dword [0x50a888], 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 0x427290
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 0x427296
ret

Function at 0x429970
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 0x4299c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4299a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429998
jmp 0x4299c1
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 0x4299a9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4360c8
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.00404708
xor eax, eax
push ebp
push 0x4361f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4361c9
xor eax, eax
push ebp
push 0x4361c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404518
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436197
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 0x436186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404518
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404718
mov edx, ebx
pop ecx
call fcn.004029a4
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 0x43618d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5091c8]
mov dl, 1
mov eax, dword [0x407da4]
call fcn.0040d69c
call fcn.00403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4361fd
lea eax, [ebp - 4]
call fcn.00404258
ret