Function at 0x4c6a20
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 0x4c6fe0
sub esp, 0x9c
mov eax, 0
lea edi, [esp + 0x7c]
call fcn.0044a998
lea eax, [0x529dfa]
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 0x4c6fbe
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, [0x5294a1]
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 0x4c6ac5
inc edx
mov ecx, dword [esp + 0x58]
cmp edx, eax
jge 0x4c6bce
lea edi, [ecx + edx*8]
mov ecx, dword [edi + 4]
mov edi, dword [edi]
test ecx, ecx
je 0x4c6ac0
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], esi
movzx eax, byte [edi]
cmp al, 0x2e
jne 0x4c6b83
lea eax, [esi + 1]
cmp eax, ebp
jg 0x4c6b3b
lea edx, [ebx + esi*8 + 4]
mov dword [edx], ecx
mov ecx, dword [0x5e13d0]
lea edx, [ebx + esi*8]
test ecx, ecx
jne 0x4c6b15
mov dword [edx], edi
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x3c]
jmp 0x4c6ac0
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 0x4c6b09
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edi
lea ecx, [0x508800]
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 0x4c6af4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebp
mov dword [esp], 0
lea eax, [0x52949c]
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 0x4c6aed
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, [0x5295ff]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.strings.ContainsAny
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c6e93
lea edi, [esp + 0x6c]
lea esi, [0x5446b0]
call fcn.0044ae88
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 0x4c6e68
lea eax, [0x529890]
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 0x4c6ce1
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x4c6dba
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 0x4c6cd2
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, [0x510440]
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 [0x5e13d0]
test ecx, ecx
jne 0x4c6e4f
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [0x5d0a70]
mov edx, dword [0x5d0a74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e13d0]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x4c6e3d
mov dword [eax + 0xc], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x544950]
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 0x4c6e0c
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x4c6ded
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 0x4c6f93
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea eax, [0x510440]
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 [0x5e13d0]
test ecx, ecx
jne 0x4c6f7a
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4c6f64
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x544950]
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 0x4c6f33
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
jmp 0x4c6f18
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, [0x5450a0]
call fcn.0044ae60
mov esi, 4
lea ebx, [esp + 0x7c]
mov ebp, 4
jmp 0x4c6bce
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.LookPath