Function at 0x48821c
Capabilities:
Create process on windows
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x488224
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c8c
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x488511
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov dword [eax + 0x364], 0x6e9cec
mov dword [eax + 0x368], 0
mov eax, dword [esi]
add eax, 0x391
mov edx, dword [ebp - 4]
call fcn.00404814
mov eax, ebx
xor al, 1
mov edx, dword [esi]
mov byte [edx + 0x387], al
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x330]
call fcn.0047dcc4
push 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
call fcn.00405080
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x330]
mov cl, 1
call fcn.0047ddf4
test al, al
je 0x4883bf
mov eax, dword [esi]
mov eax, dword [eax + 0x338]
mov edx, 0x64
call fcn.0047b5d4
mov eax, dword [esi]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, dword [esi]
mov eax, dword [eax + 0x338]
call fcn.0047b414
lea edx, [ebp - 0x18]
call fcn.00408b34
push dword [ebp - 0x18]
push 0x488528
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x350]
call fcn.004403c0
push dword [ebp - 0x1c]
push 0x488534
mov eax, dword [esi]
push dword [eax + 0x399]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404b5c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49ec80]
call fcn.004403f0
lea edx, [ebp - 0x20]
mov eax, dword [0x49ec80]
call fcn.004403c0
mov edx, dword [ebp - 0x20]
mov eax, dword [0x49ce98]
mov eax, dword [eax]
call fcn.0046175c
mov eax, dword [0x49ce98]
mov eax, dword [eax]
call fcn.00461b68
mov eax, dword [esi]
mov edx, dword [eax + 0x395]
lea eax, [ebp - 8]
mov ecx, 0x488540
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x4883a7
push 5
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00404c9c
push eax
push 0x48854c
mov eax, dword [esi]
call fcn.004472b4
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x49ce98]
mov eax, dword [eax]
call fcn.00461b68
mov eax, dword [esi]
call fcn.0045e014
jmp 0x4884cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00486eac
test al, al
je 0x488404
mov eax, dword [esi]
mov edx, dword [eax + 0x395]
lea eax, [ebp - 0xc]
mov ecx, 0x48855c
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x488404
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00404c9c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test bl, bl
je 0x488414
push ebp
call fcn.00488160
pop ecx
jmp 0x4884cc
mov eax, dword [esi]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
mov ecx, dword [esi]
cmp edx, dword [ecx + 0x370]
jne 0x48843c
cmp eax, dword [ecx + 0x36c]
jbe 0x48846d
jmp 0x48843e
jle 0x48846d
lea ecx, [ebp - 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x36c]
mov eax, dword [esi]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x238]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
add eax, 0x391
call fcn.00404814
jmp 0x48847e
mov eax, dword [esi]
add eax, 0x391
mov edx, 0x488570
call fcn.00404814
mov eax, dword [esi]
add dword [eax + 0x36c], 1
adc dword [eax + 0x370], 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
mov ecx, dword [esi]
cmp edx, dword [ecx + 0x370]
jne 0x4884bb
cmp eax, dword [ecx + 0x36c]
setb dl
jmp 0x4884be
setl dl
mov eax, dword [esi]
mov eax, dword [eax + 0x391]
call fcn.0048821c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488518
lea eax, [ebp - 0x24]
call fcn.004047c0
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004047e4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004047e4
lea eax, [ebp - 0x10]
call fcn.00404f10
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047e4
ret