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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x57ca5d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0x11], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405944
mov eax, dword [ebp + 8]
call fcn.00405944
xor eax, eax
push ebp
push 0x57cfea
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x57cfa3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x51d1e8]
call fcn.0051d474
test al, al
je 0x57cad2
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov esi, dword [eax + 0x314]
cmp esi, 2
je 0x57cac8
mov eax, dword [0x5bf9c8]
cmp esi, 3
jne 0x57cad2
mov eax, dword [0x51d1e8]
call fcn.0051d580
mov eax, dword [0x578674]
call fcn.00579484
push 0
push 0
push 0x10
call fcn.00550158
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x587c48]
call fcn.00588534
mov eax, dword [0x57ea40]
call fcn.0057ee24
call fcn.0055d0e8
mov eax, dword [0x550a8c]
call fcn.005540e4
mov eax, dword [0x556aa0]
call fcn.00556db0
mov eax, ebx
call fcn.0057e8a8
mov eax, dword [0x5bf974]
cmp dword [eax], 0
je 0x57cb49
mov eax, dword [0x5bf974]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
je 0x57cb49
mov eax, dword [0x5bf974]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
xor edx, edx
call fcn.00453440
mov eax, dword [0x5bf974]
cmp dword [eax], 0
je 0x57cb71
mov eax, dword [0x5bf974]
mov eax, dword [eax]
cmp dword [eax + 0x68], 0
je 0x57cb71
mov eax, dword [0x5bf974]
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.00453440
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp dword [eax + 0x168], 0
je 0x57cbe0
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x168]
call fcn.0040ac10
test al, al
je 0x57cbe0
xor eax, eax
push ebp
push 0x57cbd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x168]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00405954
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57cbe0
cmp byte [0x5befe4], 0
jne 0x57cc97
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403370
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
call fcn.004c3f4c
call fcn.00518e74
test al, al
je 0x57cc97
call fcn.0051925c
test al, al
jne 0x57cc97
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
mov edx, dword [ebp - 0x10]
call fcn.004058a0
jae 0x57cc97
mov eax, dword [0x5c01ec]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004a2c3c
movzx eax, byte [0x57cffc]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x57d008
mov edx, 0x57d018
mov eax, 0x57d024
call fcn.00410d98
xor eax, eax
call fcn.005a4994
add al, 0xf3
sub al, 3
jb 0x57cc78
lea eax, [ebp - 0xc]
mov edx, 0x57d164
call fcn.0040575c
push 0
push 0
movzx ecx, word [0x57cffc]
mov dl, 3
mov eax, dword [ebp - 0xc]
call fcn.0057fa74
cmp eax, 6
jne 0x57cc97
call fcn.00518f20
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp dword [eax + 0x338], 0
jle 0x57cd04
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp dword [eax + 0x330], 0
je 0x57cd04
xor eax, eax
push ebp
push 0x57ccfa
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0x57d168
push 0x57d168
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
call fcn.00405954
push eax
push 0x57d16c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57cd04
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
call fcn.0040a23c
mov edx, dword [ebp - 0x24]
lea eax, [ebp + 8]
call fcn.00405528
cmp dword [ebp + 8], 0
je 0x57cd2d
mov eax, 0x5befd8
mov edx, dword [ebp + 8]
call fcn.004054e4
mov eax, dword [0x5befd8]
mov edx, 0x57d17c
call fcn.004058a0
jne 0x57cd48
mov eax, 0x5befd8
call fcn.00405490
lea edx, [ebp - 0x28]
mov eax, dword [0x5befd8]
call fcn.0040a23c
mov edx, dword [ebp - 0x28]
mov eax, 0x5befd8
call fcn.004054e4
mov byte [0x5befe4], 0
cmp dword [0x5befd8], 0
je 0x57cd84
cmp byte [0x5befe8], 0
jne 0x57cd84
mov byte [0x5befe4], 1
jmp 0x57cd8e
mov eax, 0x5befd8
call fcn.00405490
cmp byte [ebp - 0x11], 0
je 0x57cdea
mov edx, dword [ebp - 4]
mov eax, 0x57d188
call fcn.00405a98
test eax, eax
jne 0x57cdc7
mov edx, dword [ebp - 4]
mov eax, 0x57d198
call fcn.00405a98
test eax, eax
jne 0x57cdc7
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040a23c
cmp dword [ebp - 0x2c], 0
jne 0x57cde1
mov edx, dword [ebp - 4]
mov eax, 0x57d1a8
call fcn.00405a98
test eax, eax
jg 0x57cde1
mov byte [0x5befe4], 0
jmp 0x57cdf1
mov byte [0x5befe4], 1
jmp 0x57cdf1
mov byte [0x5befe4], 0
cmp byte [0x5befe4], 0
je 0x57ce31
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
cmp eax, 5
je 0x57ce17
mov edx, dword [0x5bf9c8]
cmp eax, 4
jne 0x57ce31
lea eax, [ebp - 8]
call fcn.00405490
mov eax, dword [ebp - 8]
call fcn.005a5670
call fcn.00404e94
jmp 0x57cfad
mov eax, dword [0x5bf9c8]
mov eax, dword [eax]
cmp byte [eax + 0x9f], 0
jne 0x57ce54
cmp dword [0x5befd8], 0
jne 0x57ce54
call fcn.00404e94
jmp 0x57cfad
mov eax, dword [0x57ea40]
call fcn.0057ee24
mov eax, dword [0x5bf974]
cmp dword [eax], 0
je 0x57ce9a
mov eax, dword [0x5bf974]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x57ce81
mov edx, dword [0x5bf974]
call fcn.00457384
mov eax, dword [0x5bf974]
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x57ce9a
mov edx, dword [0x5bf974]
call fcn.00457384
mov ecx, dword [0x5bf620]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x57c614]
call fcn.0045275c
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xfc]
mov eax, ebx
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57cfad
cmp dword [0x5befd8], 0
je 0x57cf75
mov eax, dword [0x5bf620]
mov eax, dword [eax]
cmp dword [eax + 0x37c], 0
je 0x57cf75
push 0x57d1c0
push dword [0x5befd8]
push 0x57d1e8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405814
mov edx, dword [ebp - 0x30]
mov eax, dword [0x5bff58]
mov eax, dword [eax]
mov cl, 1
call fcn.004a1964
lea eax, [ebp - 0x34]
mov edx, dword [0x5bf9c8]
mov edx, dword [edx]
mov edx, dword [edx + 0x358]
call fcn.00405df8
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [0x5befd8]
call fcn.00405df8
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
call fcn.00405df8
mov eax, dword [ebp - 0x3c]
push eax
push 0x57d1ec
mov eax, dword [0x5bf620]
mov eax, dword [eax]
mov eax, dword [eax + 0x37c]
push eax
push 0
call fcn.00406688
add esp, 0x18
mov byte [0x5befec], 1
mov eax, dword [0x5bfe5c]
mov eax, dword [eax]
mov ebx, dword [eax + 0x44]
test ebx, ebx
je 0x57cfa2
push 0
push 0
push 0x10
mov eax, dword [0x5bfe5c]
mov eax, ebx
call fcn.0046a764
push eax
call sub.user32.dll_PostMessageA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57cff1
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405cb4
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004054b4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004054b4
lea eax, [ebp + 8]
call fcn.00405490
ret