joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x4b0f28
cmp dword [ebp + 0xc], 0
je 0x4b0f28
cmp dword [ebp + 0x10], 0
jne 0x4b0f2d
or eax, 0xffffffff
jmp 0x4b0f63
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4b11b0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x114
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b12a8
mov byte [ebp - 0x50], 0
push 0x3f
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.004ed5e0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x40
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 4]
push edx
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4b1250
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 2
movsx ecx, byte [ebp - 0x50]
sub ecx, 0x30
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
lea eax, [ebp - 0x4e]
push eax
call fcn.004f0652
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x4b12a8
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x54]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, 4
cmp edx, dword [ecx + 4]
sbb eax, eax
neg eax
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 6
ja 0x4b12c3
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 6
jne 0x4b1333
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 2
jb 0x4b1333
mov dword [ebp - 0x170], 0
push 0x110
push 0
lea edx, [ebp - 0x16c]
push edx
call fcn.004ed5e0
add esp, 0xc
mov dword [ebp - 0x170], 0x114
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4b1333
lea eax, [ebp - 0x170]
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x4b1333
push 0x114
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ec360
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret
Function at 0x4b2cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x4b2cce
xor eax, eax
jmp 0x4b2d44
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b2ce0
xor eax, eax
jmp 0x4b2d44
mov ecx, dword [ebp + 8]
push ecx
call fcn.00483650
add esp, 4
mov dword [0x55c5ac], eax
cmp dword [0x55c5ac], 0
jne 0x4b2cfe
xor eax, eax
jmp 0x4b2d44
push str.Get360CommonInstance
mov edx, dword [0x55c5ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5b0], eax
cmp dword [0x55c5b0], 0
jne 0x4b2d38
mov eax, dword [0x55c5ac]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x55c5b0], 0
xor eax, eax
jmp 0x4b2d44
mov ecx, dword [0x55c5b0]
mov dword [ebp - 4], ecx
call dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4b2dc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x55c5ac], 0
jne 0x4b2e75
mov dword [ebp - 0x80c], 0x400
push 0x400
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [0x55c5a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x810], 0
jmp 0x4b2e2b
mov eax, dword [ebp - 0x810]
add eax, 1
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 0x810]
cmp ecx, dword [0x55c5a4]
jge 0x4b2e48
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x4b2e1c
push str.360Common.dll
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x808]
push edx
call fcn.00483650
add esp, 4
mov dword [0x55c5ac], eax
cmp dword [0x55c5ac], 0
jne 0x4b2e85
xor eax, eax
jmp 0x4b2f12
push str.Get360CommonInstance
mov eax, dword [0x55c5ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5b0], eax
push str.Get360ProductHistoryManager
mov ecx, dword [0x55c5ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5b8], eax
push str.Create360FireWareStateFunction
mov edx, dword [0x55c5ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5bc], eax
push str.GetFireWallState
mov eax, dword [0x55c5ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5c0], eax
push str.Create360FireWareStateFunction2
mov ecx, dword [0x55c5ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5c4], eax
push str.GetIAdMgr
mov edx, dword [0x55c5ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c5b4], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret
Function at 0x4b3240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x56c], 0
je 0x4b328f
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b328f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x56c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x56c], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x56c], 0
jne 0x4b32cf
mov edx, dword [ebp - 8]
add edx, 0x588
push edx
mov ecx, dword [ebp - 8]
call fcn.004c51f0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4b3730
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x56c], eax
mov esp, ebp
pop ebp
ret

Function at 0x4b32e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x570], 0
je 0x4b332f
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x570]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b332f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x570]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x570], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x570], 0
jne 0x4b336f
mov edx, dword [ebp - 8]
add edx, 0x588
push edx
mov ecx, dword [ebp - 8]
call fcn.004c51f0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4b3780
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x570], eax
mov esp, ebp
pop ebp
ret

Function at 0x4b33c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x574], 0
je 0x4b340f
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x574]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b340f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x574]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x574], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x574], 0
jne 0x4b344f
mov edx, dword [ebp - 8]
add edx, 0x588
push edx
mov ecx, dword [ebp - 8]
call fcn.004c51f0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4b36d0
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x574], eax
mov esp, ebp
pop ebp
ret
Function at 0x4b3460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x57c], 0
je 0x4b34af
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b34af
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x57c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x57c], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x57c], 0
jne 0x4b34ef
mov edx, dword [ebp - 8]
add edx, 0x588
push edx
mov ecx, dword [ebp - 8]
call fcn.004c51f0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4b3520
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x57c], eax
mov esp, ebp
pop ebp
ret

