Function at 0x507804
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x507cb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.004088e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040951c
mov eax, dword [ebp - 8]
mov edx, 0x507cc8
call fcn.00403f34
je 0x5078a7
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.004088e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040951c
mov eax, dword [ebp - 8]
mov edx, 0x507cd8
call fcn.00403f34
je 0x5078a7
push 1
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.00403fe8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
call fcn.0043832c
jmp 0x507c95
xor edx, edx
push ebp
push 0x507c8e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x39d], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov dl, 1
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.00441558
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
xor edx, edx
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov edx, 0x507ce8
call fcn.00441344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, 0x507d04
call fcn.00441344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov dl, 1
call fcn.0044122c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b0]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x507d20
call fcn.00409f10
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00441344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
add eax, 0x4090
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3ac]
call fcn.00403bfc
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
mov eax, dword [eax + 0x4090]
mov edx, 0x507d40
call fcn.00409388
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
add eax, 0x40a0
call fcn.00403bfc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
add eax, 0x40a4
call fcn.00403ba8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
mov dword [eax + 0x38], 0xea60
xor edx, edx
mov dword [eax + 0x40b8], edx
mov dword [eax + 0xc], 2
xor eax, eax
push ebp
push 0x507a28
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3bc]
mov dl, 1
mov eax, dword [0x40f610]
call fcn.00413c48
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c8]
mov dword [edx + 0x40e8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507a4e
xor eax, eax
push ebp
push 0x507a84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
xor edx, edx
call fcn.0050322c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
call fcn.00505398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507a8e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
mov eax, dword [eax + 0x40e8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
xor edx, edx
mov dword [eax + 0x40e8], edx
test eax, eax
jne 0x507ac3
call fcn.004036bc
jmp 0x507c95
cmp dword [0x5500ec], 0
jne 0x507ad6
call fcn.004036bc
jmp 0x507c95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
xor edx, edx
call fcn.0045d59c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
xor edx, edx
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
cmp byte [eax + 0x44], 0
je 0x507b2c
mov edx, 0x507d6c
mov eax, dword [ebp - 4]
call fcn.0050722c
call fcn.004036bc
jmp 0x507c95
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c0], 1
jne 0x507b42
call fcn.004036bc
jmp 0x507c95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
cmp dword [eax + 0x40b8], 0x190
jl 0x507ba6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.0047671c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c8]
mov ecx, dword [eax + 0x40bc]
lea eax, [ebp - 8]
mov edx, 0x507d90
call fcn.00403e70
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050722c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.004092cc
call fcn.004036bc
jmp 0x507c95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.004574e8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
cdq
cmp edx, dword [esp + 4]
jne 0x507bc9
cmp eax, dword [esp]
pop edx
pop eax
je 0x507c02
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.0047671c
mov edx, 0x507da0
mov eax, dword [ebp - 4]
call fcn.0050722c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.004092cc
call fcn.004036bc
jmp 0x507c95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
xor edx, edx
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov dl, 1
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, 0x507dc4
call fcn.00441344
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3bc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.00441344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov dl, 1
call fcn.0044122c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov dl, 1
call fcn.0044122c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507c95
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.005072f8
mov eax, dword [ebp - 4]
mov byte [eax + 0x39d], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507cb7
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403bcc
ret