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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x46d121
sub esp, 0xa0
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
call dbg.path/filepath.Base
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
cmp edx, esi
jne 0x46cd4a
mov dword [esp + 0x6c], edi
mov dword [esp], edi
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call dbg.runtime.eqstring
mov esi, dword [esp + 0xa8]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x46cd4a
lea ebx, [esp + 0x90]
mov eax, ebx
mov ebp, dword [0x5868f0]
mov dword [ebx], ebp
mov ebp, dword [0x5868f4]
mov dword [ebx + 4], ebp
mov ebp, dword [0x5868f8]
mov dword [ebx + 8], ebp
mov ebp, dword [0x5868fc]
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 2
mov dword [esp + 0x74], ebx
add ebx, 8
mov dword [ebx + 4], esi
mov ebp, dword [esp + 0xa4]
cmp byte [0xb3d87c], 0
jne 0x46d10c
mov dword [ebx], ebp
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
call dbg.path/filepath.Join
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xa4], ebx
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb0]
cmp ebx, 0
jne 0x46cda3
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 4], esi
call dbg.os/exec.LookPath
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xa0
ret
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 4], esi
call dbg.path/filepath.VolumeName
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp ebx, 0
je 0x46ce17
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.os/exec.LookPath
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], edx
add esp, 0xa0
ret
cmp ecx, 1
jle 0x46ce84
cmp ecx, 0
jbe 0x46d105
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x5c
xchg ebp, eax
je 0x46d0fb
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x46d0fb
xor eax, eax
cmp al, 0
je 0x46ce84
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.os/exec.LookPath
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], edx
add esp, 0xa0
ret
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x80]
cmp eax, 0
je 0x46d0f4
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 2
mov dword [esp + 0x74], eax
mov ebp, dword [esp + 0xb0]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0xac]
cmp byte [0xb3d87c], 0
jne 0x46d0d1
mov dword [eax], ebp
mov ebx, eax
add ebx, 8
mov dword [ebx + 4], ecx
cmp byte [0xb3d87c], 0
jne 0x46d0bc
mov dword [ebx], edx
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
call dbg.path/filepath.Join
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 4], eax
call dbg.os/exec.LookPath
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
cmp eax, 0
je 0x46cf73
xor ebx, ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xa0
ret
mov dword [esp + 0x44], ebp
mov edi, ebp
mov dword [esp + 0x48], edx
mov esi, edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x40], ebx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], eax
cmp edx, eax
jl 0x46d0ae
cmp eax, edx
ja 0x46d0b5
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
cmp edx, eax
jne 0x46d0ae
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call dbg.runtime.eqstring
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x46d0ae
mov eax, 1
cmp al, 0
je 0x46d0a8
mov ecx, dword [esp + 0x40]
cmp ecx, esi
ja 0x46d0a1
mov edx, esi
sub edx, ecx
mov eax, edi
cmp edx, 0
je 0x46d036
add eax, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp], 0
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], eax
call dbg.runtime.concatstring2
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xb8], ebx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
add esp, 0xa0
ret
call dbg.runtime.panicslice
ud2
mov ecx, edi
mov eax, esi
jmp 0x46d03a
xor eax, eax
jmp 0x46d018
call dbg.runtime.panicslice
ud2
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x74]
jmp 0x46cefd
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
jmp 0x46cee6
mov dword [eax], eax
jmp 0x46ceb2
mov eax, 1
jmp 0x46ce40
call dbg.runtime.panicindex
ud2
mov dword [esp], ebx
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x74]
jmp 0x46cd23
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.lookExtensions