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

Disassembly:
push 0xffffffffffffffff
push 0x5c4d7c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00543c0f
lea ecx, [esi + 0x54]
mov dword [esp + 0x20], 0
mov dword [esi], vtable.CPreviewClientWnd.0
call fcn.00469680
lea ecx, [esi + 0x6c]
mov byte [esp + 0x20], 1
call fcn.004696e0
lea eax, [esp + 0xa]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 0x8c]
push edx
mov byte [esp + 0x28], 2
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
call fcn.004684d0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x24], 3
call fcn.00468c60
push str.FRPreview.exe
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x2c], 4
call fcn.00467530
add esp, 0xc
mov eax, dword [eax]
push eax
push 0x5d5ab4
push str._wmpplay_
push str.FRPreviewCtrl
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.0046b1d0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b4ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b511
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x46b770
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x440], 0
je 0x46b7af
push edi
call fcn.00484130
mov edi, eax
test edi, edi
je 0x46b7ae
mov eax, dword [esi + 0x440]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x440]
push 0
push 0
push 0x522c
push ecx
mov ecx, edi
call sub.USER32.dll_SendMessageW
pop edi
pop esi
ret

Function at 0x46bcb0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x440], 0
je 0x46bd14
push edi
call fcn.00484130
mov edi, eax
test edi, edi
je 0x46bcee
mov eax, dword [esi + 0x440]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x440]
push 0
push 0
push 0x522c
push ecx
mov ecx, edi
call sub.USER32.dll_SendMessageW
cmp dword [esi + 0x440], 0
pop edi
je 0x46bd14
call fcn.00484130
test eax, eax
je 0x46bd14
mov ecx, dword [esi + 0x440]
mov edx, dword [eax]
mov edx, dword [edx + 0x140]
push ecx
mov ecx, eax
call edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x3f0]
test eax, eax
je 0x46bd3d
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x3f0], 0
mov ecx, esi
pop esi
jmp dword [sym.imp.soui.dll_protected:_void___thiscall_SOUI::SHostWnd::OnDestroy_void_]
Function at 0x46cc00
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5c4f3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x440], 0
je 0x46cc62
call fcn.00484130
mov edi, eax
test edi, edi
je 0x46cc62
mov eax, dword [esi + 0x440]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x440]
push 0
push 0
push 0x522c
push ecx
mov ecx, edi
call sub.USER32.dll_SendMessageW
mov edx, dword [esp + 0x28]
push edx
mov ecx, 0x6318a8
call fcn.0046f5f0
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
mov dword [esp + 0x20], 0
call edx
lea ebp, [esi + 0x400]
test eax, eax
jne 0x46cc96
xor ecx, ecx
jmp 0x46ccb1
mov ecx, eax
lea edx, [ecx + 2]
mov dword [esp + 0x10], edx
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x46cca0
sub ecx, dword [esp + 0x10]
sar ecx, 1
push ecx
push eax
mov ecx, ebp
call fcn.00403dd0
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x46cd64
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46cce2
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x404]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov edx, dword [esi + 0x408]
mov eax, dword [ebp]
sar ecx, 2
push ecx
inc edx
push edx
push eax
lea ecx, [esp + 0x1c]
push str.____s___d__d_
push ecx
mov byte [esp + 0x34], 1
call fcn.004096d0
add esp, 0x14
push 0xffffffffffffffff
push 0x5d5270
lea ecx, [esi + 4]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edx, dword [eax]
mov ebp, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [edx + 0x40]
push ebp
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46cd64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
push 2
mov ecx, esi
mov dword [esi + 0x3e4], 1
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SHostWnd::KillTimer_unsigned_int_]
push 0x1f4
push 2
mov ecx, esi
call dword [sym.imp.soui.dll_public:_unsigned_int___thiscall_SOUI::SHostWnd::SetTimer_unsigned_int__unsigned_int_]
push 0x48
call fcn.0053e6be
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x20], 2
test eax, eax
je 0x46cdb0
mov ecx, eax
call fcn.0046c820
jmp 0x46cdb2
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x38], ecx
mov ecx, dword [esi + 0x248]
mov dword [eax + 0x30], ecx
push eax
lea ecx, [esi + 0x3d4]
mov byte [esp + 0x24], 0
mov dword [eax + 0x34], 0x2340
call fcn.00401c20
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
Function at 0x4885f0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5c7408
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x488660
push edi
call fcn.0053e6f8
mov ecx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x488681
push esi
call fcn.0053e703
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00584447
add esp, 0x34
ret
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x488657
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
rol edx, 0x10
push edx
lea eax, [esp + 0x28]
push str._08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x30]
push ecx
push str.StringFileInfo_sFileVersion
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00488140
add esp, 0x1c
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.00404490
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488704
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x2e
push 0x2c
mov ecx, ebp
call fcn.004880a0
push esi
call fcn.0053e703
add esp, 4
mov eax, 1
jmp 0x488662
Function at 0x488c30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c7510
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x488c70
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x14]
push str._preview_wmplayer__d
push edx
mov dword [esp + 0x60], 0
call fcn.004096d0
lea eax, [esp + 0x3c]
push eax
call fcn.004889d0
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.00488b00
mov ebx, 8
add esp, 0x14
cmp dword [esi + 0x18], ebx
jb 0x488cc9
mov esi, dword [esi + 4]
jmp 0x488ccc
add esi, 4
cmp dword [eax + 0x18], ebx
jb 0x488cd6
mov eax, dword [eax + 4]
jmp 0x488cd9
add eax, 4
mov edi, dword [esp + 0x10]
push 1
push esi
push edi
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp dword [esp + 0x2c], ebx
jb 0x488d01
mov edx, dword [esp + 0x18]
push edx
call fcn.0053e6ed
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
cmp dword [esp + 0x48], ebx
jb 0x488d2b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0053e6ed
add esp, 4
xor edx, edx
mov eax, 0x20
cmp eax, esi
sbb esi, esi
lea eax, [edi - 0x10]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
neg esi
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488d71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x48b700
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 4
mov edi, ecx
push edi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x48b748
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
push edi
call ebx
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [edi]
pop edi
pop esi
ret 4

