joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40151e
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushfd
push esp
push dword [esp + 0x2c]
call fcn.004156b0
add esp, 8
or eax, eax
je 0x401533
jmp 0x4014f9
popfd
popal
ret 4

Function at 0x402ab0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [esp + 4]
push eax
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov word [esp + 6], 0x1f4
mov ecx, dword [esp + 4]
push ecx
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0x41ba80
push 0x4000
push 0xfffffffffffffff6
call esi
push eax
call sub.MSVCRT.dll__open_osfhandle
add esp, 8
push eax
call sub.MSVCRT.dll__fdopen
push 0
push 4
push 0
push eax
mov dword [0x437d78], eax
call sub.MSVCRT.dll_setvbuf
add esp, 0x18
push 0x41ba7c
push 0x4000
push 0xfffffffffffffff5
call esi
push eax
call sub.MSVCRT.dll__open_osfhandle
add esp, 8
push eax
call sub.MSVCRT.dll__fdopen
push 0
push 4
push 0
push eax
mov dword [0x437d74], eax
call sub.MSVCRT.dll_setvbuf
add esp, 0x18
push 0x41ba7c
push 0x4000
push 0xfffffffffffffff4
call esi
push eax
call sub.MSVCRT.dll__open_osfhandle
add esp, 8
push eax
call sub.MSVCRT.dll__fdopen
push 0
push 4
push 0
push eax
mov dword [0x4205c4], eax
call sub.MSVCRT.dll_setvbuf
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x42c1d8], eax
pop esi
add esp, 0x18
ret

Function at 0x402c70
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebp]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
add esi, dword [esp + 0x18]
cmp esi, edi
jge 0x402ca5
test eax, eax
jne 0x402c82
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x403580
Capabilities:
Suspend thread

Disassembly:
push ecx
mov eax, dword [0x426e5c]
push edi
push eax
call fcn.00417c55
cmp dword [0x41f018], 0
mov edi, dword [eax]
mov dword [esp + 4], edi
je 0x40368c
cmp dword [0x437dfc], 0
jne 0x40368c
mov ecx, dword [0x420428]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
call esi
cmp dword [0x437dbc], 0
je 0x4035e0
mov edx, dword [0x4210d4]
push edx
call esi
mov eax, dword [0x42bc90]
push eax
call esi
mov ecx, dword [0x426e64]
push ecx
call esi
mov edx, dword [0x42c1d8]
push ebp
push 0
push 0
push 0
push edx
mov dword [0x426860], edi
mov dword [0x437dfc], 1
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [0x437df4]
mov edi, eax
add edi, 0xc8
test esi, esi
je 0x403658
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [esp + 0x10]
je 0x403651
cmp dword [esi + 0x28], 0
jne 0x403651
call ebp
cmp eax, edi
jae 0x403641
push 1
call ebx
cmp dword [esi + 0x28], 0
je 0x403631
cmp dword [esi + 0x28], 0
jne 0x403651
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, dword [esi]
test esi, esi
jne 0x403625
pop ebx
cmp dword [0x437dbc], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
je 0x403682
mov ecx, dword [0x426e64]
push ecx
call esi
mov edx, dword [0x42bc90]
push edx
call esi
mov eax, dword [0x4210d4]
push eax
call esi
mov ecx, dword [0x420428]
push ecx
call esi
pop esi
pop edi
pop ecx
ret
Function at 0x407f30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40807f
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
je 0x407f91
test ebx, ebx
jle 0x407f91
mov edx, dword [0x437d70]
push edi
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407f91
cmp dword [esp + 0xc], ebx
jne 0x407f91
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40807e
mov edx, dword [0x437d70]
cmp dword [edx], 0x50555245
jne 0x40807e
mov ecx, dword [edx + 8]
lea eax, [edx + 8]
push ebp
lea ebp, [ecx - 0x52455331]
add eax, 4
cmp ebp, 4
ja 0x40807d
lea ecx, [edx + ebx - 8]
cmp eax, ecx
jae 0x40807d
mov ecx, dword [eax]
mov edi, dword [eax + 4]
add eax, 4
cmp ecx, 0x434e5354
lea ebx, [eax + 4]
jne 0x408064
test edi, edi
jle 0x408064
mov eax, dword [0x4203f4]
lea edx, [edi + 0x18]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x408064
mov ecx, dword [esp + 0x1c]
push edi
lea eax, [esi + 0x18]
push ebx
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp dword [ebp*4 + 0x408088]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x437d70]
lea eax, [ebx + edi]
lea ecx, [edx + ecx - 8]
cmp eax, ecx
jb 0x407fd7
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x40bec0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
movzx ebx, word [esp + 0xe]
push ecx
movzx ecx, word [esp + 0xe]
push edx
push eax
movzx eax, word [esp + 0x14]
push ecx
call fcn.00402cc0
mov edx, dword [0x42bc90]
add esp, 0x10
push edx
mov dword [esi + 0x10], eax
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x42bc98]
push 0
lea eax, [esp + 8]
push eax
push 0x14
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x42bc90]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
add esp, 0x14
ret

