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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5a2300
sub esp, 0x9c
mov eax, 0
lea edi, [esp + 0x7c]
call fcn.0044bed8
lea eax, [0x60f792]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5a22de
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.strings.ToLower
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x60ec25]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call dbg.strings.Split
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5a1de5
inc edx
mov ecx, dword [esp + 0x58]
cmp edx, eax
jge 0x5a1eee
lea edi, [ecx + edx*8]
mov ecx, dword [edi + 4]
mov edi, dword [edi]
test ecx, ecx
je 0x5a1de0
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], esi
movzx eax, byte [edi]
cmp al, 0x2e
jne 0x5a1ea3
lea eax, [esi + 1]
cmp eax, ebp
jg 0x5a1e5b
lea edx, [ebx + esi*8 + 4]
mov dword [edx], ecx
mov ecx, dword [0x74e1b0]
lea edx, [ebx + esi*8]
test ecx, ecx
jne 0x5a1e35
mov dword [edx], edi
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x3c]
jmp 0x5a1de0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ebp
mov dword [esp], edx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
jmp 0x5a1e29
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edi
lea ecx, [0x5d33a0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
jmp 0x5a1e14
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebp
mov dword [esp], 0
lea eax, [0x60ec1f]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call dbg.runtime.concatstring2
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
jmp 0x5a1e0d
mov dword [esp + 0x24], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea edx, [0x60edcd]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.strings.ContainsAny
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5a21b3
lea edi, [esp + 0x6c]
lea esi, [0x640c70]
call fcn.0044c3c8
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call dbg.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 + 0x54]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x5a2188
lea eax, [0x60f0dc]
mov dword [esp], eax
mov dword [esp + 4], 4
call dbg.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.path/filepath.SplitList
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x5a2001
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x5a20da
mov dword [esp + 0x38], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x68], ebx
lea ebp, [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call dbg.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 + 0x54]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x5a1ff2
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
lea eax, [0x5e3740]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x5a216f
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [0x73c7f8]
mov edx, dword [0x73c7fc]
mov dword [eax + 8], ecx
mov ecx, dword [0x74e1b0]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x5a215d
mov dword [eax + 0xc], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x641290]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x5a212c
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x5a210d
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
je 0x5a22b3
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea eax, [0x5e3740]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x5a229a
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x74e1b0]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x5a2284
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x641290]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x5a2253
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x5a2238
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
lea edi, [esp + 0x7c]
lea esi, [0x642a60]
call fcn.0044c3a0
mov esi, 4
lea ebx, [esp + 0x7c]
mov ebp, 4
jmp 0x5a1eee
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.LookPath