Function at 0x59ed20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x59f640
sub esp, 0xb4
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x59f5ca
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x20]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.os/exec.lookExtensions
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x59f551
mov eax, dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x59f539
mov dword [eax], ebx
mov ecx, dword [eax + 0x50]
lea ebx, [eax + 0x50]
test ecx, ecx
jne 0x59f4d7
mov dword [esp + 0x78], ebx
mov ecx, dword [eax + 0x58]
mov ebp, dword [eax + 0x5c]
test ecx, ecx
jne 0x59f424
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x624a74]
mov dword [esp + 0x84], ecx
lea ecx, [0x624a78]
mov dword [esp + 0x88], ecx
lea ecx, [0x624a70]
mov dword [esp + 0x8c], ecx
xor ecx, ecx
lea edx, [esp + 0x84]
jmp 0x59ee37
mov ebp, dword [esp + 0x74]
lea edx, [ebp + 4]
mov ebp, dword [esp + 0x38]
inc ebp
mov eax, ecx
mov ebx, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, 3
jge 0x59efb2
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [edx]
mov dword [esp], eax
mov ebx, dword [ecx]
mov edx, ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x59ef39
mov ecx, dword [esp + 0xb8]
mov ebx, dword [ecx + 0x6c]
mov ebp, dword [ecx + 0x70]
mov esi, dword [ecx + 0x74]
lea edi, [ecx + 0x6c]
mov edx, edi
lea edi, [ebp + 1]
cmp edi, esi
jg 0x59eeb3
lea esi, [ebp + 1]
mov dword [ecx + 0x70], esi
mov esi, dword [0x752a30]
lea edi, [ebx + ebp*4]
test esi, esi
jne 0x59ee9b
mov dword [ebx + ebp*4], eax
jmp 0x59ee23
mov dword [esp], edi
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xb8]
jmp 0x59ee23
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], edx
lea eax, [0x60bec0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 0x74], edx
mov edx, dword [0x752a30]
test edx, edx
jne 0x59ef10
mov dword [ebx + 0x6c], eax
mov ebp, ecx
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb8]
jmp 0x59ee83
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb8]
jmp 0x59eefc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x44]
lea ebp, [ecx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [eax + 0x6c]
mov edi, dword [eax + 0x74]
lea ebx, [eax + 0x6c]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
cmp ebp, edi
ja 0x59f3d5
cmp ebp, edi
ja 0x59f639
cmp ecx, ebp
ja 0x59f639
mov dword [esp + 0x64], esi
mov dword [esp + 0x34], edi
sub edi, ecx
mov dword [esp + 0x30], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ecx, 2
sar edi, 0x1f
and ecx, edi
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [0x60bec0]
mov dword [esp], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call dbg.runtime.typedslicecopy
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb8]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x74], eax
mov eax, dword [0x752a30]
test eax, eax
jne 0x59f3b5
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edx, edx
jle 0x59f37f
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edx
mov dword [esp], ecx
call dbg.os/exec.(*Cmd).envv
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call dbg.os/exec.dedupEnv
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x90]
mov ebx, eax
xor eax, eax
call fcn.0044bd07
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x14], ecx
call dbg.os.StartProcess
mov eax, dword [esp + 0x18]
mov ecx, dword [0x752a30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
test ecx, ecx
jne 0x59f35b
mov ecx, dword [esp + 0xb8]
mov dword [ecx + 0x50], eax
test edx, edx
jne 0x59f2f1
mov eax, dword [ecx + 0x78]
mov edx, dword [ecx + 0x7c]
mov ebx, dword [ecx + 0x80]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x94]
lea edx, [0x5cb760]
mov dword [esp], edx
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call dbg.runtime.makechan
mov eax, dword [0x752a30]
mov ecx, dword [esp + 0xb8]
lea edx, [ecx + 0x9c]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x59f2d9
mov dword [ecx + 0x9c], ebx
mov eax, dword [ecx + 0x90]
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x59f241
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], eax
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 8
lea edx, [0x624a68]
mov dword [esp + 4], edx
call dbg.runtime.newproc
mov eax, dword [esp + 0x60]
add eax, 4
mov ecx, dword [esp + 0x34]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x59f200
mov eax, dword [ecx + 0x58]
test eax, eax
jne 0x59f269
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xb4
ret
lea eax, [0x5cbb20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call dbg.runtime.makechan
mov eax, dword [0x752a30]
mov ecx, dword [esp + 0xb8]
lea edx, [ecx + 0xa0]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x59f2c4
mov dword [ecx + 0xa0], ebx
mov dword [esp + 8], ecx
mov dword [esp], 4
lea eax, [0x624a6c]
mov dword [esp + 4], eax
call dbg.runtime.newproc
jmp 0x59f24c
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xb8]
jmp 0x59f2a8
mov dword [esp], edx
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xb8]
jmp 0x59f1ec
mov eax, dword [ecx + 0x78]
mov edx, dword [ecx + 0x7c]
mov ebx, dword [ecx + 0x80]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x40]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
jmp 0x59f179
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
mov ebx, 1
lea eax, [esp + 0x7c]
mov edx, 1
jmp 0x59f06d
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0xb8]
jmp 0x59f05c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
lea eax, [0x60bec0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x59efda
mov eax, dword [ecx + 0x18]
mov dword [esp], ebp
call eax
mov dword [esp], 0
call dbg.runtime.selectnbrecv
movzx eax, byte [esp + 8]
test al, al
jne 0x59f451
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x78]
jmp 0x59edd0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
lea eax, [0x5e00a0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x59f51d
lea ecx, [0x616210]
mov dword [eax], ecx
lea ecx, [0x70fa70]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
lea ecx, [0x616210]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
jmp 0x59f502
mov dword [esp], eax
mov dword [esp + 4], ebx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xb8]
jmp 0x59edb0
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x48]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.(*Cmd).Start