joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456c08
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x456c34
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404c84
jmp 0x456c40
mov eax, ebx
mov edx, 0x456c80
call fcn.00404a68
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x456c59
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x456c6e
mov eax, ebx
mov edx, 0x456c94
call fcn.00404ce0
add esp, 0x10c
pop ebx
ret

Function at 0x456cc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456dce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x456d2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
call fcn.00456c08
mov eax, dword [ebp - 0x108]
movzx ebx, byte [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456d39
mov eax, ebx
call fcn.00455788
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10c]
mov eax, 8
call fcn.00408974
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x104]
mov ecx, 0xff
call fcn.00404cb0
mov esi, 1
lea ebx, [ebp - 0x103]
mov eax, 0x456de4
movzx eax, byte [eax + esi - 1]
xor al, byte [ebx]
movzx eax, al
lea ecx, [ebp - 0x110]
mov edx, 2
call fcn.0040894c
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.00404ce0
mov eax, dword [ebp - 4]
inc esi
inc ebx
cmp esi, 9
jne 0x456d79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456dd5
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404a38
ret
Function at 0x4010a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43c4c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebp
mov ebp, ecx
mov dword [esp + 4], ebp
mov dword [ebp], 0x4417a0
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x810], 1
test eax, eax
jne 0x4011db
mov eax, dword [0x44fe90]
test eax, eax
je 0x4010f6
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x4011cb
push esi
push edi
lea eax, [esp + 0x10]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x10]
push ecx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x401133
lea edx, [esp + 0x10]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x401122
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
pop edi
test edx, edx
pop esi
je 0x401185
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401189
lea ecx, [esp + 8]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x401189
call fcn.0043a1e0
lea edx, [esp + 8]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x401194
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x4011db
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x4011cb
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x4011db
call eax
test eax, eax
je 0x4011db
mov edx, dword [eax]
lea ecx, [ebp + 0x44]
push ecx
push eax
call dword [edx + 0x58]
lea ecx, [ebp + 0x40]
mov byte [esp + 0x810], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, ebp
mov dword [esp + 0x810], 0xffffffff
call sub.MFC42u.DLL_CStatic::CStatic
mov ecx, dword [esp + 0x808]
pop ebp
mov dword fs:[0], ecx
add esp, 0x810
ret
Function at 0x402120
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x44ffd8]
sub esp, 0xc10
test eax, eax
push esi
push edi
jne 0x40226e
mov eax, dword [0x44ffdc]
test eax, eax
jne 0x402203
lea eax, [esp + 0x418]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x418]
push ecx
call edi
mov eax, dword [0x44ffe0]
xor esi, esi
test eax, eax
jle 0x402186
lea edx, [esp + 0x418]
push edx
call edi
mov eax, dword [0x44ffe0]
inc esi
cmp esi, eax
jl 0x402172
lea eax, [esp + 0x418]
push str.360Common.dll
lea ecx, [esp + 0x41c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x418]
test edx, edx
je 0x4021e8
lea eax, [esp + 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4021ec
lea ecx, [esp + 0x418]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x4021ec
call fcn.0043a1e0
lea edx, [esp + 0x418]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x4021fa
lea eax, [esp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44ffdc], eax
je 0x402261
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x44ffd8], eax
call esi
mov edx, dword [0x44ffdc]
push str.Create360FireWareStateFunction
push edx
mov dword [0x44ffd4], eax
call esi
mov dword [0x44ffd0], eax
mov eax, dword [0x44ffdc]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x44ffcc], eax
call esi
mov dword [0x44ffc8], eax
mov eax, dword [0x44ffd8]
test eax, eax
je 0x402300
call eax
test eax, eax
je 0x402300
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x402300
mov dx, word [0x44ffe8]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x214]
stosw word es:[edi], ax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 8]
mov edx, dword [esi]
lea eax, [esp + 8]
push 0x104
push eax
push esi
call dword [edx]
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
lea edx, [esp + 0x210]
lea ecx, [esp + 8]
push edx
push ecx
push eax
push str.uid_dpid_sm_s
push 0x44ffbc
call sub.MFC42u.DLL_CString::Format_1
add esp, 0x14
pop edi
pop esi
add esp, 0xc10
ret
Function at 0x4032a0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c818
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
push str.360ExaminUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x403323
push str.360ExaminUI.dll
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00407760
mov esi, dword [eax]
add esp, 0xc
test esi, esi
je 0x40330d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403311
push esi
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x403311
call fcn.0043a1e0
push eax
push esi
call fcn.0043a1f0
add esp, 8
xor esi, esi
jmp 0x40331a
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x403369
push str.SetSkinConfigPath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x403369
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00402780
mov eax, dword [eax]
mov dword [esp + 0x18], 0
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404600
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43c938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 0x14], 0
call fcn.00405670
push 0
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x404680
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404680
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 4]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404680
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x1c]
push 5
push str._repairmain
push edx
mov dword [esp + 0x20], 0
call fcn.004384f0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x405060
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x44ffd8]
sub esp, 0x800
test eax, eax
jne 0x40518e
mov eax, dword [0x44ffdc]
push esi
test eax, eax
jne 0x405126
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x44ffe0]
xor esi, esi
test eax, eax
jle 0x4050bd
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44ffe0]
inc esi
cmp esi, eax
jl 0x4050ac
lea eax, [esp + 8]
push str.360Common.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
je 0x40510e
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405112
lea ecx, [esp + 4]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x405112
call fcn.0043a1e0
lea edx, [esp + 4]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x40511d
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44ffdc], eax
je 0x405184
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x44ffd8], eax
call esi
mov edx, dword [0x44ffdc]
push str.Create360FireWareStateFunction
push edx
mov dword [0x44ffd4], eax
call esi
mov dword [0x44ffd0], eax
mov eax, dword [0x44ffdc]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x44ffcc], eax
call esi
mov dword [0x44ffc8], eax
mov eax, dword [0x44ffd8]
pop esi
test eax, eax
je 0x40519e
call eax
test eax, eax
je 0x40519e
mov edx, dword [eax]
push eax
call dword [edx + 8]
test eax, eax
jne 0x4051a7
xor eax, eax
add esp, 0x800
ret
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
add esp, 0x800
ret
Function at 0x4051c0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x44ffd8]
sub esp, 0x800
test eax, eax
jne 0x4052ee
mov eax, dword [0x44ffdc]
push esi
test eax, eax
jne 0x405286
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x44ffe0]
xor esi, esi
test eax, eax
jle 0x40521d
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44ffe0]
inc esi
cmp esi, eax
jl 0x40520c
lea eax, [esp + 8]
push str.360Common.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
je 0x40526e
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405272
lea ecx, [esp + 4]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x405272
call fcn.0043a1e0
lea edx, [esp + 4]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x40527d
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44ffdc], eax
je 0x4052e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x44ffd8], eax
call esi
mov edx, dword [0x44ffdc]
push str.Create360FireWareStateFunction
push edx
mov dword [0x44ffd4], eax
call esi
mov dword [0x44ffd0], eax
mov eax, dword [0x44ffdc]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x44ffdc]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x44ffcc], eax
call esi
mov dword [0x44ffc8], eax
mov eax, dword [0x44ffd8]
pop esi
test eax, eax
je 0x4052fe
call eax
test eax, eax
je 0x4052fe
mov edx, dword [eax]
push eax
call dword [edx + 8]
test eax, eax
jne 0x405307
xor eax, eax
add esp, 0x800
ret
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
add esp, 0x800
ret
Function at 0x405690
Capabilities:
Accept command line arguments
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43cb10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_4
xor ebx, ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bb10
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040bc40
test eax, eax
je 0x4056e3
mov esi, dword [esp + 0x38]
cmp esi, ebx
jne 0x405716
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0040bba0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea ecx, [esp + 0x18]
call fcn.0040bd40
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push 8
push 0x44b6b4
call fcn.0040bc50
mov eax, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x640d
mov dword [esp + 0x14], ecx
mov ecx, dword [eax - 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
push ebx
lea edx, [ecx + ecx + 2]
push 0x4a
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0040bba0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x4057a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push edi
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 8]
pop edi
cmp eax, 5
jne 0x4057e5
mov eax, dword [esp + 8]
test eax, eax
jne 0x4057e5
mov eax, 1
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x4057f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push edi
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [esp + 8]
pop edi
cmp edx, 6
sbb eax, eax
inc eax
add esp, 0x114
ret

