joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d7f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656406
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x49d826
jmp 0x49d917
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00545730
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00545b30
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d884
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49d90d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004468a0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.004a0770
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x49d8cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49d90d
mov ecx, dword [ebp + 8]
call fcn.004cf470
cmp eax, dword [ebp - 0x30]
je 0x49d8e8
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004cf430
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49d917
push 0
mov ecx, dword [ebp + 8]
call fcn.004cf430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 8
Function at 0x49e0b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6564ab
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 8], 0
jne 0x49e0e6
jmp 0x49e1fc
lea ecx, [ebp - 0x40]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545730
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x48]
call fcn.00545770
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x49e1f2
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
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 0x49e1a4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x49e1f2
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.004be930
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.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x49e1fc
push 0
mov ecx, dword [ebp + 8]
call fcn.004be930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 8
Function at 0x49fa50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6566e3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x49fa86
jmp 0x49fb6b
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00545730
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00545d40
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49fae1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49fb5e
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
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 - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x49fb19
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49fb5e
push 3
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x49fb6b
push 0
push 0
mov ecx, dword [ebp + 8]
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.005bcdb6
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6567e3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6fc0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004a4010
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004a3780
push eax
lea ecx, [ebp - 0x18]
call fcn.004a2600
movzx eax, al
test eax, eax
je 0x4a07f6
lea ecx, [ebp - 0x18]
call fcn.004a2670
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov eax, dword [ebp - 0x1c]
jmp 0x4a0886
lea ecx, [ebp + 8]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0824
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov eax, dword [ebp - 0x20]
jmp 0x4a0886
lea ecx, [ebp + 8]
call fcn.0043d1b0
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 - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a085a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov eax, dword [ebp - 0x24]
jmp 0x4a0886
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004a2640
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4a78e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
jmp 0x4a78fb
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jge 0x4a7a01
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4a79c8
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov cl, byte [eax + 0x6fb8c8]
mov byte [ebp - 1], cl
mov dword [ebp - 8], 0
jmp 0x4a7948
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jge 0x4a7993
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx*4 + 0x6fbe98]
mov eax, dword [ebp - 8]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 1]
add eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov byte [ebp - 2], dl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx + 1]
movzx ecx, byte [ebp - 2]
movzx edx, byte [ecx + 0x6fb7c8]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x4a793f
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
jmp 0x4a79a4
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx - 1]
cmp dword [ebp - 8], eax
jge 0x4a79c6
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx + 1]
mov byte [ecx], al
jmp 0x4a799b
jmp 0x4a79fc
mov dword [ebp - 8], 0
jmp 0x4a79da
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx - 1]
cmp dword [ebp - 8], ecx
jge 0x4a79fc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov cl, byte [eax + 1]
mov byte [edx], cl
jmp 0x4a79d1
jmp 0x4a78f2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd9a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657a26
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6fc0c4]
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.004bdcd0
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 0x4bda31
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.004bddb0
jmp 0x4bdad5
cmp dword [ebp + 8], 0xd
jne 0x4bda7f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x370]
and edx, 0x1000
jne 0x4bda7f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4bda7f
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.004bddb0
jmp 0x4bdad5
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.004bddb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cca10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6fc0c4]
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.004045f0
push 1
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00409890
push eax
push 0x67d674
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
ja 0x4cca76
push 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.00409890
push eax
push str.iexplore.exe
push 0x67d68c
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.004048b0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ec580
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65949f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6fc0c4]
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.004eb320
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 0x4f1d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659a46
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6fc0c4]
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.004880a0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4f1d5b
jmp 0x4f1e7d
lea ecx, [ebp - 0x40]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545730
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.005459f0
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f1ddb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x4f1e70
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
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 0x4f1e1f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x4f1e70
push 3
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.00545750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x4f1e7d
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.005bcdb6
mov esp, ebp
pop ebp
ret 4
Function at 0x51c9b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65cf88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6fc0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00585290
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
call fcn.00446a90
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 0x70795c
call fcn.004468a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00455900
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 0x521420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d920
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6fc0c4]
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.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00545730
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00545df0
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x521502
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x5c], esp
push 0x686f8c
push 0x7078e4
push 0x686f8c
lea edx, [ebp - 0x40]
push edx
call fcn.004440d0
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.00444050
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.004468a0
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
call fcn.00455900
add esp, 0x34
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
cmp dword [ebp + 0xc], 1
je 0x52153a
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.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
jmp 0x521573
xor eax, eax
mov byte [ebp - 0x41], al
lea ecx, [ebp - 0x41]
call fcn.00521260
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00469af0
mov ecx, eax
call fcn.0046da90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00545750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 8
Function at 0x528f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e4c4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6fc0c4]
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.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x528f9e
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004048b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048c410
jmp 0x529081
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00434f90
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004325e0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0053a8c0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00434f90
push eax
lea ecx, [ebp - 0x18]
call fcn.00428150
movzx ecx, al
test ecx, ecx
je 0x52901a
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004048b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048c410
jmp 0x529081
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.00521b00
mov ecx, eax
call fcn.00539ed0
lea ecx, [ebp - 0x2c]
call fcn.00520cc0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004383e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004048b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.0048c410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x5c