Function at 0x59d000
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c05eb
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x5e4310]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5f3764]
and eax, 1
jne 0x59d094
mov ecx, dword [0x5f3764]
or ecx, 1
mov dword [0x5f3764], ecx
mov dword [ebp - 4], 0
push 0x5e660c
lea ecx, [ebp - 0x1ec]
call fcn.00587520
mov byte [ebp - 4], 1
push 1
push 0x5f37b4
lea edx, [ebp - 0x1ec]
push edx
call fcn.005a1b90
add esp, 0xc
mov dword [0x5f3760], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x1ec]
call fcn.00587700
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp dword [0x5f3760], 0
setne al
movzx ecx, al
test ecx, ecx
je 0x59d2f7
lea edx, [ebp - 0x255]
mov dword [ebp - 0x254], edx
push 0
lea ecx, [ebp - 0x1c]
call fcn.0059fe90
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.0059be10
movzx eax, al
test eax, eax
jne 0x59d212
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0059b4b0
mov byte [ebp - 4], 3
mov dword [ebp - 0x1f4], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1f0], edx
cmp dword [ebp - 0x24], 8
jb 0x59d10f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x260], eax
jmp 0x59d118
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x260], ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x204]
call fcn.0059a4e0
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x288], edx
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0059a350
mov ecx, dword [eax]
mov dword [ebp - 0x284], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x278], ecx
xor edx, edx
mov byte [ebp - 0x261], dl
mov al, byte [ebp - 0x264]
mov byte [ebp - 0x262], al
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x274], edx
mov al, byte [ebp - 0x261]
push eax
mov cl, byte [ebp - 0x262]
push ecx
mov dl, byte [ebp - 0x263]
push edx
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x28c]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005a3e60
add esp, 0x20
mov word [ebp - 0x20e], 0
lea edx, [ebp - 0x20e]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0059db50
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.0058e430
mov ecx, dword [ebp + 0xc]
call fcn.0059be10
movzx eax, al
test eax, eax
je 0x59d22d
mov dword [ebp - 0x2ac], 0
jmp 0x59d268
cmp dword [ebp - 0x18], 0
jne 0x59d23f
mov dword [ebp - 0x344], 0
jmp 0x59d24d
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sar ecx, 1
mov dword [ebp - 0x344], ecx
cmp dword [ebp - 0x344], 0
ja 0x59d25b
call fcn.005ada13
xor edx, edx
shl edx, 1
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x2ac], edx
mov ecx, dword [ebp + 0x24]
call fcn.0059ba30
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp + 0x20]
call fcn.0059bd10
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp + 8]
call fcn.0059ba30
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp + 0x1c]
or ecx, 0x400
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
call dword [0x5f3760]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0059ff50
mov eax, dword [ebp - 0x214]
jmp 0x59d5c8
lea ecx, [ebp - 0x2bd]
mov dword [ebp - 0x2bc], ecx
push 0
lea ecx, [ebp - 0x1b4]
call fcn.0059fb30
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
call fcn.0059be10
movzx edx, al
test edx, edx
jne 0x59d4c1
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0059ad70
mov byte [ebp - 4], 5
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x1b8], 0x10
jb 0x59d36a
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x2c8], edx
jmp 0x59d376
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x1d0]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x22c]
call fcn.0058f0c0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x300], ecx
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.00592350
mov ecx, dword [eax]
mov dword [ebp - 0x2fc], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2f8], edx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x2f0], ecx
xor edx, edx
mov byte [ebp - 0x2c9], dl
mov al, byte [ebp - 0x2cc]
mov byte [ebp - 0x2ca], al
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2dc], edx
mov al, byte [ebp - 0x2c9]
mov byte [ebp - 0x2ea], al
mov cl, byte [ebp - 0x2cb]
mov byte [ebp - 0x2e9], cl
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x2e8], edx
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ecx
jmp 0x59d45b
mov edx, dword [ebp - 0x2e0]
add edx, 1
mov dword [ebp - 0x2e0], edx
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x2d4]
je 0x59d47d
mov ecx, dword [ebp - 0x2e0]
push ecx
mov ecx, dword [ebp - 0x2e4]
call fcn.0059da30
jmp 0x59d44c
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x235], 0
lea ecx, [ebp - 0x235]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.0059da30
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x1d0]
call fcn.00587700
mov edx, dword [ebp + 0x28]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0059c2f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
call fcn.0059be10
movzx eax, al
test eax, eax
je 0x59d4ef
mov dword [ebp - 0x348], 0
jmp 0x59d530
cmp dword [ebp - 0x1b0], 0
jne 0x59d504
mov dword [ebp - 0x34c], 0
jmp 0x59d516
mov ecx, dword [ebp - 0x1ac]
sub ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x34c], ecx
cmp dword [ebp - 0x34c], 0
ja 0x59d524
call fcn.005ada13
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x348], edx
mov eax, dword [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.0059b770
push eax
mov ecx, dword [ebp + 0x20]
call fcn.0059bcf0
push eax
mov edx, dword [ebp + 0x1c]
and edx, 0xfffffbff
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp + 8]
call fcn.0059b770
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa0]
call fcn.0058ddc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.0058ddc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x160]
call fcn.0058ddc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.0059fbf0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005ab685
mov esp, ebp
pop ebp
ret