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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46d188
sub esp, 0x7c
mov ebx, dword [esp + 0x80]
movzx ebp, byte [ebx + 0x3d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x46c9be
mov byte [ebx + 0x3c], 1
jmp 0x46c9ca
mov byte [esp + 0x84], 0
add esp, 0x7c
ret
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
cmp eax, ecx
jl 0x46c9df
mov ebp, dword [ebx + 0x30]
test ebp, ebp
je 0x46cbe3
mov edx, dword [ebx + 0x24]
cmp edx, ecx
jb 0x46d182
cmp eax, ecx
ja 0x46d17d
mov ebp, dword [ebx + 8]
mov esi, dword [ebp]
mov edi, dword [ebx + 0x1c]
sub edx, eax
mov dword [esp + 0x50], edx
sub ecx, eax
neg edx
sar edx, 0x1f
and eax, edx
add eax, edi
mov edi, dword [ebx + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
test edi, edi
setne al
mov byte [esp + 0xc], al
mov edx, ebp
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x46cfa6
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c], esi
test esi, esi
jge 0x46cafe
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x30]
mov edx, dword [0x5c49d4]
mov esi, dword [0x5c49d0]
test eax, eax
je 0x46cad2
cmp dword [0x5c4a80], eax
je 0x46ca8d
xor eax, eax
jmp 0x46cace
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], esi
mov ecx, dword [edi + 0x34]
mov edx, dword [0x5c4a84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x80]
test al, al
je 0x46caf3
mov dword [edi + 0x30], esi
mov esi, dword [0x5efab0]
test esi, esi
je 0x46caf0
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov esi, dword [eax + 0x34]
mov dword [edi + 4], esi
mov edi, eax
mov dword [edi + 0x34], edx
mov esi, dword [esp + 0x4c]
xor eax, eax
jmp 0x46cbad
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
sub eax, edx
cmp esi, eax
jle 0x46cba2
mov eax, dword [edi + 0x30]
mov edx, dword [0x5c49dc]
mov esi, dword [0x5c49d8]
test eax, eax
je 0x46cb79
cmp dword [0x5c4a80], eax
je 0x46cb34
xor eax, eax
jmp 0x46cb75
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], esi
mov ecx, dword [edi + 0x34]
mov edx, dword [0x5c4a84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
test al, al
je 0x46cb9a
mov dword [edi + 0x30], esi
mov esi, dword [0x5efab0]
test esi, esi
je 0x46cb97
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov esi, dword [eax + 0x34]
mov dword [edi + 4], esi
mov edi, eax
mov dword [edi + 0x34], edx
mov esi, dword [esp + 0x4c]
xor eax, eax
jmp 0x46cbad
lea eax, [esi + edx]
mov dword [edi + 0x28], eax
mov eax, 1
test al, al
je 0x46cf9a
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], ebx
mov ebx, dword [0x5efab0]
test ebx, ebx
je 0x46cbd6
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [eax + 0x10]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [edi + 0x10], ecx
test ecx, ecx
jne 0x46cf6b
mov ebx, edi
mov ebp, dword [ebx + 0x30]
test ebp, ebp
jne 0x46cf51
mov eax, dword [ebx + 0x28]
test eax, eax
jle 0x46cc5e
mov ecx, dword [ebx + 0x2c]
mov ebp, dword [ebx + 0x20]
cmp ebp, ecx
je 0x46cc09
mov esi, ebp
shr ebp, 1
cmp eax, ebp
jle 0x46cc5e
mov ebp, esi
mov edx, dword [ebx + 0x24]
cmp edx, ecx
jb 0x46d178
cmp ecx, eax
jb 0x46d173
mov esi, dword [ebx + 0x1c]
sub ecx, eax
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [esi + eax]
cmp ebp, ecx
jg 0x46cc33
mov ecx, ebp
test eax, eax
je 0x46cc4e
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ebx, dword [esp + 0x80]
mov edx, dword [ebx + 0x2c]
sub edx, dword [ebx + 0x28]
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x28], 0
mov edx, dword [ebx + 0x20]
cmp dword [ebx + 0x2c], edx
jne 0x46cd45
mov eax, dword [ebx + 0xc]
cmp eax, edx
jle 0x46ced0
cmp edx, 0x3fffffff
jg 0x46ced0
shl edx, 1
test edx, edx
jne 0x46cc8c
mov edx, 0x1000
cmp edx, eax
jg 0x46cc92
mov eax, edx
mov dword [esp + 0x30], eax
lea ecx, [0x4ea0c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x2c]
cmp edx, ecx
jb 0x46d16e
mov ebx, dword [eax + 0x28]
cmp ecx, ebx
jb 0x46d167
mov ebp, dword [eax + 0x1c]
sub ecx, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and ebx, edx
lea edx, [ebp + ebx]
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
jg 0x46cce8
mov ecx, ebx
mov ebp, dword [esp + 0xc]
cmp ebp, edx
je 0x46cd13
mov dword [esp + 0x78], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x78]
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov edx, dword [0x5efab0]
test edx, edx
je 0x46cd30
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov edx, dword [eax + 0x1c]
mov dword [edi + 4], edx
mov dword [eax + 0x1c], ebp
mov edx, dword [eax + 0x2c]
sub edx, dword [eax + 0x28]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], 0
jmp 0x46cd47
mov eax, ebx
xor ecx, ecx
jmp 0x46d0c1
mov ebp, dword [ebx + 0x30]
mov esi, dword [0x5c4a94]
mov edi, dword [0x5c4a90]
test ebp, ebp
je 0x46cdaa
cmp dword [0x5c4a80], ebp
je 0x46cd6d
xor eax, eax
jmp 0x46cda2
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], edi
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5c4a84]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
test al, al
je 0x46c9ca
mov dword [ebx + 0x30], edi
mov ebp, dword [0x5efab0]
test ebp, ebp
je 0x46cdc4
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], esi
jmp 0x46c9ca
mov dword [ebx + 0x38], 0
jmp 0x46c9ca
mov ebp, dword [ebx + 0x30]
nop
test ebp, ebp
je 0x46ce29
cmp dword [0x5c4a80], ebp
je 0x46cdec
xor eax, eax
jmp 0x46ce21
mov dword [esp + 0x60], ecx
mov dword [esp + 0x74], edx
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5c4a84]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x80]
test al, al
je 0x46c9ca
mov dword [ebx + 0x30], edx
mov ebp, dword [0x5efab0]
test ebp, ebp
je 0x46ce43
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], ecx
jmp 0x46c9ca
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + 0x30]
mov esi, dword [0x5c49e4]
mov edi, dword [0x5c49e0]
test ebp, ebp
je 0x46ceae
cmp dword [0x5c4a80], ebp
je 0x46ce71
xor eax, eax
jmp 0x46cea6
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], edi
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5c4a84]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x3c]
test al, al
je 0x46c9ca
mov dword [ebx + 0x30], edi
mov ebp, dword [0x5efab0]
test ebp, ebp
je 0x46cec8
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], esi
jmp 0x46c9ca
mov eax, dword [ebx + 0x30]
mov ecx, dword [0x5c49cc]
mov edx, dword [0x5c49c8]
test eax, eax
je 0x46cf28
cmp dword [0x5c4a80], eax
je 0x46ceef
xor eax, eax
jmp 0x46cf24
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [ebx + 0x34]
mov edx, dword [0x5c4a84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
test al, al
je 0x46cf45
mov dword [ebx + 0x30], edx
mov eax, dword [0x5efab0]
test eax, eax
je 0x46cf42
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x34]
mov dword [edi + 4], eax
mov dword [ebx + 0x34], ecx
mov byte [esp + 0x84], 0
add esp, 0x7c
ret
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [esp + 0x84], 0
add esp, 0x7c
ret
mov eax, dword [edi + 0x30]
test eax, eax
je 0x46cf87
test esi, esi
jg 0x46cf87
mov eax, dword [edi + 0x38]
inc eax
mov dword [edi + 0x38], eax
cmp eax, 0x64
jle 0x46cf8e
jmp 0x46d0a5
mov dword [edi + 0x38], 0
mov byte [esp + 0x84], 1
add esp, 0x7c
ret
mov byte [esp + 0x84], 0
add esp, 0x7c
ret
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x20]
cmp dword [0x5c49e8], eax
jne 0x46d02e
mov ecx, dword [esp + 0x24]
mov edx, dword [0x5c49ec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x46d026
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [0x5efab0]
test eax, eax
jne 0x46d002
mov eax, dword [esp + 0x54]
jmp 0x46d013
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x54]
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x3d], 1
mov byte [esp + 0x84], 1
add esp, 0x7c
ret
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x30]
nop
test ecx, ecx
je 0x46d07c
cmp dword [0x5c4a80], ecx
je 0x46d049
xor ecx, ecx
jmp 0x46d078
mov edx, dword [eax + 0x34]
mov ebx, dword [0x5c4a84]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ecx, eax
mov eax, dword [esp + 0x80]
test cl, cl
je 0x46d099
mov dword [eax + 0x30], edi
mov ecx, dword [0x5efab0]
test ecx, ecx
je 0x46d096
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ecx, dword [eax + 0x34]
mov dword [edi + 4], ecx
mov dword [eax + 0x34], esi
mov byte [esp + 0x84], 0
add esp, 0x7c
ret
lea eax, [0x4e9d80]
mov dword [esp], eax
lea eax, [0x530b84]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, ebx
mov ecx, ebp
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x2c]
cmp ebx, edx
ja 0x46d15e
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov esi, dword [eax + 0x1c]
mov edi, dword [eax + 0x24]
mov dword [esp], ebp
sub edi, ebx
sub edx, ebx
mov ebp, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebx
lea ebx, [edi + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test eax, eax
jl 0x46ce4b
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebx + 0x2c]
sub ebp, esi
cmp eax, ebp
jg 0x46ce52
lea ebp, [eax + esi]
mov esi, dword [esp + 0x14]
mov dword [ebx + 0x2c], ebp
test esi, esi
jne 0x46cdd8
test eax, eax
jg 0x46cdcc
mov ebp, dword [esp + 0x34]
inc ebp
cmp ebp, 0x64
jle 0x46d0bd
jmp 0x46cd4e
mov eax, ebx
mov ecx, edx
call sym.runtime.panicSliceB
mov eax, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.bufio._Scanner_.Scan