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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525106
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], 0x80004005
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
call fcn.004457d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x400
mov eax, dword [str.Launch.exe]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x53ae74]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x53ae78]
mov dword [ebp - 0x28], edx
mov eax, dword [0x53ae7c]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x53ae80]
mov dword [ebp - 0x20], ecx
mov dx, word [0x53ae84]
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp + 8]
call fcn.004189b0
push 0x3ff
push 0x400
lea ecx, [ebp - 0x34]
call fcn.00418d50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00428020
lea ecx, [ebp - 0x34]
call fcn.0043ff10
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00428020
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043ff10
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00428020
lea ecx, [ebp - 0x34]
call fcn.0046ade0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47388c
cmp dword [0x5725dc], 0
je 0x47388a
int3
jmp 0x4738cd
xor ecx, ecx
jne 0x47387a
lea ecx, [ebp - 0x34]
call fcn.0046ade0
push eax
call fcn.00427d00
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4738b6
cmp dword [0x5725dc], 0
je 0x4738b4
int3
jmp 0x4738cd
xor edx, edx
jne 0x4738a4
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418990
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004458f0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 4
Function at 0x475a00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x118], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x475a29
mov eax, 1
jmp 0x475aa9
mov edx, dword [ebp - 8]
mov dword [edx + 0x158], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x100], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x114], 0
jne 0x475a65
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x110], 0
jne 0x475a9a
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4774a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 8]
mov dword [eax + 8], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x47b3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5257f6
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.RunDHCPAndDNSServer
call fcn.0044a070
add esp, 4
mov eax, dword [str.360Util.dll]
mov dword [ebp - 0x43c], eax
mov ecx, dword [0x53b3e8]
mov dword [ebp - 0x438], ecx
mov edx, dword [0x53b3ec]
mov dword [ebp - 0x434], edx
mov eax, dword [0x53b3f0]
mov dword [ebp - 0x430], eax
mov ecx, dword [0x53b3f4]
mov dword [ebp - 0x42c], ecx
mov edx, dword [0x53b3f8]
mov dword [ebp - 0x428], edx
xor eax, eax
mov word [ebp - 0x424], ax
push 0x40e
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00500270
add esp, 0xc
push 0x207
lea edx, [ebp - 0x424]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47b5a9
lea ecx, [ebp - 0x424]
push ecx
call fcn.004805e0
add esp, 4
test eax, eax
je 0x47b59a
lea ecx, [ebp - 0x444]
call fcn.004703f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.00439b90
push eax
call fcn.00480480
add esp, 4
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jl 0x47b579
lea ecx, [ebp - 0x444]
call fcn.0046ade0
test eax, eax
je 0x47b579
lea ecx, [ebp - 0x444]
call fcn.0046ade0
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
je 0x47b56a
push str._lsp_start_ok
call fcn.0044a070
add esp, 4
jmp 0x47b577
push str._ILspBypass_Start_fail
call fcn.0044a070
add esp, 4
jmp 0x47b586
push str._UTIL_CreateObject_fail
call fcn.0044a070
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004bfa60
jmp 0x47b5a7
push str.UTIL_Initialize_fail
call fcn.0044a070
add esp, 4
jmp 0x47b5b6
push str.360Util.dll_do_not_exist
call fcn.0044a070
add esp, 4
call fcn.0047b280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret
Function at 0x47d8e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x47d920
push 0
push 0
call fcn.0050051c
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x47d90e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x47de40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x47de49
xor ecx, ecx
jne 0x47de49
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47de90
mov eax, dword [ebp - 0xc]
jmp 0x47deed
cmp dword [ebp - 4], 1
je 0x47dea3
cmp dword [ebp - 4], 2
je 0x47dea3
mov eax, 0xd
jmp 0x47deed
cmp dword [ebp + 0xc], 0
je 0x47dee1
cmp dword [ebp - 8], 0
je 0x47ded9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x47ded0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x47ded7
mov eax, 0xd
jmp 0x47deed
jmp 0x47dee1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x483290
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0045c650
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0045c7a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4832fb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0045c680
mov eax, dword [ebp - 0x224]
jmp 0x48338c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x483361
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00483290
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x483358
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0045c680
mov eax, dword [ebp - 0x228]
jmp 0x48338c
mov dword [ebp - 4], 0x100
jmp 0x483302
lea ecx, [ebp - 0x14]
call fcn.0045c6d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00483200
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0045c680
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 4
Function at 0x487a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x53c414
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
push edx
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x487aab
xor eax, eax
jmp 0x487b51
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x487ad7
xor eax, eax
jmp 0x487b51
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.005011e0
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00487bc0
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x489030
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.Q360APMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x489059
xor eax, eax
jmp 0x48908d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48906a
xor eax, eax
jmp 0x48908d
push 0
push str.Q360APWinClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x489088
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x489d00
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52648d
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x840], ecx
mov dword [ebp - 0x83c], 0
xor eax, eax
mov word [ebp - 0x424], ax
push 0x40e
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00500270
add esp, 0xc
xor edx, edx
mov word [ebp - 0x834], dx
push 0x40e
push 0
lea eax, [ebp - 0x832]
push eax
call fcn.00500270
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x834]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x53c9f8
lea edx, [ebp - 0x834]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x489dc7
push 0
lea edx, [ebp - 0x424]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x53ca04
lea ecx, [ebp - 0x838]
call fcn.00427f00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
push eax
push str._sconfig.ini
lea ecx, [ebp - 0x838]
push ecx
call fcn.00428670
add esp, 0xc
lea edx, [ebp - 0x838]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418970
mov eax, dword [ebp - 0x83c]
or eax, 1
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.004458f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 4
Function at 0x48a3e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
call fcn.0048a2f0
test eax, eax
je 0x48a403
xor eax, eax
jmp 0x48a517
cmp dword [ebp + 8], 0
jne 0x48a413
jmp 0x48a4ce
cmp dword [ebp + 0x10], 0
je 0x48a440
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x48a440
jmp 0x48a4ce
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x48a461
jmp 0x48a4ce
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 8]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call fcn.0050051c
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
jne 0x48a49b
jmp 0x48a4ce
cmp dword [ebp + 0x10], 0
je 0x48a4c7
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x48a514
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
je 0x48a4f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x48a514
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4915b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], str.RaCertMgrCHS.dll
mov dword [ebp - 0x38], str.RaAPAPILOC.dll
mov dword [ebp - 0x34], str.RaAPAPICHS.dll
mov dword [ebp - 0x30], str.DXGIDebug.dll
mov dword [ebp - 0x2c], str.ICSDHCPCHS.dll
mov dword [ebp - 0x28], str.ICSDHCPLOC.dll
mov dword [ebp - 0x24], str.RaCertMgrLOC.dll
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x400
lea ecx, [ebp - 0x18]
call fcn.004457d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004457d0
mov byte [ebp - 4], 1
push 0x3ff
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00418d50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
lea ecx, [ebp - 0x1c]
call fcn.0043ff10
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
mov dword [ebp - 0x44], 0
jmp 0x491697
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x10]
jge 0x491715
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + edx*4 - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
push 0x400
lea ecx, [ebp - 0x18]
call fcn.00418d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00428020
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4916e8
jmp 0x49168e
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x49170c
cmp dword [0x573570], 0
je 0x49170a
int3
jmp 0x49171c
xor ecx, ecx
jne 0x4916fa
jmp 0x49168e
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004458f0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4925a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526e18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x4925f0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004019b0
mov dword [ebp - 0x1c], eax
jmp 0x4925f7
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x4924d0
push 0
push 0
call fcn.0050051c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x497b60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00497c20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x497bd3
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x20], 0
je 0x497bd3
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00497ac0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0xc]
call fcn.004458f0
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x24
push edx
push 0x53ddc0
mov ecx, dword [ebp - 0x10]
call fcn.00497d30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x497bcc
xor eax, eax
jmp 0x497bd5
mov eax, 1
jmp 0x497bd5
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x497df0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x573544], 0
jne 0x497ea0
mov dword [ebp - 0x80c], 0x400
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x810], 0
jmp 0x497e56
mov edx, dword [ebp - 0x810]
add edx, 1
mov dword [ebp - 0x810], edx
mov eax, dword [ebp - 0x810]
cmp eax, dword [0x573540]
jge 0x497e73
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x497e47
push str.360Common.dll
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.0044e6d0
add esp, 4
mov dword [0x573544], eax
cmp dword [0x573544], 0
jne 0x497ead
xor eax, eax
jmp 0x497f23
push str.Get360CommonInstance
mov edx, dword [0x573544]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x573548], eax
push str.Get360ProductHistoryManager
mov eax, dword [0x573544]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57354c], eax
push str.Create360FireWareStateFunction
mov ecx, dword [0x573544]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x573550], eax
push str.GetFireWallState
mov edx, dword [0x573544]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x573554], eax
push str.Create360FireWareStateFunction2
mov eax, dword [0x573544]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x573558], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret
Function at 0x499780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52755f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0xac4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x30]
push ecx
push str.360APManagerApAdHocDlg.xml
mov ecx, dword [ebp - 0x34]
add ecx, 0x4c
call fcn.004db2a0
test eax, eax
jne 0x4997cf
xor eax, eax
jmp 0x499984
push 2
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
call fcn.004a1f10
mov ecx, eax
call fcn.00499190
mov ecx, dword [ebp - 0x34]
add ecx, 0x50
call fcn.004a1f10
mov ecx, eax
call fcn.00499150
push 0
push 0xaca
mov edx, dword [ebp - 0x34]
add edx, 0x54
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.00499e40
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c1560
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
push 0
push 0xac4
mov ecx, dword [ebp - 0x34]
add ecx, 0x54
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push ecx
mov ecx, edx
call fcn.00499e40
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c1560
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x58
call fcn.004d15d0
lea ecx, [ebp - 0x1c]
call fcn.004bfa60
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00498e80
mov byte [ebp - 4], 1
push 0x533314
mov ecx, dword [ebp - 0x34]
push ecx
push 0xad5
lea edx, [ebp - 0x20]
push edx
call fcn.004d9a90
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004bfa60
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.00498e80
mov byte [ebp - 4], 2
push 0x533314
mov ecx, dword [ebp - 0x34]
push ecx
push 0xad4
lea edx, [ebp - 0x24]
push edx
call fcn.004d99e0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004bfa60
mov eax, dword [ebp - 0x34]
add eax, 0x58
push eax
lea ecx, [ebp - 0x28]
call fcn.00498e80
mov byte [ebp - 4], 3
push 0x533314
mov ecx, dword [ebp - 0x34]
push ecx
push 0xac5
lea edx, [ebp - 0x28]
push edx
call fcn.004d99e0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004bfa60
mov ecx, dword [ebp - 0x34]
add ecx, 0x64
call fcn.00445980
movzx eax, al
test eax, eax
jne 0x499963
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00498e80
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x34]
add ecx, 0x64
call fcn.0046ade0
push eax
push 0xad4
lea edx, [ebp - 0x2c]
push edx
call fcn.004d9830
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004bfa60
mov ecx, dword [ebp - 0x34]
call fcn.00499bd0
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bfa60
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret