Function at 0x58e050
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 0x58e610
sub esp, 0x9c
xor eax, eax
lea edi, [esp + 0x7c]
call fcn.0044bde8
lea eax, [0x5f7031]
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 0x58e5ee
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5f6594]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call dbg.strings.Split
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x58e0f1
add eax, 8
inc edx
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x58e1fe
mov edi, dword [eax]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x58e0e9
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], eax
movzx edx, byte [edi]
cmp dl, 0x2e
jne 0x58e1b3
lea edx, [esi + 1]
cmp edx, ebx
jg 0x58e169
lea eax, [ebp + esi*8 + 4]
mov dword [eax], ecx
lea eax, [ebp + esi*8]
mov ecx, dword [0x728500]
test ecx, ecx
jne 0x58e143
mov dword [eax], edi
mov eax, dword [esp + 0x58]
mov esi, edx
mov edx, dword [esp + 0x38]
jmp 0x58e0e9
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebx
mov dword [esp], eax
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
jmp 0x58e137
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], ecx
lea eax, [0x5be160]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
jmp 0x58e121
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], 0
lea eax, [0x5f658f]
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 eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
jmp 0x58e11a
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea edx, [0x5f6710]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.strings.ContainsAny
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58e4c3
lea edi, [esp + 0x6c]
lea esi, [0x625bb0]
call fcn.0044c2d8
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 0x58e498
lea eax, [0x5f6a01]
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 ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x58e310
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 8]
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 1]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x58e3ea
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], eax
mov ecx, dword [eax]
mov edx, dword [eax + 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], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x68], edx
lea ebx, [esp + 0x5c]
mov dword [esp], ebx
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 0x58e2fe
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, [0x5cd1e0]
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 [0x728500]
test ecx, ecx
jne 0x58e47f
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [0x715a88]
mov edx, dword [0x715a8c]
mov dword [eax + 8], ecx
mov ecx, dword [0x728500]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x58e46d
mov dword [eax + 0xc], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x6e5db0]
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 0x58e43c
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x58e41d
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 0x58e5c3
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea eax, [0x5cd1e0]
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 [0x728500]
test ecx, ecx
jne 0x58e5aa
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x728500]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x58e594
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x6e5db0]
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 0x58e563
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x58e548
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, [0x625ea0]
call fcn.0044c2b0
lea ebp, [esp + 0x7c]
mov esi, 4
mov ebx, 4
jmp 0x58e1fe
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.LookPath