Function at 0x405a80
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x405a8d
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405ab8
push esi
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x405ab8
call fcn.0043a1e0
push eax
push esi
call fcn.0043a1f0
add esp, 8
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x405ac0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x44fe90]
sub esp, 0x800
test eax, eax
je 0x405add
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x405bc0
push esi
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x405b1a
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x405b09
lea eax, [esp + 8]
push str.MiniUI.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
pop esi
je 0x405b6c
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405b70
lea ecx, [esp]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x405b70
call fcn.0043a1e0
lea edx, [esp]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x405b7b
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
jne 0x405b8b
add esp, 0x800
ret
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x405bc0
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
xor eax, eax
add esp, 0x800
ret
call eax
add esp, 0x800
ret

Function at 0x405bd0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x44fe90]
sub esp, 0x800
test eax, eax
je 0x405bed
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x405ccb
push esi
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x405c2a
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x405c19
lea eax, [esp + 8]
push str.MiniUI.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
pop esi
je 0x405c7c
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405c80
lea ecx, [esp]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x405c80
call fcn.0043a1e0
lea edx, [esp]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x405c8b
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x405cc0
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x405ccb
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
xor eax, eax
add esp, 0x800
ret 0xc
call eax
test eax, eax
je 0x405cc0
mov ecx, dword [esp + 0x80c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x80c]
push ecx
mov ecx, dword [esp + 0x80c]
push ecx
push eax
call dword [edx + 0x5c]
add esp, 0x800
ret 0xc
Function at 0x4075a0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1800
call fcn.00439c20
push esi
mov esi, dword [esp + 0x180c]
test esi, esi
push edi
jne 0x4075c2
pop edi
xor eax, eax
pop esi
add esp, 0x1800
ret
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
test eax, eax
je 0x4075b7
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x808]
push esi
rep stosd dword es:[edi], eax
mov word [esp + 0xc], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x40764d
mov edx, dword [esp + 0x180c]
lea ecx, [esp + 0x808]
push 0x800
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x808]
push esi
lea edx, [esp + 0x80c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x808]
push 0x400
lea ecx, [esp + 0xc]
push eax
push ecx
jmp 0x407658
push 0x400
lea edx, [esp + 0xc]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x1800
ret
Function at 0x408110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e20
push 0x439c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x206c
call fcn.00439c20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x830]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x830]
test eax, eax
je 0x4081f9
xor ebx, ebx
mov word [ebp - 0x830], bx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x4081fb
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x207c]
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4081e1
push 0x800
lea ecx, [ebp - 0x207c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x207c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea ecx, [ebp - 0x207c]
push ecx
lea edx, [ebp - 0x207c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x400
lea eax, [ebp - 0x207c]
push eax
lea ecx, [ebp - 0x830]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x4081fb
push 0x400
push esi
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x4081fb
xor ebx, ebx
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x1074]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1078], 0x44
lea ecx, [ebp - 0x1078]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x104c], 1
mov dx, word [ebp + 0x14]
mov word [ebp - 0x1048], dx
push 0x400
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x400
push 0x44b9d8
lea edx, [ebp - 0x1030]
push edx
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
call esi
push 0x400
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call esi
add esp, 0x24
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1078]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1030]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x4082e6
cmp dword [ebp + 0x18], ebx
je 0x4082c7
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0x24]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov edx, dword [ebp - 0x28]
push edx
call edi
jmp 0x4082e6
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret