Function at 0x4ce220
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567905
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 8]
push 0x2e
push dword [esi]
call fcn.0052387a
add esp, 8
test eax, eax
je 0x4ce57e
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x4ce57e
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040d090
mov dword [ebp - 4], 0
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4ce593
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x1c]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.004087a0
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x4ce2ca
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0x44
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
push edx
lea edx, [ebp - 0x88]
mov eax, edi
push edx
cmp dword [edi - 0xc], ecx
push 0
push 0
cmove eax, ecx
mov ecx, dword [ebp - 0x28]
push 0x8000008
push 0
push 0
mov ecx, dword [ecx + 0xc]
push 0
push eax
xor eax, eax
cmp dword [ecx - 0xc], eax
cmovne eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ce37c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
cmp byte [ebp - 0x30], 0
je 0x4ce3be
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test eax, eax
je 0x4ce3be
mov byte [ebp - 0x30], 0
jmp 0x4ce3be
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
cmp byte [ebp - 0x30], 0
je 0x4ce3be
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
movzx ecx, byte [ebp - 0x30]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x30], cl
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], 1
call fcn.00492b20
or esi, 0xffffffff
test al, al
je 0x4ce3e1
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4ce511
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4ce593
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004bd9b0
add esp, 4
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4ce593
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov edx, 0xca
lea ecx, [ebp - 0x24]
call fcn.004bb060
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.0052387a
add esp, 8
test eax, eax
jne 0x4ce45b
or eax, 0xffffffff
jmp 0x4ce460
sub eax, dword [ebp - 0x14]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x14]
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0040d150
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x20]
push esi
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp - 0x24]
push eax
call fcn.004087a0
add esp, 0x10
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce4a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x18]
call fcn.0049c7c0
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce4d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce4f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce511
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ce52e
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x18]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4ce549
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4ce568
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408fc0
int3