joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408410
Capabilities:
Check if file exists
Copy file
Create thread
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43cf06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4c]
lea edi, [esi + 0x4c]
push eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00407760
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], 0
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408460
mov ecx, esi
call fcn.00408ad0
mov ecx, esi
call fcn.00408670
test eax, eax
mov dword [esi + 0x64], eax
jne 0x40847a
mov ecx, esi
call fcn.00408ad0
jmp 0x4085c3
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esi + 0x50]
mov byte [esp + 0x34], 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4084b0
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::operator_2
jmp 0x408534
mov eax, dword [edi]
lea edx, [esp + 0xc]
push eax
push 0
push edx
call fcn.00407760
mov eax, dword [esi + 0x50]
mov byte [esp + 0x40], 2
push eax
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00407760
add esp, 0x18
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
mov ecx, esi
call fcn.00409810
test eax, eax
jne 0x408526
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call sub.MFC42u.DLL_CString::CString
push 0x10
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x34], 4
je 0x408564
lea ecx, [edi + 8]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [edi + 0xc]
mov byte [esp + 0x34], 5
call sub.MFC42u.DLL_CString::CString_4
jmp 0x408566
xor edi, edi
lea eax, [esp + 8]
lea ecx, [edi + 8]
push eax
mov byte [esp + 0x38], 1
mov dword [edi + 4], esi
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esi + 0x54]
push ecx
lea ecx, [edi + 0xc]
call sub.MFC42u.DLL_CString::operator_2
mov edx, dword [esi + 0x8c]
lea eax, [esi + 0x88]
push eax
push 0
push edi
push 0x408300
push 0
push 0
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov dword [esi + 0x84], eax
call fcn.004099c0
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x408710
Capabilities:
Terminate process

