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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x5a2e7a
sub esp, 0xb4
mov eax, 0
mov dword [esp + 0xb0], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea eax, [0x656eb2]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call sym.os.LookupEnv
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x26], al
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [sym.github.com_BurntSushi_toml.parse.func1]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x27], 1
cmp dword [esp + 0xbc], 2
jge 0x5a2a35
xor ecx, ecx
jmp 0x5a2a62
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x650f0c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, eax
movzx eax, byte [esp + 0x26]
test cl, cl
je 0x5a2a6d
mov ecx, 1
jmp 0x5a2aa8
cmp dword [esp + 0xbc], 2
jge 0x5a2a7b
xor ecx, ecx
jmp 0x5a2aa8
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x650f0e]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, eax
movzx eax, byte [esp + 0x26]
test cl, cl
je 0x5a2ae2
mov ecx, dword [esp + 0xbc]
cmp ecx, 2
jb 0x5a2e63
lea ebx, [ecx - 2]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
mov esi, dword [esp + 0xb8]
add ebx, esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebp
jmp 0x5a2b55
cmp dword [esp + 0xbc], 3
jge 0x5a2af0
xor ecx, ecx
jmp 0x5a2b1d
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x651284]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, eax
movzx eax, byte [esp + 0x26]
test cl, cl
je 0x5a2b55
mov ecx, dword [esp + 0xbc]
cmp ecx, 3
jb 0x5a2e59
lea ebx, [ecx - 3]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 3
mov esi, dword [esp + 0xb8]
add ebx, esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebp
mov edx, dword [esp + 0xbc]
cmp edx, 6
jge 0x5a2b65
mov ecx, edx
jmp 0x5a2b6c
mov ecx, edx
mov edx, 6
cmp edx, ecx
ja 0x5a2e4e
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call sym.strings.IndexRune
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x5a2d29
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x68], eax
call sym.runtime.makemap_small
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x54], edx
lea ebx, [0x615040]
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
lea ecx, [0x624a40]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xa
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
lea ecx, [0x640860]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x84d1a0]
test ecx, ecx
jne 0x5a2c3e
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
jmp 0x5a2c57
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov edx, dword [esp + 0x60]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [edi + 8], ebx
mov dword [esp + 0x30], eax
mov dword [eax], ecx
lea ecx, [0x66b3b8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0xa
mov dword [eax + 0x38], ebx
mov dword [eax + 0x10], 1
movzx ecx, byte [esp + 0x26]
mov byte [eax + 0x1c], cl
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x58], eax
lea ecx, [0x63e1e0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [0x84d1a0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5a2cbf
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
jmp 0x5a2cd8
call sym.runtime.gcWriteBarrier3
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov edx, dword [esp + 0x64]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x30]
mov dword [edi + 8], ebx
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], edx
mov dword [ecx], ebx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
lea eax, [0x84cfa0]
mov dword [ecx + 0x28], eax
mov eax, dword [0x84d1a0]
test eax, eax
jne 0x5a2d07
mov eax, dword [esp + 0x58]
jmp 0x5a2d12
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov dword [ecx + 0x3c], eax
movzx eax, byte [esp + 0x26]
mov byte [ecx + 0x24], al
mov dword [esp + 0xc0], ecx
jmp 0x5a2dfe
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046c052
lea ecx, [0x664ee5]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0x50
mov dword [esp + 0x88], 1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 1
mov dword [esp + 0x9c], 1
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
lea ecx, [0x640780]
mov dword [esp], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
mov dword [esp + 0xc0], 0
lea edx, [0x6aa95c]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xb0]
mov ecx, dword [edx]
call ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x34]
call fcn.0046c520
call sym.github.com_BurntSushi_toml._parser_.topLevel
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.github.com_BurntSushi_toml._parser_.next
lea edi, [esp + 0x34]
lea esi, [esp + 4]
call fcn.0046c520
cmp dword [esp + 0x34], 2
jne 0x5a2de2
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov eax, ecx
mov ecx, edx
mov edx, eax
call sym.runtime.panicSliceAlen
mov eax, 3
call sym.runtime.panicSliceB
mov eax, 2
call sym.runtime.panicSliceB
nop
call sym.runtime.deferreturn
add esp, 0xb4
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_BurntSushi_toml.parse