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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x50e1f7
sub esp, 0xb4
lea eax, [0x63e8cf]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.Getenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x50d99f
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x68a65c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x50e103
lea edi, [esp + 0x94]
xor eax, eax
call fcn.004673d8
mov dword [esp + 0x98], 4
lea ecx, [0x63de0a]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], 4
lea ecx, [0x63de0e]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 4
lea ecx, [0x63de12]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], 4
lea ecx, [0x63de16]
mov dword [esp + 0xac], ecx
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x94]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
lea esi, [0x63dbac]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x50dc80
lea eax, [0x648944]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.syscall.Getenv
movzx eax, byte [esp + 0x10]
test al, al
je 0x50da8e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x50dc2f
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 1
lea eax, [0x68a624]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x8c], ecx
lea edx, [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x50db4e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x50dc2f
mov eax, dword [0x7ddd44]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x50dbbd
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x50dbbd
mov eax, dword [0x7ddd44]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
lea eax, [0x610900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov edx, dword [0x80b220]
test edx, edx
jne 0x50dbec
mov edx, dword [esp + 0xb8]
jmp 0x50dbfa
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x7de070]
mov ebp, dword [0x7de074]
mov dword [eax + 8], ebx
mov ebx, dword [0x80b220]
test ebx, ebx
je 0x50dc1c
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [eax + 0xc], ebp
mov ecx, eax
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
lea eax, [0x68c120]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
lea ebp, [0x63de1a]
mov dword [esp], ebp
mov dword [esp + 4], 4
call sym.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.path_filepath.splitList
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x50dda5
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x50dd63
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x610900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x50dcfd
mov ecx, dword [esp + 0xb8]
jmp 0x50dd0b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x50dd24
mov ecx, dword [esp + 0x5c]
jmp 0x50dd2f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x68c120]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
mov ebx, dword [esp + 0x48]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x50e030
mov dword [esp + 0x48], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x7c], ebx
lea ebp, [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50dd96
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x50deee
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call sym.os.Lstat
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
call sym.os.Lstat
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x50dffd
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x50dffd
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call sym.os.SameFile
movzx eax, byte [esp + 0x10]
test al, al
je 0x50dffd
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.path_filepath.IsAbs
movzx eax, byte [esp + 8]
test al, al
jne 0x50dfca
mov eax, dword [0x7ddd44]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x50df29
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x50dfbc
lea eax, [0x610900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x50df58
mov ecx, dword [esp + 0xb8]
jmp 0x50df66
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x7de070]
mov edx, dword [0x7de074]
mov dword [eax + 8], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
je 0x50df88
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc4], ecx
lea ecx, [0x68c120]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [0x7ddd44]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x50e0cf
lea eax, [0x610900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x50e06b
mov ecx, dword [esp + 0xb8]
jmp 0x50e079
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x7de078]
mov edx, dword [0x7de07c]
mov dword [eax + 8], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
je 0x50e09b
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x68c120]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
inc edx
mov eax, dword [esp + 0x50]
cmp edx, ecx
jge 0x50e1ec
lea edi, [eax + edx*8]
mov eax, dword [edi + 4]
test eax, eax
je 0x50e0fe
mov dword [esp + 0x48], edx
mov edi, dword [edi]
cmp byte [edi], 0x2e
je 0x50e16e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp], 0
lea ecx, [0x68a624]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
inc esi
cmp ebx, esi
jae 0x50e1b9
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x601a80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
lea ecx, [ebp + esi*8 - 4]
mov dword [ecx], eax
mov eax, dword [0x80b220]
lea ecx, [ebp + esi*8 - 8]
test eax, eax
je 0x50e1e1
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x48]
mov edi, eax
mov dword [ecx], edi
mov ecx, dword [esp + 0x28]
jmp 0x50e0fe
mov eax, esi
mov ecx, ebx
mov edx, ebp
jmp 0x50da1e
call sym.runtime.morestack_noctxt
jmp sym.os_exec.LookPath