joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dc00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652c92
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
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 - 4], 0
mov ecx, dword [ebp + 0x24]
call fcn.00467450
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xffffffff
jne 0x45dc73
mov byte [ebp - 0x26d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov al, byte [ebp - 0x26d]
jmp 0x45de35
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45dcc2
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x26e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov al, byte [ebp - 0x26e]
jmp 0x45de35
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004468a0
mov byte [ebp - 4], 1
push fcn.00608028
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044c050
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044d750
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044c050
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00445e10
add esp, 0x14
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x28]
call fcn.00446a20
mov byte [ebp - 4], 2
push fcn.00608028
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044c050
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044d750
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c050
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.00445e10
add esp, 0x14
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00467500
test eax, eax
jne 0x45ddb2
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x264]
cmp eax, dword [edx]
je 0x45ddb2
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x254]
cmp edx, dword [ecx]
jne 0x45ddb2
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.00468be0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043c550
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x274]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45dd1c
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x24]
call fcn.00469280
test eax, eax
jbe 0x45ddfe
mov dword [ebp - 0x278], 1
jmp 0x45de08
mov dword [ebp - 0x278], 0
mov cl, byte [ebp - 0x278]
mov byte [ebp - 0x26f], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043c550
mov al, byte [ebp - 0x26f]
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
Function at 0x45de50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45de71
xor al, al
jmp 0x45de9b
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x45de8f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45de9b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x45eb30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x45eb62
xor eax, eax
jmp 0x45ebfb
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x45ebf6
mov edx, dword [ebp - 0x228]
push edx
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x45ebdb
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_K32EmptyWorkingSet
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x45eb85
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret
Function at 0x463c30
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653130
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6fc0c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.004622e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.00404790
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0x7a
cmp dword [ebp - 0x1c], 0x7a
jne 0x463cbd
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00468e90
lea ecx, [ebp - 0x3c]
call fcn.00406a90
mov dword [ebp - 0x14], eax
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0x1c], eax
jmp 0x463c8c
cmp dword [ebp - 0x1c], 0
je 0x463cf8
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004622b0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00404900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00462930
mov eax, dword [ebp + 8]
jmp 0x463d6f
mov dword [ebp - 0x10], 0
jmp 0x463d0a
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jae 0x463d3c
imul edx, dword [ebp - 0x10], 0x38
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 4], 0
jne 0x463d3a
imul ecx, dword [ebp - 0x10], 0x38
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 0x14]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004618b0
jmp 0x463d01
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.004622b0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00404900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00462930
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x464530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x464539
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46457c
mov eax, dword [ebp - 8]
jmp 0x4645e2
cmp dword [ebp - 0xc], 1
je 0x46458f
cmp dword [ebp - 0xc], 2
je 0x46458f
mov eax, 0xd
jmp 0x4645e2
cmp dword [ebp + 0xc], 0
je 0x4645d6
cmp dword [ebp - 4], 0
je 0x4645c5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4645bc
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4645c3
mov eax, 0xd
jmp 0x4645e2
jmp 0x4645d6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4645f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.00462660
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00464430
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x46466f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.00462ab0
mov eax, dword [ebp - 0x220]
jmp 0x464724
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4646f3
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004645f0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4646e7
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.00462ab0
mov eax, dword [ebp - 0x224]
jmp 0x464724
mov dword [ebp - 0x210], 0x100
jmp 0x464679
lea ecx, [ebp - 0x21c]
call fcn.00463a20
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.00463b30
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.00462ab0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 4
Function at 0x464800
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x46485f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46482c
mov eax, 1
jmp 0x46487d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46485d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x46487d
jmp 0x464878
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x464878
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x46487d
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4649c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x4649c9
cmp dword [ebp + 0xc], 0
je 0x4649dc
mov dword [ebp - 4], 1
jmp 0x4649e3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x4649f6
mov eax, 0xd
jmp 0x464a25
xor edx, edx
jne 0x4649cd
mov eax, dword [ebp + 0xc]
push eax
call fcn.00607cbf
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48a920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654f93
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 0x48a956
jmp 0x48aa72
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 0x48a9d0
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 0x48aa65
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 0x48aa14
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 0x48aa65
push 3
mov eax, dword [ebp - 0x44]
push eax
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 - 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 0x48aa72
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 0x48de50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x655305
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 0x48de86
jmp 0x48df9c
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 0x48df00
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 0x48df92
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 0x48df44
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 0x48df92
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 0x48df9c
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 0x490680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x655613
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 - 0x5c], ecx
cmp dword [ebp + 8], 0
jne 0x4906b6
jmp 0x4907e8
push 0xffffffffffffffff
push 0x676f60
mov ecx, dword [ebp + 8]
call fcn.004914c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4907e8
push 0
mov ecx, dword [ebp - 0x4c]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4907e8
mov eax, dword [ebp - 0x44]
push eax
call fcn.00491c90
add esp, 4
mov dword [ebp - 0x54], eax
push 0xffffffffffffffff
push 0x676f74
mov ecx, dword [ebp - 0x44]
call fcn.004912c0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x54], 0
je 0x4907d5
cmp dword [ebp - 0x50], 0
je 0x4907d5
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 - 0x58]
call fcn.00545730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x50]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetUserData_void_]
push eax
lea ecx, [ebp - 0x58]
call fcn.00545c20
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4907ae
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 - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4907ae
push 3
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x54]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0x48]
add ecx, 4
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
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
push 3
mov ecx, dword [ebp - 0x44]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetWindow_int_const]
mov dword [ebp - 0x44], eax
jmp 0x4906e0
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 0x493670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x655947
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 0x4936a6
jmp 0x4937bc
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 0x493720
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 0x4937b2
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 0x493764
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 0x4937b2
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 0x4937bc
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 0x495a90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x655bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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 0x495ac6
jmp 0x495bf0
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 - 0x44]
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 - 0x44]
call fcn.00545770
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x495b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x495be6
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.00446a20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2c
call fcn.004a0770
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x495b9c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x495be6
mov ecx, dword [ebp + 8]
call fcn.004be9c0
cmp eax, dword [ebp - 0x48]
je 0x495bb5
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004be8e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x495bf0
push 0
mov ecx, dword [ebp + 8]
call fcn.004be8e0
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