joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433194
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e0a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov dword [ebp - 0x8c], ecx
cmp dword [ebp + 8], 0xe5
jne 0x4331c7
cmp dword [ebp + 0xc], 0
ja 0x4331ce
xor eax, eax
jmp 0x43330d
cmp dword [ebp + 0xc], 0
jbe 0x43330a
push 0x64
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jg 0x4331f3
xor eax, eax
jmp 0x43330d
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [ebp - 0x10]
call fcn.004020a0
test eax, eax
je 0x433238
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x78]
jmp 0x43330d
push str.HANGEUL
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jle 0x433268
mov dword [ebp - 0x7c], 0x15
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x7c]
jmp 0x43330d
push str.HANJA
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jle 0x433295
mov dword [ebp - 0x80], 0x19
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x80]
jmp 0x43330d
push str.RIGHT_ALT
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jle 0x4332c8
mov dword [ebp - 0x84], 0x15
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
jmp 0x43330d
push str.RIGHT_CONTROL
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jle 0x4332fb
mov dword [ebp - 0x88], 0x19
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x88]
jmp 0x43330d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4378d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x100], 0
je 0x437a42
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0xfc], 0
je 0x437a42
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xe8], 0xffffffff
jle 0x437a42
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 4], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
jne 0x43794b
cmp dword [ebp - 8], 0
je 0x437964
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00404b60
jmp 0x437a56
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00437d2e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x437a34
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xe8]
cmp edx, dword [ebp - 0xc]
jge 0x43799d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x24], ecx
jmp 0x4379a3
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xe8]
cmp edx, dword [ebp - 0xc]
jle 0x4379c5
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x28], ecx
jmp 0x4379cb
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
call fcn.00420050
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x4379ee
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
jge 0x437a26
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x437a16
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x1c]
jg 0x437a16
push 1
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00436376
jmp 0x437a24
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00436376
jmp 0x4379e5
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00436b1b
push 0
push 0x14
push 1
mov ecx, dword [ebp - 0x20]
call fcn.004185a0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00404b60
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ba0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
call fcn.004020a0
test eax, eax
jne 0x43ba5d
push 0x472ccc
mov ecx, dword [ebp + 0xc]
call fcn.00415ee0
test eax, eax
je 0x43ba5d
push 0x472cd0
mov ecx, dword [ebp + 0xc]
call fcn.00415ee0
test eax, eax
jne 0x43bacc
lea ecx, [ebp - 0x18]
call fcn.004046e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404780
test eax, eax
jne 0x43ba9a
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404730
mov eax, dword [ebp - 0x34]
jmp 0x43bbef
push 0
lea ecx, [ebp - 0x18]
call fcn.00404880
push eax
call fcn.004390a0
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404730
jmp 0x43bbec
mov ecx, dword [ebp + 0xc]
call fcn.004020c0
push eax
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x43bafb
xor eax, eax
jmp 0x43bbef
mov edx, dword [ebp - 0x28]
push edx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
ja 0x43bb1b
xor eax, eax
jmp 0x43bbef
mov eax, dword [ebp - 0x28]
push eax
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43bb3b
xor eax, eax
jmp 0x43bbef
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43bb55
xor eax, eax
jmp 0x43bbef
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
push edx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x30], 0
jne 0x43bb74
xor eax, eax
jmp 0x43bbef
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
call dword [ecx + 0x10]
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.00402f00
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
call dword [edx + 8]
cmp dword [ebp - 0x10], 0
je 0x43bbec
mov ecx, dword [ebp - 0x10]
call fcn.00439070
test eax, eax
je 0x43bbec
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x43bbde
push 1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
call dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x43bbe5
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4499ab
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
push 0x476aa0
push 0x47330c
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x476aa0
push str._slog
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x476aa0
push str._sconfig
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x476aa0
push str._s_temp
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call sub.MFC42.DLL_CString::operator
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x449cf5
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
push edi
mov dword [ebp - 0xc10], ecx
mov byte [ebp - 0x204], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x203]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 4]
push ecx
push 0x465694
push 1
push 0
push 0x4658c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jl 0x449ea5
lea edx, [ebp - 0x20c]
push edx
push 0x465cf4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jl 0x449e99
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x50]
cmp dword [ebp + 0x10], 0
je 0x449db4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x2c]
mov byte [ebp - 0x40c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x40b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x204]
push eax
push str._s_s.lnk
lea ecx, [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x800
push 0
lea edx, [ebp - 0xc0c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc0c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x40c]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea edx, [ebp - 0xc0c]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20c]
push edx
call dword [ecx + 0x18]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x449e6b
lea eax, [ebp - 0x40c]
push eax
push str.CXSyncApp::CreateDesktopLink__Failed_to_create_link_on_the_desktop.___s_
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
jmp 0x449e87
lea edx, [ebp - 0x40c]
push edx
push str.CXSyncApp::CreateDesktopLink__Create_link_generation_successfully_on_the_desktop.___s_
push 1
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20c]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a445
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f39a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push edi
mov dword [ebp - 0x25c], ecx
push 0x3c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [ebp - 0x24c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x24b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 0xc]
push ecx
push 0x473590
lea edx, [ebp - 0x24c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x500
mov dword [ebp - 0x40], str.runas
mov ecx, dword [ebp + 8]
call fcn.004020c0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44a576
lea ecx, [ebp - 0x254]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
push 0x47359c
lea eax, [ebp - 0x254]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x254]
call fcn.004020c0
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov word [ebp - 0x258], 0xffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call sub.MFC42.DLL_CString::CString
mov ax, word [ebp - 0x258]
jmp 0x44a583
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ax, ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x44a594
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f3b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push edi
mov dword [ebp - 0x280], ecx
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov byte [ebp - 0x26c], 0
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x26b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x68], 0
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 0x44], str.XStudioSync
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x4735e0
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x26c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x44a6f0
lea ecx, [ebp - 0x274]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
push ecx
push str.Cant_Execute_Version_Management_Program__ErrCode___d
lea edx, [ebp - 0x274]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x274]
call fcn.004020c0
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov word [ebp - 0x278], 0xffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov ax, word [ebp - 0x278]
jmp 0x44a723
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov word [ebp - 0x27c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov ax, word [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x44a734
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x141c
call fcn.0045b2d0
push edi
mov dword [ebp - 0x141c], ecx
push 0x4772a8
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x1400], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x13ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [ebp - 0x1400]
push eax
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1000]
push ecx
push 0x1000
push 0
lea edx, [ebp - 0x1400]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x44a7a9
jmp 0x44a879
mov dword [ebp - 0x1404], 0
mov dword [ebp - 0x1408], 0
lea eax, [ebp - 0x1404]
push eax
lea ecx, [ebp - 0x1408]
push ecx
push 0x473620
lea edx, [ebp - 0x1000]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44a879
mov eax, dword [ebp - 0x1408]
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov word [ebp - 0x140c], cx
mov edx, dword [ebp - 0x1408]
mov eax, dword [edx + 8]
and eax, 0xffff
mov word [ebp - 0x1418], ax
mov ecx, dword [ebp - 0x1408]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
mov word [ebp - 0x1414], dx
mov eax, dword [ebp - 0x1408]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
mov word [ebp - 0x1410], cx
mov edx, dword [ebp - 0x1410]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1414]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1418]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x140c]
and edx, 0xffff
push edx
push str._d._d._d._d
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b1f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
push 0x474118
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44b22c
xor eax, eax
jmp 0x44b331
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x44b24c
xor eax, eax
jmp 0x44b331
mov edx, dword [ebp - 0x10]
push edx
call fcn.004075b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44b26c
xor eax, eax
jmp 0x44b331
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44b286
xor eax, eax
jmp 0x44b331
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x18], 0
jne 0x44b2a8
xor eax, eax
jmp 0x44b331
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [eax + 0x10]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00402f00
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x1c], 0
jne 0x44b2e7
xor eax, eax
jmp 0x44b331
cmp dword [ebp - 0x1c], 0
je 0x44b32e
mov ecx, dword [ebp - 0x1c]
call fcn.00439070
test eax, eax
je 0x44b32e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x44b31c
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x2c], eax
jmp 0x44b323
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x44b331
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4
Function at 0x453b55
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x453b65
xor eax, eax
jmp 0x453d2e
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x453ce6
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4640a0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x453b6e
cmp dword [ebp + 0x10], 0
je 0x453d28
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4640a0]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x453cec
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret