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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x5cf024]
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.0051f59b
add esp, 8
test eax, eax
je 0x4cb7e4
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x4cb7e4
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040d130
mov dword [ebp - 4], 0
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4cb7f9
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.00408670
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x4cb54a
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 0x4cb5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
jmp 0x4cb602
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 0x4cb624
call fcn.004c7ed0
mov eax, dword [0x5d53cc]
test eax, eax
je 0x4cb624
lea ecx, [ebp - 0x34]
push ecx
call eax
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], 1
call fcn.00491da0
or esi, 0xffffffff
test al, al
je 0x4cb647
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4cb777
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4cb7f9
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.004bbf30
add esp, 4
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4cb7f9
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.004b9690
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.0051f59b
add esp, 8
test eax, eax
jne 0x4cb6c1
or eax, 0xffffffff
jmp 0x4cb6c6
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.0040d1f0
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.00408670
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 0x4cb70d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x18]
call fcn.0049b6c0
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 0x4cb73a
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 0x4cb759
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 0x4cb777
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 0x4cb794
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 0x4cb7af
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 0x4cb7ce
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.00408f80
int3