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

Disassembly:
mov ecx, dword [0x6535cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47105b
add esp, 0xffffff80
mov ebx, dword [esp + 0x84]
movzx ebp, byte [ebx + 0x3d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47089e
mov byte [ebx + 0x3c], 1
jmp 0x4708aa
mov byte [esp + 0x88], 0
sub esp, 0xffffff80
ret
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
cmp eax, ecx
jl 0x4708bf
mov ebp, dword [ebx + 0x30]
test ebp, ebp
je 0x470abb
mov edx, dword [ebx + 0x24]
cmp edx, ecx
jb 0x471055
cmp eax, ecx
ja 0x471050
mov ebp, dword [ebx + 8]
mov esi, dword [ebp]
mov edi, dword [ebx + 0x1c]
sub edx, eax
mov dword [esp + 0x58], 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 + 0x58]
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 + 0x5c], ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x470e7e
mov esi, dword [esp + 0x10]
mov dword [esp + 0x54], esi
test esi, esi
jge 0x4709d6
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x30]
mov edx, dword [0x5fbdac]
mov esi, dword [0x5fbda8]
test eax, eax
je 0x4709aa
cmp dword [0x5fbe58], eax
je 0x470965
xor eax, eax
jmp 0x4709a6
mov dword [esp + 0x74], edx
mov dword [esp + 0x4c], esi
mov ecx, dword [edi + 0x34]
mov edx, dword [0x5fbe5c]
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 + 0x5c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x84]
test al, al
je 0x4709cb
mov dword [edi + 0x30], esi
mov esi, dword [0x653670]
test esi, esi
je 0x4709c8
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 + 0x54]
xor eax, eax
jmp 0x470a85
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
sub eax, edx
cmp esi, eax
jle 0x470a7a
mov eax, dword [edi + 0x30]
mov edx, dword [0x5fbdb4]
mov esi, dword [0x5fbdb0]
test eax, eax
je 0x470a51
cmp dword [0x5fbe58], eax
je 0x470a0c
xor eax, eax
jmp 0x470a4d
mov dword [esp + 0x48], esi
mov dword [esp + 0x70], edx
mov ecx, dword [edi + 0x34]
mov edx, dword [0x5fbe5c]
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 + 0x5c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x84]
test al, al
je 0x470a72
mov dword [edi + 0x30], esi
mov esi, dword [0x653670]
test esi, esi
je 0x470a6f
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 + 0x54]
xor eax, eax
jmp 0x470a85
lea eax, [esi + edx]
mov dword [edi + 0x28], eax
mov eax, 1
test al, al
je 0x470e72
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebp
mov ebx, dword [0x653670]
test ebx, ebx
je 0x470aae
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 0x470e43
mov ebx, edi
mov ebp, dword [ebx + 0x30]
test ebp, ebp
jne 0x470e29
mov eax, dword [ebx + 0x28]
test eax, eax
jle 0x470b36
mov ecx, dword [ebx + 0x2c]
mov ebp, dword [ebx + 0x20]
cmp ebp, ecx
je 0x470ae1
mov esi, ebp
shr ebp, 1
cmp eax, ebp
jle 0x470b36
mov ebp, esi
mov edx, dword [ebx + 0x24]
cmp edx, ecx
jb 0x47104b
cmp ecx, eax
jb 0x471046
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 0x470b0b
mov ecx, ebp
test eax, eax
je 0x470b26
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ebx, dword [esp + 0x84]
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 0x470c1d
mov eax, dword [ebx + 0xc]
cmp eax, edx
jle 0x470da8
cmp edx, 0x3fffffff
jg 0x470da8
shl edx, 1
test edx, edx
jne 0x470b64
mov edx, 0x1000
cmp edx, eax
jg 0x470b6a
mov eax, edx
mov dword [esp + 0x30], eax
lea ecx, [0x5153e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x2c]
cmp edx, ecx
jb 0x471041
mov ebx, dword [eax + 0x28]
cmp ecx, ebx
jb 0x47103a
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 0x470bc0
mov ecx, ebx
mov ebp, dword [esp + 0xc]
cmp ebp, edx
je 0x470beb
mov dword [esp + 0x7c], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x7c]
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov edx, dword [0x653670]
test edx, edx
je 0x470c08
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 0x470c1f
mov eax, ebx
xor ecx, ecx
jmp 0x470f99
mov ebp, dword [ebx + 0x30]
mov esi, dword [0x5fbe6c]
mov edi, dword [0x5fbe68]
test ebp, ebp
je 0x470c82
cmp dword [0x5fbe58], ebp
je 0x470c45
xor eax, eax
jmp 0x470c7a
mov dword [esp + 0x60], esi
mov dword [esp + 0x38], edi
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5fbe5c]
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 + 0x84]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x38]
test al, al
je 0x4708aa
mov dword [ebx + 0x30], edi
mov ebp, dword [0x653670]
test ebp, ebp
je 0x470c9c
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], esi
jmp 0x4708aa
mov dword [ebx + 0x38], 0
jmp 0x4708aa
mov esi, dword [ebx + 0x30]
nop
test esi, esi
je 0x470d01
cmp dword [0x5fbe58], esi
je 0x470cc4
xor eax, eax
jmp 0x470cf9
mov dword [esp + 0x40], ebp
mov dword [esp + 0x68], ecx
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5fbe5c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x40]
test al, al
je 0x4708aa
mov dword [ebx + 0x30], ebp
mov ebp, dword [0x653670]
test ebp, ebp
je 0x470d1b
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], ecx
jmp 0x4708aa
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x30]
mov esi, dword [0x5fbdbc]
mov edi, dword [0x5fbdb8]
test ebp, ebp
je 0x470d86
cmp dword [0x5fbe58], ebp
je 0x470d49
xor eax, eax
jmp 0x470d7e
mov dword [esp + 0x64], esi
mov dword [esp + 0x3c], edi
mov eax, dword [ebx + 0x34]
mov ecx, dword [0x5fbe5c]
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 + 0x84]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x3c]
test al, al
je 0x4708aa
mov dword [ebx + 0x30], edi
mov ebp, dword [0x653670]
test ebp, ebp
je 0x470da0
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx + 0x34]
mov dword [edi + 4], ebp
mov dword [ebx + 0x34], esi
jmp 0x4708aa
mov eax, dword [ebx + 0x30]
mov ecx, dword [0x5fbda4]
mov edx, dword [0x5fbda0]
test eax, eax
je 0x470e00
cmp dword [0x5fbe58], eax
je 0x470dc7
xor eax, eax
jmp 0x470dfc
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [ebx + 0x34]
mov edx, dword [0x5fbe5c]
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 + 0x6c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x84]
test al, al
je 0x470e1d
mov dword [ebx + 0x30], edx
mov eax, dword [0x653670]
test eax, eax
je 0x470e1a
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 + 0x88], 0
sub esp, 0xffffff80
ret
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [esp + 0x88], 0
sub esp, 0xffffff80
ret
mov eax, dword [edi + 0x30]
test eax, eax
je 0x470e5f
test esi, esi
jg 0x470e5f
mov eax, dword [edi + 0x38]
inc eax
mov dword [edi + 0x38], eax
cmp eax, 0x64
jle 0x470e66
jmp 0x470f7d
mov dword [edi + 0x38], 0
mov byte [esp + 0x88], 1
sub esp, 0xffffff80
ret
mov byte [esp + 0x88], 0
sub esp, 0xffffff80
ret
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
cmp dword [0x5fbdc0], eax
jne 0x470f06
mov ecx, dword [0x5fbdc4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x470efe
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [0x653670]
test eax, eax
jne 0x470ed6
mov eax, dword [esp + 0x5c]
jmp 0x470ee7
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x3d], 1
test eax, eax
setne al
mov byte [esp + 0x88], al
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov ebx, dword [ecx + 0x30]
nop
test ebx, ebx
je 0x470f54
cmp dword [0x5fbe58], ebx
je 0x470f21
xor ebx, ebx
jmp 0x470f50
mov eax, dword [ecx + 0x34]
mov edx, dword [0x5fbe5c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x50]
test bl, bl
je 0x470f71
mov dword [ecx + 0x30], eax
mov eax, dword [0x653670]
test eax, eax
je 0x470f6e
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ecx + 0x34]
mov dword [edi + 4], eax
mov dword [ecx + 0x34], edx
mov byte [esp + 0x88], 0
sub esp, 0xffffff80
ret
lea eax, [0x515360]
mov dword [esp], eax
lea eax, [0x55e28c]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, ebx
mov ecx, ebp
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x20]
cmp edx, ebx
ja 0x471031
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, edx
sub ebx, edx
mov ebp, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
lea edx, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
jl 0x470d23
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebx + 0x2c]
sub ebp, esi
cmp eax, ebp
jg 0x470d2a
mov ebp, dword [esp + 0x14]
add esi, eax
mov dword [ebx + 0x2c], esi
test ebp, ebp
jne 0x470cb0
test eax, eax
jg 0x470ca4
mov ebp, dword [esp + 0x34]
inc ebp
cmp ebp, 0x64
jle 0x470f95
jmp 0x470c26
mov eax, edx
mov ecx, ebx
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