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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x470b9c
sub esp, 0x88
xor ebx, ebx
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov ebx, 0x549aa8
mov dword [esp], ebx
mov dword [esp + 4], 7
call dbg.os.Getenv
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp eax, 0
jne 0x470590
mov edx, 0x55d2a0
mov eax, 0x13
xor ebx, ebx
lea ebx, [esp + 0x24]
cmp ebx, 0
je 0x470b95
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], edx
mov dword [esp], edx
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
call dbg.strings.ToLower
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 4], eax
mov ebx, 0x5489b0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call dbg.strings.Split
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jge 0x470685
mov ebx, dword [esp + 0x30]
cmp ebx, 0
je 0x470b8e
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], esi
cmp esi, 0
jne 0x470aba
mov ebx, dword [esp + 0x30]
add ebx, 8
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jl 0x47063a
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, 0x5489a4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
call dbg.strings.IndexAny
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x10]
cmp ebx, 0xffffffff
je 0x4707fd
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
call dbg.os/exec.findExecutable
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], eax
cmp eax, 0
jne 0x470727
add esp, 0x88
ret
mov dword [esp], 0x530260
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x90]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x8c]
cmp byte [0xb3d87c], 0
jne 0x4707e8
mov dword [eax], ebp
mov ebp, dword [esp + 0x9c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0xa0]
cmp byte [0xb3d87c], 0
jne 0x4707d3
mov dword [eax + 0xc], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [0xb3d94c]
xor ebp, ebp
cmp eax, ebp
je 0x4707b1
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
mov dword [esp], 0x52a360
mov dword [esp + 4], 0x524ae0
mov dword [esp + 8], 0xb3d94c
call dbg.runtime.typ2Itab
mov eax, dword [esp + 0xc]
jmp 0x470788
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x2c]
jmp 0x470778
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x2c]
jmp 0x47075b
mov dword [esp], 0
mov ebx, 0x548974
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call dbg.runtime.concatstring2
lea ebx, [esp + 0x14]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
call dbg.os/exec.findExecutable
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], eax
cmp eax, 0
jne 0x470888
add esp, 0x88
ret
mov ebx, 0x549aa0
mov dword [esp], ebx
mov dword [esp + 4], 4
call dbg.os.Getenv
mov edx, dword [esp + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
cmp eax, 0
je 0x4709df
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.os/exec.splitList
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], edx
mov eax, edx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jge 0x4709df
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x470ab3
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov dword [esp], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 4], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 8], ebp
mov ebx, 0x548cc8
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x18], ebx
call dbg.runtime.concatstring3
lea ebx, [esp + 0x1c]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
call dbg.os/exec.findExecutable
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], eax
cmp eax, 0
jne 0x4709c7
add esp, 0x88
ret
mov eax, dword [esp + 0x30]
add eax, 8
mov ecx, dword [esp + 0x24]
inc ecx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jl 0x470900
mov dword [esp], 0x530260
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x90]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x8c]
cmp byte [0xb3d87c], 0
jne 0x470a9e
mov dword [eax], ebp
mov ebp, dword [0xb2d1a0]
mov dword [eax + 8], ebp
mov ebp, dword [0xb2d1a4]
cmp byte [0xb3d87c], 0
jne 0x470a89
mov dword [eax + 0xc], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [0xb3d94c]
xor ebp, ebp
cmp eax, ebp
je 0x470a67
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
mov dword [esp], 0x52a360
mov dword [esp + 4], 0x524ae0
mov dword [esp + 8], 0xb3d94c
call dbg.runtime.typ2Itab
mov eax, dword [esp + 0xc]
jmp 0x470a3e
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x2c]
jmp 0x470a2e
mov dword [esp], eax
mov dword [esp + 4], ebp
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x2c]
jmp 0x470a13
mov dword [eax], eax
jmp 0x47090d
cmp esi, 0
jbe 0x470b87
movzx ebp, byte [edi]
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
je 0x470b02
mov dword [esp], 0
mov ebx, 0x548968
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call dbg.runtime.concatstring2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, eax
inc ebx
cmp ebx, edx
ja 0x470b46
mov dword [esp + 0x68], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 8
add ebx, ebp
mov dword [ebx + 4], esi
cmp byte [0xb3d87c], 0
jne 0x470b35
mov dword [ebx], edi
jmp 0x470665
mov dword [esp], ebx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
jmp 0x470665
mov dword [esp], 0x506580
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call dbg.runtime.growslice
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
inc ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], ecx
jmp 0x470b19
call dbg.runtime.panicindex
ud2
mov dword [ebx], eax
jmp 0x470647
mov dword [ebx], eax
jmp 0x47059f
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.LookPath