Function at 0x40bf40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x1c]
movzx edx, word [esp + 0x1a]
movzx eax, word [esp + 0x18]
movzx ebx, word [esp + 0x16]
push ecx
movzx ecx, word [esp + 0x16]
push edx
push eax
movzx eax, word [esp + 0x1c]
push ecx
call fcn.00402cc0
mov edx, dword [0x42bc90]
add esp, 0x10
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x42bc98]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0x14
push esi
push ecx
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x10]
push edx
mov edx, dword [0x42bc98]
push eax
push ecx
push edx
call edi
mov eax, dword [0x42bc90]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
add esp, 0x18
ret

Function at 0x40c300
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x40c310
xor eax, 0xedb88320
test al, 1
je 0x40c31d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c31f
shr eax, 1
test al, 1
je 0x40c32c
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c32e
shr eax, 1
test al, 1
je 0x40c33b
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c33d
shr eax, 1
test al, 1
je 0x40c34a
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c34c
shr eax, 1
test al, 1
je 0x40c359
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c35b
shr eax, 1
test al, 1
je 0x40c368
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c36a
shr eax, 1
test al, 1
je 0x40c377
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c379
shr eax, 1
mov dword [ecx*4 + 0x426868], eax
add ecx, 1
cmp ecx, 0x100
jl 0x40c302
ret
Function at 0x410810
Capabilities:
Create thread

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42c1d8], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x410650
push 0
push 0
call esi
test eax, eax
mov dword [0x437d6c], eax
je 0x410882
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x40c940
push 0
push 0
call esi
test eax, eax
mov dword [0x437db4], eax
je 0x410882
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x402ba0
push 0
push 0
call esi
test eax, eax
mov dword [0x4205c8], eax
je 0x410882
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x415950
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x426e5c]
sub esp, 0x14
push eax
call fcn.00417c55
cmp dword [0x437dcc], 0
mov eax, dword [eax]
je 0x415984
cmp dword [eax + 0x20], 0
jne 0x415984
mov ecx, dword [eax + 0x14]
push 0
push ecx
mov dword [eax + 0x20], 5
call fcn.004156b0
add esp, 8
cmp dword [0x437dbc], 0
push esi
je 0x415aeb
call fcn.0040c7f0
call fcn.00403580
cmp dword [0x437dc4], 0
je 0x4159b8
push 0
call fcn.00412900
add esp, 4
cmp dword [0x437dc4], 0
jne 0x4159a5
call fcn.00403690
mov eax, dword [0x437de8]
test eax, eax
je 0x4159f5
cmp dword [0x437dec], 0
je 0x4159f5
mov edx, dword [0x437de4]
lea ecx, [edx*4]
push eax
lea esi, [esp + 8]
mov dword [esp + 8], 0x21
mov dword [esp + 0xc], ecx
call fcn.0040bf40
add esp, 4
push edi
lea esi, [esp + 8]
mov dword [esp + 8], 1
call fcn.0040bec0
mov edx, dword [0x426e64]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
call esi
mov eax, dword [0x42bc90]
push eax
call esi
mov ecx, dword [0x4210d4]
push ecx
call esi
mov edx, dword [0x420428]
push edx
call esi
mov eax, dword [0x437d6c]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push eax
call esi
mov ecx, dword [0x437db4]
push 0
push ecx
call esi
mov edx, dword [0x4205c8]
push 0
push edx
call esi
mov eax, dword [0x426e64]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
mov ecx, dword [0x42bc90]
push ecx
call esi
mov edx, dword [0x4210d4]
push edx
call esi
mov eax, dword [0x420428]
push eax
call esi
mov eax, dword [0x426e64]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push eax
mov edi, eax
call esi
push edi
call sub.MSVCRT.dll_free
mov eax, dword [0x42bc90]
add esp, 4
push eax
mov edi, eax
call esi
push edi
call sub.MSVCRT.dll_free
mov eax, dword [0x4210d4]
add esp, 4
push eax
mov edi, eax
call esi
push edi
call sub.MSVCRT.dll_free
mov eax, dword [0x420428]
add esp, 4
push eax
mov edi, eax
call esi
push edi
call sub.MSVCRT.dll_free
mov ecx, dword [0x42bc98]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push ecx
call esi
mov edx, dword [0x437d68]
push edx
call esi
pop edi
jmp 0x415b02
cmp dword [0x42be9c], 0
je 0x415b02
mov eax, dword [0x42042c]
push eax
call sub.MSVCRT.dll_fclose
add esp, 4
mov ecx, dword [0x437d70]
push ecx
call sub.MSVCRT.dll_free
mov edx, dword [0x420c1c]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [0x437de0]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 8
test eax, eax
je 0x415b37
push eax
mov eax, dword [0x4203f4]
push 0
push eax
call esi
mov eax, dword [0x437de8]
test eax, eax
je 0x415b4c
mov ecx, dword [0x4203f4]
push eax
push 0
push ecx
call esi
pop esi
add esp, 0x14
ret
Function at 0x402930
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 0x40296d
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 0x40298d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404904
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b54
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.00404694
test esi, esi
jne 0x402b8a
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.00404784
jmp 0x402ba8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a08
mov edi, eax
test esi, esi
je 0x402ba8
cmp dword [ebx], 0
je 0x402ba8
dec esi
jmp 0x402b91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403738
Capabilities:
Query or enumerate registry value

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

Function at 0x404494
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x470048], 0
je 0x4044f5
cmp word [0x47021c], 0xd7b2
jne 0x4044bd
cmp dword [0x470224], 0
jbe 0x4044bd
mov eax, 0x470218
call dword [0x470234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46b090
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 0x40451c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46b030], 0
jne 0x404511
push 0
push 0x46b088
push 0x46b090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404648
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.0040271c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x470049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404610
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4062e0
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 0x406346
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.00404904
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032fc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406330
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40634d
lea eax, [ebp - 0x10]
call fcn.00404694
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b54
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d01
test al, 0x10
jne 0x408d05
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408df4
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b54
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x408e08
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404b54
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408e2a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb94
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 0x40bbcd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404784
jmp 0x40bbd6
mov eax, ebx
mov edx, esi
call fcn.004046e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbe0
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 0x40bc01
mov al, byte [esp]
jmp 0x40bc03
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c288
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c100
mov eax, dword [0x46f1b0]
cmp byte [eax], 0
je 0x40c304
mov eax, dword [0x46ef20]
call fcn.00402f20
call fcn.00402884
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.00409254
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 0x40c34c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c33a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46eec8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x470664]
call fcn.004057f4
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 0x40cbc4
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 0x40cc9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040472c
lea eax, [ebp - 8]
call fcn.00404ba4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b54
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc84
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc7d
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.00404b54
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc67
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ccac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc67
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 0x40cc84
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cca1
lea eax, [ebp - 8]
call fcn.00404694
ret

Function at 0x40d218
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 0x40d27c
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.00404904
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408968
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d283
lea eax, [ebp - 0xc]
call fcn.00404694
ret
Function at 0x41b530
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]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41b57d
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.0041b35c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b595
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41b59c
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.0041b35c
dec esi
jne 0x41b5be
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41cd20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x470888
cmp dword [edi], 0
jne 0x41cd9c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x470884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46b42c
mov ecx, 2
call fcn.004029c8
mov edx, 0x41ccf8
lea eax, [esi + 5]
call fcn.0041cd18
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cd18
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 0x41cd71
mov dword [0x470884], 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 0x41e380
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 0x41e386
ret

Function at 0x42081c
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 0x42086d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420854
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420844
jmp 0x42086d
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 0x420855
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429498
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.00404b44
xor eax, eax
push ebp
push 0x4295c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429599
xor eax, eax
push ebp
push 0x429592
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404954
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429567
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 0x429556
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404954
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b54
mov edx, ebx
pop ecx
call fcn.004029c8
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 0x42955d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46ee44]
mov dl, 1
mov eax, dword [0x4077d4]
call fcn.0040c430
call fcn.0040404c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295cd
lea eax, [ebp - 4]
call fcn.00404694
ret