Function at 0x4071dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x114], 1
mov dword [ebp - 4], 1
cmp dword [0x4232e8], 0
je 0x407279
mov eax, 1
jmp 0x407652
push 0
push 2
push dword [ebp + 8]
call fcn.00403812
mov dword [ebp - 0x128], eax
push 0
call fcn.00419bf0
mov dword [ebp - 0x120], eax
push 0
call fcn.00419bf0
mov dword [ebp - 0x334], eax
push dword [ebp - 0x120]
call fcn.00419c90
mov dword [ebp - 0x120], 0
push 0
call fcn.00419bf0
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x114], 0
je 0x407327
mov dword [ebp - 0x114], 0
push 1
push dword [ebp - 0x120]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x42194c
push dword [ebp + 0xc]
call fcn.0040e841
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 1
jne 0x407322
mov eax, 1
jmp 0x407652
jmp 0x407354
push 2
push dword [ebp - 0x120]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x421950
push dword [ebp + 0xc]
call fcn.0040e841
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x40736b
mov eax, 0xffffffe6
jmp 0x407652
push dword [ebp - 0x120]
call fcn.004198b0
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0x4073a0
cmp dword [ebp - 0x118], 1
jne 0x40739b
jmp 0x4075d1
jmp 0x4072a5
push dword [ebp - 0x120]
call fcn.00419930
mov dword [ebp - 0x338], eax
cmp dword [ebp - 0x338], 0
jne 0x4073d5
cmp dword [ebp - 0x118], 1
jne 0x4073d0
jmp 0x4075d1
jmp 0x4072a5
test byte [ebp - 0x33c], 0x20
jne 0x4073e7
jmp 0x4072a5
push dword [ebp - 0x338]
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407419
push dword [ebp - 0x340]
call fcn.0040a0a1
test eax, eax
je 0x407419
jmp 0x4072a5
push dword [ebp - 0x338]
call fcn.0040a0a1
test eax, eax
jne 0x407431
jmp 0x4072a5
test byte [ebp - 0x33c], 2
je 0x40745c
push 1
push 1
push 0xffffffffffffffff
push dword [ebp - 0x338]
call fcn.00410dfb
mov dword [ebp - 0x11c], eax
xor eax, eax
jmp 0x407652
push 0
push 1
push 0xffffffffffffffff
push dword [ebp - 0x338]
call fcn.00410dfb
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jle 0x407485
jmp 0x4072a5
cmp dword [ebp - 0x11c], 0
jge 0x40749a
inc dword [ebp - 8]
jmp 0x4072a5
push dword [ebp - 0x338]
call fcn.00407e9f
add esp, 4
test eax, eax
je 0x4075a9
push dword [ebp - 0x338]
call fcn.00406d02
add esp, 4
test eax, eax
je 0x4075a9
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x338]
call fcn.0040c942
push 0x421954
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x407569
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba51
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x338]
call fcn.0040b3af
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ba10
push dword [ebp - 0x338]
push str.__s___UNREGSERVER
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x407558
mov dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
jmp 0x407577
push dword [ebp - 0x338]
call fcn.00406f39
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407584
inc dword [ebp - 8]
push dword [ebp - 0x338]
push dword [ebp - 0x334]
call fcn.00419990
test eax, eax
jne 0x4075a4
xor eax, eax
jmp 0x407652
jmp 0x4075ba
push 1
push 1
push 0
push dword [ebp - 0x338]
call fcn.00410dfb
cmp dword [ebp - 0x118], 1
jne 0x4075cc
jmp 0x4075d1
jmp 0x4072a5
push dword [ebp - 0x334]
call fcn.004198b0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x407637
push 1
push dword [ebp - 0x124]
push dword [ebp + 8]
call fcn.0040717e
add esp, 0xc
test eax, eax
jne 0x407621
push dword [ebp - 0x124]
call fcn.00408a1e
cmp eax, 0xffffffff
jne 0x407621
inc dword [ebp - 8]
push dword [ebp - 0x334]
call fcn.00419930
mov dword [ebp - 0x124], eax
jmp 0x4075e2
cmp dword [ebp - 8], 0
jle 0x407648
xor eax, eax
jmp 0x407652
mov eax, 1
jmp 0x407652
pop edi
pop esi
pop ebx
leave
ret 8