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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d962
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
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 - 4], 0
mov ecx, dword [ebp + 0x24]
call fcn.00467e80
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xffffffff
jne 0x45e6a3
mov byte [ebp - 0x26d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov al, byte [ebp - 0x26d]
jmp 0x45e865
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 0x45e6f2
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.0043cfa0
mov al, byte [ebp - 0x26e]
jmp 0x45e865
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004472f0
mov byte [ebp - 4], 1
push fcn.00612b38
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044caa0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044e1a0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044caa0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00446860
add esp, 0x14
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x28]
call fcn.00447470
mov byte [ebp - 4], 2
push fcn.00612b38
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044caa0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044e1a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044caa0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.00446860
add esp, 0x14
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00467f30
test eax, eax
jne 0x45e7e2
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x264]
cmp eax, dword [edx]
je 0x45e7e2
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x254]
cmp edx, dword [ecx]
jne 0x45e7e2
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.00469610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x274]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45e74c
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x24]
call fcn.00469cb0
test eax, eax
jbe 0x45e82e
mov dword [ebp - 0x278], 1
jmp 0x45e838
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.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043cfa0
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.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x45e880
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 0x45e8a1
xor al, al
jmp 0x45e8cb
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x45e8bf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x45e8cb
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 0x45f560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x70a0c4]
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 0x45f592
xor eax, eax
jmp 0x45f62b
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 0x45f626
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 0x45f60b
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 0x45f5b5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x464660
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65de00
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x70a0c4]
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.00462d10
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.004051e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0x7a
cmp dword [ebp - 0x1c], 0x7a
jne 0x4646ed
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004698c0
lea ecx, [ebp - 0x3c]
call fcn.004074e0
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 0x4646bc
cmp dword [ebp - 0x1c], 0
je 0x464728
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00462ce0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00463360
mov eax, dword [ebp + 8]
jmp 0x46479f
mov dword [ebp - 0x10], 0
jmp 0x46473a
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 0x46476c
imul edx, dword [ebp - 0x10], 0x38
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 4], 0
jne 0x46476a
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.004622e0
jmp 0x464731
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00462ce0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00463360
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 0x464f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x464f69
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 0x464fac
mov eax, dword [ebp - 8]
jmp 0x465012
cmp dword [ebp - 0xc], 1
je 0x464fbf
cmp dword [ebp - 0xc], 2
je 0x464fbf
mov eax, 0xd
jmp 0x465012
cmp dword [ebp + 0xc], 0
je 0x465006
cmp dword [ebp - 4], 0
je 0x464ff5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x464fec
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x464ff3
mov eax, 0xd
jmp 0x465012
jmp 0x465006
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 0x465020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.00463090
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.00464e60
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x46509f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.004634e0
mov eax, dword [ebp - 0x220]
jmp 0x465154
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 0x465123
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00465020
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x465117
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.004634e0
mov eax, dword [ebp - 0x224]
jmp 0x465154
mov dword [ebp - 0x210], 0x100
jmp 0x4650a9
lea ecx, [ebp - 0x21c]
call fcn.00464450
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.00464560
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.004634e0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 4
Function at 0x465230
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 0x46528f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46525c
mov eax, 1
jmp 0x4652ad
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 0x46528d
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 0x4652ad
jmp 0x4652a8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4652a8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x4652ad
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4653f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x4653f9
cmp dword [ebp + 0xc], 0
je 0x46540c
mov dword [ebp - 4], 1
jmp 0x465413
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x465426
mov eax, 0xd
jmp 0x465455
xor edx, edx
jne 0x4653fd
mov eax, dword [ebp + 0xc]
push eax
call fcn.006127cf
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 0x494080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6602a3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 - 0x5c], ecx
cmp dword [ebp + 8], 0
jne 0x4940b6
jmp 0x4941e8
push 0xffffffffffffffff
push 0x681f9c
mov ecx, dword [ebp + 8]
call fcn.0048e320
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4941e8
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 0x4941e8
mov eax, dword [ebp - 0x44]
push eax
call fcn.00495490
add esp, 4
mov dword [ebp - 0x54], eax
push 0xffffffffffffffff
push 0x682118
mov ecx, dword [ebp - 0x44]
call fcn.00494cc0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x54], 0
je 0x4941d5
cmp dword [ebp - 0x50], 0
je 0x4941d5
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 - 0x58]
call fcn.0054e470
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.0054e960
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4941ae
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 - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4941ae
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.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
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 0x4940e0
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 0x496ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660613
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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 - 0x4c], ecx
cmp dword [ebp + 8], 0
jne 0x496ed6
jmp 0x497000
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 - 0x44]
call fcn.0054e470
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.0054e4b0
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x496f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x496ff6
lea ecx, [ebp - 0x28]
call fcn.0043dc00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.00447470
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x34
call fcn.004a6730
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x496fac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x496ff6
mov ecx, dword [ebp + 8]
call fcn.004ca800
cmp eax, dword [ebp - 0x48]
je 0x496fc5
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ca7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
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 0x497000
push 0
mov ecx, dword [ebp + 8]
call fcn.004ca7c0
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 8
Function at 0x4a2830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661146
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x4a2866
jmp 0x4a2957
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0054e470
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0054e870
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a28c4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a294d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004472f0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.004a6730
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4a290f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a294d
mov ecx, dword [ebp + 8]
call fcn.004daeb0
cmp eax, dword [ebp - 0x30]
je 0x4a2928
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004dae70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a2957
push 0
mov ecx, dword [ebp + 8]
call fcn.004dae70
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 8
Function at 0x4a51b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661483
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x4a51e6
jmp 0x4a52cb
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0054e470
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0054ea80
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a5241
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a52be
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 - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a5279
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a52be
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.0054e490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
jmp 0x4a52cb
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.005c7840
mov esp, ebp
pop ebp
ret 8
Function at 0x4a6730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x661623
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 - 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.004a9fd0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004a9740
push eax
lea ecx, [ebp - 0x18]
call fcn.004a85c0
movzx eax, al
test eax, eax
je 0x4a67b6
lea ecx, [ebp - 0x18]
call fcn.004a8630
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov eax, dword [ebp - 0x1c]
jmp 0x4a6846
lea ecx, [ebp + 8]
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a67e4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov eax, dword [ebp - 0x20]
jmp 0x4a6846
lea ecx, [ebp + 8]
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 - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a681a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov eax, dword [ebp - 0x24]
jmp 0x4a6846
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004a8600
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.0043cfa0
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 0x4b79d0
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 0x4b79eb
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jge 0x4b7af1
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4b7ab8
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov cl, byte [eax + 0x709d70]
mov byte [ebp - 1], cl
mov dword [ebp - 8], 0
jmp 0x4b7a38
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jge 0x4b7a83
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx*4 + 0x708370]
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 + 0x709c70]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x4b7a2f
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
jmp 0x4b7a94
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 0x4b7ab6
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 0x4b7a8b
jmp 0x4b7aec
mov dword [ebp - 8], 0
jmp 0x4b7aca
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 0x4b7aec
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 0x4b7ac1
jmp 0x4b79e2
mov esp, ebp
pop ebp
ret 0xc