Disassembly:
push ecx
push edi
mov edi, ecx
lea eax, [esp + 4]
mov dword [esp + 4], 0
mov ecx, dword [edi + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x40876a
push esi
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], 0
pop esi
mov eax, 1
pop edi
pop ecx
ret
mov dword [edi + 0x40], 0
mov eax, 1
pop edi
pop ecx
ret
Function at 0x409b90
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x44ffdc]
sub esp, 0x800
test eax, eax
push esi
jne 0x409c51
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 0x409be0
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44ffe0]
inc esi
cmp esi, eax
jl 0x409bcf
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 0x409c31
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409c35
lea ecx, [esp + 4]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x409c35
call fcn.0043a1e0
lea edx, [esp + 4]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x409c40
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44ffdc], eax
jne 0x409c51
pop esi
add esp, 0x800
ret
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, 1
pop esi
add esp, 0x800
ret
Function at 0x409ec0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43d024
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebp
mov dword [esp + 4], ecx
lea ebp, [ecx + 0x64]
mov dword [esp + 0x814], 0
mov dword [esp + 8], ebp
mov dword [ebp], 0x4417a0
mov eax, dword [ebp + 0x44]
mov byte [esp + 0x814], 2
test eax, eax
jne 0x40a008
mov eax, dword [0x44fe90]
test eax, eax
je 0x409f23
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x409ff8
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x409f60
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x409f4f
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
pop edi
test edx, edx
pop esi
je 0x409fb2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409fb6
lea ecx, [esp + 0xc]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x409fb6
call fcn.0043a1e0
lea edx, [esp + 0xc]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x409fc1
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x40a008
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x409ff8
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x40a008
call eax
test eax, eax
je 0x40a008
mov edx, dword [eax]
lea ecx, [ebp + 0x44]
push ecx
push eax
call dword [edx + 0x58]
lea ecx, [ebp + 0x40]
mov byte [esp + 0x814], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, ebp
mov byte [esp + 0x814], 0
call sub.MFC42u.DLL_CStatic::CStatic
mov ecx, dword [esp + 4]
mov dword [esp + 0x814], 0xffffffff
call sub.MFC42u.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x80c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x40c830
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1414
call fcn.00439c20
push esi
push edi
xor esi, esi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], si
mov dword [esp + 8], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
test eax, eax
je 0x40c8fc
mov ecx, str.modules360Inst.exe
mov word [esp + 0xc], si
test ecx, ecx
je 0x40c8fc
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x41c]
push str.modules360Inst.exe
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x40c8e4
lea edx, [esp + 0x41c]
push 0x800
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x41c]
push str.modules360Inst.exe
lea edx, [esp + 0x420]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x41c]
push 0x208
lea ecx, [esp + 0x10]
push eax
push ecx
jmp 0x40c8f3
push 0x208
lea edx, [esp + 0x10]
push str.modules360Inst.exe
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c93a
lea ecx, [esp + 0xc]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
je 0x40c93a
mov esi, dword [esp + 0x1420]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
add esp, 0x1414
ret
mov esi, dword [esp + 0x1420]
push 0x44fff8
mov ecx, esi
call fcn.004398ec
mov eax, esi
pop edi
pop esi
add esp, 0x1414
ret
Function at 0x40ce10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442240
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 0x40cef9
xor ebx, ebx
mov word [ebp - 0x830], bx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x40cefb
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 0x40cee1
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 0x40cefb
push 0x400
push esi
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x40cefb
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 0x40cfe6
cmp dword [ebp + 0x18], ebx
je 0x40cfc7
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 0x40cfe6
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
Function at 0x40d470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d4f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 3
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 4
call sub.MFC42u.DLL_CString::CString_4
mov cl, byte [esp + 0xb]
mov dword [esi + 0x3c], edi
mov byte [esi + 0x38], cl
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x34], edi
mov dword [esi], 0x442250
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40d570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x442250
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ebp, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
cmp edi, ebp
mov dword [esp + 0x10], edi
je 0x40d5db
lea ecx, [edi + 0x14]
mov byte [esp + 0x20], 6
call sub.MFC42u.DLL_CString::CString
push sub.MFC42u.DLL_CString::CString
push 3
lea eax, [edi + 8]
push 4
push eax
mov byte [esp + 0x30], 5
call fcn.00439c5c
add edi, 0x18
cmp edi, ebp
mov dword [esp + 0x10], edi
jne 0x40d5ac
mov eax, dword [esi + 0x3c]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esp + 0x20], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x20], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40eae0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x808
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov eax, dword [edi + 8]
cmp eax, ebp
jne 0x40eafd
mov dword [esp + 8], ebp
jmp 0x40eb09
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov dword [esp + 8], ecx
cmp dword [esp + 8], ebp
jle 0x40ec04
push ebx
push esi
mov eax, dword [edi + 8]
mov esi, dword [eax + ebp*8 + 4]
lea ebx, [eax + ebp*8]
mov eax, dword [esi - 8]
test eax, eax
je 0x40ebe7
test esi, esi
jne 0x40eb35
xor eax, eax
jmp 0x40ebe5
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x40eb5d
push esi
call fcn.00405a80
add esp, 4
test eax, eax
je 0x40ebe5
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40ebe5
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x18]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
test edx, edx
je 0x40ebd2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ebd6
lea ecx, [esp + 0x18]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x40ebd6
call fcn.0043a1e0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x40ebe1
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x40eb15
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x808
ret
pop edi
mov eax, 1
pop ebp
add esp, 0x808
ret
Function at 0x4149b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43e10b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
mov ebx, ecx
push ebp
push esi
mov dword [esp + 0xc], ebx
mov dword [ebx], 0x442428
mov eax, dword [ebx + 0x40]
lea ebp, [ebx + 0x40]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x818], esi
je 0x414ae3
mov eax, dword [0x44fe90]
cmp eax, esi
je 0x414a06
cmp dword [0x44fe94], esi
jne 0x414ad6
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x44fe98]
test eax, eax
jle 0x414a3f
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x414a2e
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
pop edi
test edx, edx
je 0x414a90
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414a94
lea ecx, [esp + 0x10]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x414a94
call fcn.0043a1e0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x414a9f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x414ae3
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x414ad6
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x414ae3
call eax
test eax, eax
je 0x414ae3
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x58]
mov ecx, ebx
mov dword [ebp], 0
mov dword [esp + 0x818], 0xffffffff
call fcn.004398f8
mov ecx, dword [esp + 0x810]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret
Function at 0x414b20
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x800
push ebx
mov ebx, ecx
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x414c2a
mov eax, dword [0x44fe90]
test eax, eax
je 0x414b52
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x414c5a
push esi
push edi
lea ecx, [esp + 0xc]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0xc]
push edx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x414b8f
lea eax, [esp + 0xc]
push eax
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x414b7e
lea ecx, [esp + 0xc]
push str.MiniUI.dll
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0xc]
pop edi
test eax, eax
pop esi
je 0x414be1
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414be5
lea edx, [esp + 4]
push edx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x414be5
call fcn.0043a1e0
push eax
lea eax, [esp + 8]
push eax
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x414bf0
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x414c25
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x414c5a
mov edx, dword [0x44fe94]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
xor eax, eax
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x40]
pop ebx
test ecx, ecx
je 0x414c51
mov eax, dword [esp + 0x804]
mov edx, dword [ecx]
push 0
and eax, 0xffff
push 0x44b9d0
push eax
mov eax, dword [0x44ff2c]
push eax
call dword [edx + 0x1c]
add esp, 0x800
ret 8
call eax
test eax, eax
je 0x414c25
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
jmp 0x414c27
Function at 0x415a80
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x44ffd8]
sub esp, 0x800
test eax, eax
jne 0x415bae
mov eax, dword [0x44ffdc]
push esi
test eax, eax
jne 0x415b46
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 0x415add
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x44ffe0]
inc esi
cmp esi, eax
jl 0x415acc
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 0x415b2e
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415b32
lea ecx, [esp + 4]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x415b32
call fcn.0043a1e0
lea edx, [esp + 4]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x415b3d
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44ffdc], eax
je 0x415ba4
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 0x415bbd
call eax
test eax, eax
je 0x415bbd
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x415bc6
xor eax, eax
add esp, 0x800
ret
mov edx, dword [esp + 0x804]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
add esp, 0x800
ret
Function at 0x416a50
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push str.360ExaminUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x416aab
mov eax, str.360ExaminUI.dll
test eax, eax
je 0x416ad6
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416a9c
push str.360ExaminUI.dll
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x416a9c
call fcn.0043a1e0
push eax
push str.360ExaminUI.dll
call fcn.0043a1f0
add esp, 8
pop esi
ret
push str.360ExaminUI.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x416ad6
push str.SetConfigCmdInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416ad6
test esi, esi
jne 0x416acb
xor ecx, ecx
push 0x800c
push ecx
call eax
pop esi
ret
mov ecx, dword [esi + 0x20]
push 0x800c
push ecx
call eax
pop esi
ret