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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x46dbb7
sub esp, 0x100
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x104]
xor ebx, ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov ebp, dword [eax + 0x58]
cmp ebp, 0
je 0x46d1f4
mov dword [esp], eax
add eax, 0x70
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x104]
mov dword [esp], eax
cmp eax, 0
je 0x46d1f0
add eax, 0x7c
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46d1ec
mov ebp, dword [ebx + 0x58]
mov dword [esp + 0x108], ebp
mov ebp, dword [ebx + 0x5c]
mov dword [esp + 0x10c], ebp
add esp, 0x100
ret
mov dword [ebx], eax
jmp 0x46d1d1
mov dword [eax], eax
jmp 0x46d1a8
cld
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
add eax, 0x20
lea edi, [esp + 8]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
call dbg.os/exec.lookExtensions
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], eax
cmp eax, 0
je 0x46d2c5
mov ebx, dword [esp + 0x104]
mov dword [esp], ebx
mov eax, dword [esp + 0x104]
cmp eax, 0
je 0x46d2c1
add eax, 0x70
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x104]
mov dword [esp], eax
cmp eax, 0
je 0x46d2bd
add eax, 0x7c
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10c], ebx
add esp, 0x100
ret
mov dword [eax], eax
jmp 0x46d283
mov dword [eax], eax
jmp 0x46d257
mov ebx, dword [esp + 0x104]
mov dword [ebx + 4], ecx
cmp byte [0xb3d87c], 0
jne 0x46dba6
mov dword [ebx], edx
mov ebx, dword [esp + 0x104]
mov ebp, dword [ebx + 0x50]
xor ebx, ebx
cmp ebp, ebx
je 0x46d394
mov ebx, 0x563b20
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x15
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp], 0x52c7c0
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x50]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x4c]
cmp byte [0xb3d87c], 0
jne 0x46d382
mov dword [eax], ebp
mov dword [esp + 0x40], eax
mov eax, dword [0xb3d8a0]
xor ebp, ebp
cmp eax, ebp
je 0x46d360
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0x100
ret
mov dword [esp], 0x52a000
mov dword [esp + 4], 0x524ae0
mov dword [esp + 8], 0xb3d8a0
call dbg.runtime.typ2Itab
mov eax, dword [esp + 0xc]
jmp 0x46d347
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
jmp 0x46d337
xor edx, edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
lea edx, [esp + 0xb8]
cmp edx, 0
je 0x46db9f
mov dword [esp + 0xd4], 3
mov dword [esp + 0xd8], 3
mov eax, 0x58610c
mov dword [esp + 0xd0], edx
cmp byte [0xb3d87c], 0
jne 0x46db87
mov dword [edx], eax
mov eax, 0x586110
mov ebx, edx
add ebx, 4
cmp byte [0xb3d87c], 0
jne 0x46db6f
mov dword [ebx], eax
mov eax, 0x586108
mov ebx, edx
add ebx, 8
cmp byte [0xb3d87c], 0
jne 0x46db57
mov dword [ebx], eax
xor ecx, ecx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x28], ebx
mov eax, edx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jge 0x46d548
mov dword [esp + 0x3c], eax
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x104]
mov dword [esp], ebx
mov ebx, dword [edx]
call ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], eax
cmp eax, 0
je 0x46d4f6
mov ebx, dword [esp + 0x104]
mov dword [esp], ebx
mov eax, dword [esp + 0x104]
cmp eax, 0
je 0x46d4f2
add eax, 0x70
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x104]
mov dword [esp], eax
cmp eax, 0
je 0x46d4ee
add eax, 0x7c
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10c], ebx
add esp, 0x100
ret
mov dword [eax], eax
jmp 0x46d4b4
mov dword [eax], eax
jmp 0x46d488
mov ebx, dword [esp + 0x104]
mov edx, dword [ebx + 0x64]
mov ebp, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov eax, ebp
inc ebp
cmp ebp, ecx
ja 0x46dae1
mov dword [ebx + 0x68], ebp
mov ebx, edx
mov ebp, eax
imul ebp, ebp, 4
add ebx, ebp
mov ebp, dword [esp + 0x30]
cmp byte [0xb3d87c], 0
jne 0x46dad0
mov dword [ebx], ebp
mov eax, dword [esp + 0x3c]
add eax, 4
mov ecx, dword [esp + 0x2c]
inc ecx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jl 0x46d439
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46dac9
mov esi, dword [ebx + 0x64]
mov ebp, dword [ebx + 0x68]
mov dword [esp + 0xb0], ebp
mov edx, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46dac2
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0xa0], ebp
mov edi, dword [ebx + 0x44]
mov ebp, dword [ebx + 0x48]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xb4], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa4], edi
mov ebp, dword [esp + 0x2c]
add ebp, edi
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x2c]
sub ebp, edx
cmp ebp, 0
jle 0x46d60f
mov dword [esp], 0x505380
mov dword [esp + 0x94], esi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice_n
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x1c]
mov dword [esp], 0x5432c0
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x2c]
add ebp, edi
mov dword [esp + 0x9c], edx
cmp ebp, edx
ja 0x46dabb
cmp eax, ebp
ja 0x46dabb
sub ebp, eax
sub edx, eax
mov dword [esp + 0x94], esi
mov ecx, esi
cmp edx, 0
je 0x46d65c
imul eax, eax, 4
add ecx, eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x18], ebx
call dbg.runtime.typedslicecopy
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa4]
add ebp, ebx
cmp ebp, edx
ja 0x46dab4
mov ebx, dword [esp + 0x104]
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], edx
mov ebp, dword [esp + 0x94]
cmp byte [0xb3d87c], 0
jne 0x46daa0
mov dword [ebx + 0x64], ebp
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x104]
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ebp, dword [eax + 0xc]
cmp ebp, 0
jle 0x46da2b
mov ebp, dword [eax + 8]
mov dword [esp + 0x7c], ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x80], ebp
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x84], ebp
mov ebx, dword [esp + 0x104]
mov dword [esp], ebx
call dbg.os/exec.(*Cmd).envv
mov ebx, dword [esp + 4]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ebx
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0044cee7
lea ebx, [esp + 0xdc]
mov edx, ebx
mov esi, dword [esp + 0x104]
cmp esi, 0
je 0x46da24
add esi, 0x20
cld
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov esi, dword [esp + 0x104]
cmp esi, 0
je 0x46da1d
add esi, 0x64
mov eax, ebx
add edx, 0x14
cld
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov ebp, dword [esp + 0x88]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x8c]
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0x90]
mov dword [ebx + 0x10], ebp
mov ebx, dword [esp + 0x104]
mov ebp, dword [ebx + 0x4c]
mov dword [eax + 0x20], ebp
mov ebx, dword [esp + 0x104]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call dbg.os.StartProcess
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x68], ebx
cmp eax, 0
je 0x46da16
cmp byte [0xb3d87c], 0
jne 0x46d9fb
mov dword [eax + 0x50], ecx
mov ebx, dword [esp + 0x64]
cmp ebx, 0
je 0x46d8bd
mov dword [esp], eax
cmp eax, 0
je 0x46d8b9
add eax, 0x70
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov eax, dword [esp + 0x104]
mov dword [esp], eax
cmp eax, 0
je 0x46d8b5
add eax, 0x7c
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x10c], ebx
add esp, 0x100
ret
mov dword [eax], eax
jmp 0x46d87b
mov dword [eax], eax
jmp 0x46d84f
mov dword [esp], eax
cmp eax, 0
je 0x46d9f4
add eax, 0x70
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
call dbg.os/exec.(*Cmd).closeDescriptors
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx + 0x8c]
mov dword [esp], 0x506c80
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.runtime.makechan
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46d9ed
cmp byte [0xb3d87c], 0
jne 0x46d9d6
mov dword [ebx + 0x94], eax
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46d9cf
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x8c]
mov ebp, dword [ebx + 0x90]
mov dword [esp + 0xcc], ebp
xor ecx, ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc4], edx
mov eax, edx
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x46d9b8
mov dword [esp + 0x38], eax
mov ebp, dword [eax]
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x104]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], 8
mov eax, 0x586104
mov dword [esp + 4], eax
call dbg.runtime.newproc
mov eax, dword [esp + 0x38]
add eax, 4
mov ecx, dword [esp + 0x28]
inc ecx
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jl 0x46d976
xor ebx, ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
add esp, 0x100
ret
mov dword [ebx], eax
jmp 0x46d93f
lea esi, [ebx + 0x94]
mov dword [esp], esi
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x46d92f
mov dword [ebx], eax
jmp 0x46d91c
mov dword [eax], eax
jmp 0x46d8c9
lea esi, [eax + 0x50]
mov dword [esp], esi
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x104]
jmp 0x46d83e
mov dword [eax], eax
jmp 0x46d82e
mov dword [esi], eax
jmp 0x46d78b
mov dword [esi], eax
jmp 0x46d76d
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
cmp ecx, 0
je 0x46da9c
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebp, 0x50b9c0
mov dword [esp], ebp
call dbg.runtime.typedmemmove
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x84], ebx
jmp 0x46d716
mov dword [ecx], eax
jmp 0x46da3e
lea esi, [ebx + 0x64]
mov dword [esp], esi
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
jmp 0x46d6ca
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
mov dword [ebx], eax
jmp 0x46d578
mov dword [ebx], eax
jmp 0x46d558
mov dword [esp], ebx
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
jmp 0x46d530
mov dword [esp], 0x505380
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x104]
cmp ebx, 0
je 0x46db53
mov eax, ebp
mov dword [esp + 0x24], ebp
inc ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], ecx
mov dword [esp + 0x34], edx
cmp byte [0xb3d87c], 0
jne 0x46db37
mov dword [ebx + 0x64], edx
jmp 0x46d514
lea esi, [ebx + 0x64]
mov dword [esp], esi
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
jmp 0x46d514
mov dword [ebx], eax
jmp 0x46db15
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0xd0]
jmp 0x46d41e
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0xd0]
jmp 0x46d405
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0xd0]
jmp 0x46d3ec
mov dword [edx], eax
jmp 0x46d3bb
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
jmp 0x46d2de
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.(*Cmd).Start