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

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4b1977
sub esp, 0xb4
lea eax, [0x4d0590]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.Getenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b111f
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, [0x4d003a]
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 0x4b1883
lea edi, [esp + 0x94]
xor eax, eax
call fcn.004684d8
lea ecx, [0x4d01ba]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 4
lea ecx, [0x4d01be]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 4
lea ecx, [0x4d01c2]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 4
lea ecx, [0x4d01c6]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x94]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
lea esi, [0x4d0096]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4b1400
lea eax, [0x4d713e]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.syscall.Getenv
movzx eax, byte [esp + 0x10]
test al, al
je 0x4b120e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b13af
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x4d0037]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 1
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x90], 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 0x4b12ce
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b13af
mov eax, dword [0x576208]
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 0x4b133d
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x4b133d
mov eax, dword [0x576208]
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, [0x4c2a20]
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 [0x59ed50]
test edx, edx
jne 0x4b136c
mov edx, dword [esp + 0xb8]
jmp 0x4b137a
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x576328]
mov ebp, dword [0x57632c]
mov dword [eax + 8], ebx
mov ebx, dword [0x59ed50]
test ebx, ebx
je 0x4b139c
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, [0x4f4d90]
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], edx
lea ebp, [0x4d01b2]
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 0x4b1525
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 0x4b14e3
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x4c2a20]
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 [0x59ed50]
test ecx, ecx
jne 0x4b147d
mov ecx, dword [esp + 0xb8]
jmp 0x4b148b
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 [0x59ed50]
test ecx, ecx
jne 0x4b14a4
mov ecx, dword [esp + 0x5c]
jmp 0x4b14af
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, [0x4f4d90]
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 0x4b17b0
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 + 0x74], ebx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x80], 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 0x4b1516
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 0x4b166e
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 0x4b177d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b177d
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 0x4b177d
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 0x4b174a
mov eax, dword [0x576208]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x4b16a9
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x4b173c
lea eax, [0x4c2a20]
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 [0x59ed50]
test ecx, ecx
jne 0x4b16d8
mov ecx, dword [esp + 0xb8]
jmp 0x4b16e6
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x576328]
mov edx, dword [0x57632c]
mov dword [eax + 8], ecx
mov ecx, dword [0x59ed50]
test ecx, ecx
je 0x4b1708
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, [0x4f4d90]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [0x576208]
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 0x4b184f
lea eax, [0x4c2a20]
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 [0x59ed50]
test ecx, ecx
jne 0x4b17eb
mov ecx, dword [esp + 0xb8]
jmp 0x4b17f9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x576330]
mov edx, dword [0x576334]
mov dword [eax + 8], ecx
mov ecx, dword [0x59ed50]
test ecx, ecx
je 0x4b181b
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, [0x4f4d90]
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 0x4b196c
lea edi, [eax + edx*8]
mov eax, dword [edi + 4]
test eax, eax
je 0x4b187e
mov dword [esp + 0x48], edx
mov edi, dword [edi]
cmp byte [edi], 0x2e
je 0x4b18ee
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp], 0
lea ecx, [0x4d0037]
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 0x4b1939
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, [0x4be2e0]
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 [0x59ed50]
lea ecx, [ebp + esi*8 - 8]
test eax, eax
je 0x4b1961
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 0x4b187e
mov eax, ebx
mov ecx, esi
mov edx, ebp
jmp 0x4b119e
call sym.runtime.morestack_noctxt
jmp sym.os_exec.LookPath