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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662bb6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x40]
call fcn.004c8540
mov dword [ebp - 4], 0
mov byte [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x94]
call eax
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x4c82a1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3a4]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SMsgHandleState::SetMsgHandled_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004c8620
jmp 0x4c8345
cmp dword [ebp + 8], 0xd
jne 0x4c82ef
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x370]
and edx, 0x1000
jne 0x4c82ef
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4c82ef
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3a4]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SMsgHandleState::SetMsgHandled_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004c8620
jmp 0x4c8345
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x380]
call dword [sym.imp.soui.dll_public:_class_ITextServices____thiscall_SOUI::STextHost::GetTextService_void_]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.soui.dll_public:_struct_SOUI::SWNDMSG____thiscall_SOUI::SWindow::GetCurMsg_void_]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.soui.dll_public:_struct_SOUI::SWNDMSG____thiscall_SOUI::SWindow::GetCurMsg_void_]
mov edx, dword [eax + 4]
push edx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.soui.dll_public:_struct_SOUI::SWNDMSG____thiscall_SOUI::SWindow::GetCurMsg_void_]
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004c8620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d47f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405040
push 1
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040a2e0
push eax
push 0x6883c4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
ja 0x4d4856
push 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040a2e0
push eax
push str.iexplore.exe
push 0x6883dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405300
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f1590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66437f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::TObjRefImpl_struct_IObjRef_::constructor_void_]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.SOUI::STileView2ItemLocator.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0x64
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
push ecx
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
add eax, 0x10
mov ecx, eax
call dword [sym.imp.soui.dll_public:_class_SOUI::SLayoutSize___thiscall_SOUI::SResProviderMgr::GetLayoutSize_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
add eax, 0x10
mov ecx, eax
call dword [sym.imp.soui.dll_public:_class_SOUI::SLayoutSize___thiscall_SOUI::SResProviderMgr::GetLayoutSize_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::constructor_float__enum_SOUI::SLayoutSize::Unit_]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 0x1c]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp + 0x24]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004f0330
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4fceb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664db2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0xffffffffffffffff
push str.game_logo
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0048e120
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x40]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054e470
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x398]
push eax
lea ecx, [ebp - 0x48]
call fcn.0054e730
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4fcf70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x4fd00b
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.soui.dll_public:_static_struct_SOUI::IBitmap____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4fcfb4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x4fd00b
cmp dword [ebp - 0x4c], 0
je 0x4fcfc9
push 0
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x4c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054e490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x4fd01e
cmp dword [ebp - 0x4c], 0
je 0x4fd01e
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 4
Function at 0x529810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668a9e
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c8], ecx
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3cc]
call fcn.0054e470
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x3cc]
call fcn.0054eb30
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5298d3
cmp dword [ebp - 0x3c8], 1
je 0x5298d3
mov dword [ebp - 0x3d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3cc]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov eax, dword [ebp - 0x3d0]
jmp 0x52993e
mov ecx, dword [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x3c4]
call fcn.0052b220
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + 0x248]
push eax
lea ecx, [ebp - 0x3c4]
call fcn.00519ab0
mov dword [ebp - 0x3d8], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c4]
call fcn.0052b290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3cc]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0x10
Function at 0x52b320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.0058d0e0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
call fcn.004474e0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x7156cc
call fcn.004472f0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00456360
add esp, 0x34
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.soui.dll_protected:_void___thiscall_SOUI::SHostDialog::OnOK_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x52ff20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669680
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0054e470
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0054eb30
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x530002
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x5c], esp
push 0x694710
push 0x715654
push 0x694710
lea edx, [ebp - 0x40]
push edx
call fcn.00444b20
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
push ecx
push esi
call fcn.00444aa0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004472f0
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
call fcn.00456360
add esp, 0x34
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
cmp dword [ebp + 0xc], 1
je 0x53003a
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0xfb8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x530073
xor eax, eax
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x41]
call fcn.0052fc10
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046a540
mov ecx, eax
call fcn.0046f110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 8
Function at 0x537750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a197
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5377be
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
jmp 0x5378a1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004359e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00433030
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00546740
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004359e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00428ba0
movzx ecx, al
test ecx, ecx
je 0x53783a
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
jmp 0x5378a1
xor edx, edx
mov byte [ebp - 0xd], dl
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp + 0x38]
push ecx
lea edx, [ebp + 0x20]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xe]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.005304b0
mov ecx, eax
call fcn.00545a90
lea ecx, [ebp - 0x2c]
call fcn.0052f670
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00438e30
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x5c
Function at 0x5378c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a1ca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53792e
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
jmp 0x537a11
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.004359e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00433030
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00546740
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.004359e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00428ba0
movzx ecx, al
test ecx, ecx
je 0x5379aa
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
jmp 0x537a11
xor edx, edx
mov byte [ebp - 0xd], dl
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp + 0x38]
push ecx
lea edx, [ebp + 0x20]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xe]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.005304b0
mov ecx, eax
call fcn.005452c0
lea ecx, [ebp - 0x2c]
call fcn.0052f670
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00438e30
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048f890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x5c
Function at 0x537ad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a230
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70a0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x537b3e
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00549bb0
jmp 0x537c25
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.004359e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00433030
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00546740
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.004359e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00428ba0
movzx ecx, al
test ecx, ecx
je 0x537bba
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00549bb0
jmp 0x537c25
xor edx, edx
mov byte [ebp - 0xd], dl
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x3c]
push ecx
lea edx, [ebp + 0x38]
push edx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0xe]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.005304b0
mov ecx, eax
call fcn.00545550
lea ecx, [ebp - 0x2c]
call fcn.0052f670
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00438e30
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00405300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00549bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x60
Function at 0x54dc60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x54dc83
xor eax, eax
jmp 0x54dd33
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f0188
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x54dc9f
xor eax, eax
jmp 0x54dd33
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
push 0x695374
mov eax, dword [ebp - 8]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x54dd22
cmp dword [ebp - 0x14], 0x34
jb 0x54dd22
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0x18]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0x14]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
push ecx
call fcn.005f0183
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x558a10
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e2f2
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0046a540
mov ecx, eax
call fcn.0046bb10
movzx edx, al
test edx, edx
jne 0x558aa0
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov eax, dword [ebp - 0x68]
jmp 0x558c06
mov byte [ebp - 0x59], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00442ef0
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00452f60
add esp, 8
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
lea edx, [ebp - 0x28]
push edx
call fcn.00452eb0
add esp, 4
movzx eax, al
test eax, eax
je 0x558b64
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x6962b0
call fcn.00447470
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004472f0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0
call fcn.00456360
add esp, 0x34
mov byte [ebp - 0x5a], al
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x558b64
jmp 0x558b9c
call fcn.0045f560
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x20
jbe 0x558b90
jmp 0x558b9c
mov byte [ebp - 0x59], 0
xor ecx, ecx
jne 0x558aa4
mov ecx, 0x715654
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
movzx edx, byte [ebp - 0x59]
test edx, edx
je 0x558be7
push 0
mov ecx, dword [ebp - 0x80]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ShowWindow_int_]
mov dword [ebp - 0x84], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov eax, dword [ebp - 0x84]
jmp 0x558c06
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0x10