Function at 0x48f2c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c7bb3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x639340
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TinyXml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x639340
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5d3001
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0048d840
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x402f34
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d50
test esi, esi
jne 0x402f6b
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.00404e40
jmp 0x402f8c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402dd0
mov dword [esp], eax
test esi, esi
je 0x402f8c
cmp dword [ebx], 0
je 0x402f8c
dec esi
jmp 0x402f73
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403d8c
Capabilities:
Query or enumerate registry value

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

Function at 0x404b28
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e904c], 0
je 0x404b89
cmp word [0x4e9220], 0xd7b2
jne 0x404b51
cmp dword [0x4e9228], 0
jbe 0x404b51
mov eax, 0x4e921c
call dword [0x4e9238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e5070
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 0x404bb0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e5030], 0
jne 0x404ba5
push 0
push 0x4e5068
push 0x4e5070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d04
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.00402b70
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e904d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ccc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406f44
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 0x406faa
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.00404fc0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403784
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406f94
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406fb1
lea eax, [ebp - 0x10]
call fcn.00404d50
ret

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

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

Function at 0x40cb50
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 0x40cb89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e40
jmp 0x40cb92
mov eax, ebx
mov edx, esi
call fcn.00404da4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d254
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d0bc
mov eax, dword [0x4e7f98]
cmp byte [eax], 0
je 0x40d2d0
mov eax, dword [0x4e7bac]
call fcn.004033a0
call fcn.00402cfc
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.0040a11c
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 0x40d318
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d306
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e7b0c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e9668]
call fcn.00406344
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 0x40dbc8
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 0x40dc9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404de8
lea eax, [ebp - 8]
call fcn.00405260
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405210
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dc88
mov eax, ebx
call fcn.00402b70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dc81
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.00405210
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dc6b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dcb0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dc6b
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 0x40dc88
mov eax, dword [ebp - 0x10]
call fcn.00402ba0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca5
lea eax, [ebp - 8]
call fcn.00404d50
ret

Function at 0x40e2b8
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 0x40e31c
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.00404fc0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004099cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e323
lea eax, [ebp - 0xc]
call fcn.00404d50
ret

Function at 0x423298
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.004230c4
dec esi
jne 0x4232ba
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424414
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4e988c
cmp dword [esi], 0
jne 0x4244ba
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4e9888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4e55ac
mov ecx, 2
call fcn.00402d90
mov edx, 0x4243ec
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0042440c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0042440c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x424481
mov eax, dword [ebp - 8]
mov dword [0x4e9888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425b18
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 0x425b1e
ret

Function at 0x428300
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 0x428351
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428338
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428328
jmp 0x428351
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 0x428339
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b2a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405200
xor eax, eax
push ebp
push 0x43b3d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43b3a3
xor eax, eax
push ebp
push 0x43b39c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405010
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43b371
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43b360
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405010
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405210
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402d90
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 0x43b367
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e7a1c]
mov dl, 1
mov eax, dword [0x4084b8]
call fcn.0040d3e4
call fcn.004046c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b3d7
lea eax, [ebp - 4]
call fcn.00404d50
ret