Function at 0x4b35e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x578], 0
je 0x4b362f
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x578]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b362f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x578]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x578], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x578], 0
jne 0x4b366f
mov edx, dword [ebp - 8]
add edx, 0x588
push edx
mov ecx, dword [ebp - 8]
call fcn.004c51f0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4b3680
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x578], eax
mov esp, ebp
pop ebp
ret

Function at 0x4b37c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x580], 0
je 0x4b380f
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x580]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x4b380f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x580]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x580], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x580], 0
jne 0x4b383d
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x4b3850
push 0
push 0
call fcn.004e96a2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x580], eax
mov esp, ebp
pop ebp
ret
Function at 0x4b6200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x1c]
imul edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], edx
cmp dword [ebp + 0xc], 0
jne 0x4b6228
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call fcn.004b4950
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4b62db
cmp dword [ebp + 8], 0
jne 0x4b629c
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x1c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e68e6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
shl edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ec360
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b4990
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
push 0
call fcn.004aa810
push ecx
mov ecx, esp
push 0x5346f8
call fcn.004aa810
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
push ecx
call fcn.004b3a60
add esp, 0x18
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f1372
add esp, 0x10
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
cmp dword [ebp - 4], 0
je 0x4b631b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004ecc45
add esp, 4
movzx eax, byte [ebp - 5]
test eax, eax
je 0x4b636f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x1c]
push eax
push 0x18
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.004be850
push ecx
mov ecx, esp
push 0x534710
call fcn.004aa810
mov eax, dword [ebp - 0x24]
add eax, 0x20
push eax
call fcn.004b3a60
add esp, 0x18
jmp 0x4b6377
mov ecx, dword [ebp - 0x24]
call fcn.004b5260
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8
Function at 0x4c2d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x10], 0
push 0x537330
lea ecx, [ebp - 8]
call fcn.0043caa0
mov ecx, dword [ebp - 0x6c]
call fcn.004c10f0
mov dword [ebp - 0xc], 0
push str.UtilsBackCenter.zip
lea eax, [ebp - 0x44]
push eax
call fcn.004c5230
add esp, 4
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00483f90
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0043cae0
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4c2dde
mov dword [ebp - 0x34], 0
mov edx, dword [str.Abandon]
mov dword [ebp - 0x40], edx
mov eax, dword [0x5373ac]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov word [ebp - 0x38], cx
push 0
lea edx, [ebp - 0x34]
push edx
push 0xa
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.004258d0
lea ecx, [ebp - 4]
call fcn.0043cc80
test eax, eax
jle 0x4c2e42
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004cbd80
add esp, 8
push eax
lea ecx, [ebp - 0x30]
call fcn.0042ba80
lea ecx, [ebp - 0x60]
call fcn.00425990
push 0
lea ecx, [ebp - 0x30]
call fcn.00425ab0
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call fcn.0043ca80
mov ecx, dword [ebp - 0x6c]
call fcn.004c2900
test eax, eax
je 0x4c2e42
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x30]
call fcn.00425990
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 8]
call fcn.0043cae0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret
Function at 0x4c35f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004c2f40
cmp dword [ebp + 8], 0
je 0x4c3635
mov ecx, dword [ebp - 0x14]
add ecx, 0x24c
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c3635
mov ecx, dword [ebp - 0x14]
add ecx, 0x24c
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004c17e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x4c3671
cmp dword [ebp + 8], 0
je 0x4c3671
mov ecx, dword [ebp - 0x14]
call fcn.004c3920
test eax, eax
jne 0x4c3671
push 0
push 0
push 3
mov ecx, dword [ebp - 0x14]
call fcn.004c1460
cmp dword [ebp - 4], 0
jne 0x4c368b
cmp dword [ebp + 8], 0
je 0x4c368b
push 0
push 0
push 3
mov ecx, dword [ebp - 0x14]
call fcn.004c1460
cmp dword [ebp - 4], 2
jne 0x4c36a5
cmp dword [ebp + 8], 0
je 0x4c36a5
push 0
push 2
push 3
mov ecx, dword [ebp - 0x14]
call fcn.004c1460
cmp dword [ebp + 8], 0
jne 0x4c3754
cmp dword [ebp - 4], 0
je 0x4c373a
push 0x537468
lea ecx, [ebp - 8]
call fcn.0043caa0
lea ecx, [ebp - 8]
push ecx
call fcn.0048c6d0
mov ecx, eax
call fcn.0048e2c0
lea ecx, [ebp - 8]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c3716
push 0x53746c
lea ecx, [ebp - 0xc]
call fcn.0043caa0
push 1
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0043ca80
mov ecx, dword [ebp - 0x14]
call fcn.004c2050
lea ecx, [ebp - 0xc]
call fcn.0043cae0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.004c4710
mov eax, dword [ebp + 0xc]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x14]
call fcn.004c1460
lea ecx, [ebp - 8]
call fcn.0043cae0
jmp 0x4c3754
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004c4710
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 4
mov ecx, dword [ebp - 0x14]
call fcn.004c1460
mov esp, ebp
pop ebp
ret 8
Function at 0x4c3ff0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x504], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043cc80
test eax, eax
jle 0x4c4177
push 0x536a6a
lea ecx, [ebp - 0xc]
call fcn.00475470
mov dword [ebp - 8], 0
push 0
push str..zip
lea ecx, [ebp + 8]
call fcn.0043ac80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4c416f
mov eax, dword [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0x4fc]
push ecx
lea ecx, [ebp + 8]
call fcn.00468970
push eax
lea ecx, [ebp - 0xc]
call fcn.0043cb00
lea ecx, [ebp - 0x4fc]
call fcn.0043cae0
lea ecx, [ebp - 0xc]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c40a7
lea ecx, [ebp + 8]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
jmp 0x4c416f
lea ecx, [ebp - 0x3f0]
call fcn.004ddf30
push 0x104
push 0
lea edx, [ebp - 0x4f8]
push edx
call fcn.004ed5e0
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp + 8]
call fcn.0043cc80
push eax
lea ecx, [ebp + 8]
call fcn.0043cc50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004ed5e0
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xc]
call fcn.0043cc80
push eax
lea ecx, [ebp - 0xc]
call fcn.0043cc50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.004dfd70
test eax, eax
je 0x4c4164
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3f0]
call fcn.004ddfc0
lea ecx, [ebp - 0xc]
call fcn.0043cae0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x500], edx
lea ecx, [ebp + 8]
call fcn.0043cae0
mov eax, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret 4
Function at 0x4c41a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4fc], ecx
push 0x5375e0
lea ecx, [ebp - 4]
call fcn.0043caa0
lea ecx, [ebp + 0xc]
call fcn.0043cc80
test eax, eax
jle 0x4c423f
lea eax, [ebp + 0xc]
push eax
push 0x5375e4
lea ecx, [ebp + 8]
push ecx
push 0x5375e8
lea edx, [ebp - 0x4e4]
push edx
call fcn.0049e1d0
add esp, 0xc
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.00483f90
add esp, 0xc
push eax
lea ecx, [ebp - 0x4ec]
push ecx
call fcn.00468a30
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0043cb00
lea ecx, [ebp - 0x4ec]
call fcn.0043cae0
lea ecx, [ebp - 0x4e8]
call fcn.0043cae0
lea ecx, [ebp - 0x4e4]
call fcn.0043cae0
jmp 0x4c426b
lea edx, [ebp + 8]
push edx
push str._skinname
lea eax, [ebp - 0x4f0]
push eax
call fcn.0049e1d0
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0043cb00
lea ecx, [ebp - 0x4f0]
call fcn.0043cae0
push str.Utils360SkinView.exe
lea ecx, [ebp - 0x4f4]
push ecx
call fcn.004c5230
add esp, 4
push eax
lea edx, [ebp - 8]
push edx
call fcn.00483f90
add esp, 0xc
lea ecx, [ebp - 0x4f4]
call fcn.0043cae0
push 0
push 0
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
lea ecx, [ebp - 8]
call fcn.0043cc50
push eax
push 0x537648
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x4c42eb
lea ecx, [ebp - 0x4e0]
call fcn.004cc2e0
lea ecx, [ebp - 0x4e0]
call fcn.004ccd70
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x4e0]
call fcn.004cc360
mov dword [ebp - 0x22c], 0
cmp dword [ebp + 0x14], 0
je 0x4c4334
mov ecx, dword [ebp - 0x4fc]
call fcn.004c3760
mov dword [ebp - 0x22c], eax
push 0
push 0
push str._import
mov ecx, dword [ebp - 0x4fc]
add ecx, 0x248
call fcn.0043cc50
push eax
push 0x537664
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
push ecx
mov ecx, esp
lea edx, [ebp + 8]
push edx
call fcn.0043ca80
mov ecx, dword [ebp - 0x4fc]
call fcn.004c4440
push 0x218
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004ed5e0
add esp, 0xc
mov dword [ebp - 0x224], 3
mov dword [ebp - 0x228], 1
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x21c], edx
lea ecx, [ebp + 8]
call fcn.00475650
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004f19ad
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00475690
push 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x4fc]
mov eax, dword [edx + 0x564]
mov ecx, dword [ebp - 0x4fc]
mov edx, dword [ecx + 0x564]
mov eax, dword [eax]
push edx
mov ecx, dword [eax]
call ecx
lea ecx, [ebp - 8]
call fcn.0043cae0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret 0x10