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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x51aa99
sub esp, 0xa0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x51a35d
movzx ecx, byte [esp + 0xbc]
test cl, cl
jne 0x51a345
lea edx, [eax - 2]
cmp edx, 0x3c
jbe 0x51a35d
test cl, cl
je 0x51aa07
cmp eax, 2
je 0x51a35d
cmp eax, 8
je 0x51a35d
cmp eax, 0xa
je 0x51a35d
cmp eax, 0x10
jne 0x51aa07
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xb8]
test ebx, ebx
jne 0x51a505
test ecx, ecx
je 0x51a3af
mov esi, 0xa
mov ebp, 0x2e
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov ebp, 0x2e
jmp 0x51a4f8
cmp al, 0x30
je 0x51a3d0
mov esi, 0xa
mov ebp, 0x2e
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov ebp, 0x2e
jmp 0x51a4f8
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 4]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x51a410
movzx ebx, byte [esp + 0xbc]
mov esi, 0xa
mov edi, 1
xor ebp, ebp
jmp 0x51a4dd
cmp cl, 0x58
ja 0x51a426
cmp cl, 0x42
je 0x51a42b
cmp cl, 0x4f
je 0x51a444
cmp cl, 0x58
je 0x51a45d
jmp 0x51a471
cmp cl, 0x62
jne 0x51a43f
movzx ebx, byte [esp + 0xbc]
mov ebp, 0x62
mov esi, 2
jmp 0x51a490
cmp cl, 0x6f
jne 0x51a458
movzx ebx, byte [esp + 0xbc]
mov ebp, 0x6f
mov esi, 8
jmp 0x51a490
cmp cl, 0x78
jne 0x51a471
movzx ebx, byte [esp + 0xbc]
mov ebp, 0x78
mov esi, 0x10
jmp 0x51a490
movzx ebx, byte [esp + 0xbc]
test bl, bl
je 0x51a486
xor ebp, ebp
mov esi, 0xa
jmp 0x51a490
mov ebp, 0x30
mov esi, 8
test ebp, ebp
je 0x51a4d8
cmp ebp, 0x30
je 0x51a4d4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
call ecx
movzx ecx, byte [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0xbc]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
xor edi, edi
jmp 0x51a4dd
mov edi, 1
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x34], ebp
mov ebp, 0x30
mov ebp, ecx
mov ecx, eax
mov eax, ebp
mov ebp, 0x30
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0xb8]
jmp 0x51a516
mov ebp, ebx
mov esi, 0x2e
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, ebp
test ebx, ebx
je 0x51aa02
mov dword [esp + 0x94], edx
mov byte [esp + 0x2e], al
mov eax, 0xffffffff
xor edx, edx
div ebx
mov edx, ebx
mov edx, 1
mov dword [esp + 0x3c], edx
mov edx, ebx
jmp 0x51a554
imul ebx, edx
mov ebp, dword [esp + 0x3c]
inc ebp
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xb8]
cmp ebx, eax
jbe 0x51a541
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
movzx eax, byte [esp + 0xbc]
mov byte [esp + 0x2f], al
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov byte [esp + 0x2d], cl
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x70], ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov ebx, 0xffffffff
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
jmp 0x51a64a
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], bl
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + 0x10]
mov ebp, dword [esp + 0xb4]
mov dword [esp], ebp
call edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x94], edx
mov byte [esp + 0x2e], al
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x51a804
movzx ecx, byte [esp + 0x2e]
cmp cl, 0x2e
jne 0x51a68e
movzx ebx, byte [esp + 0x2f]
test bl, bl
je 0x51a693
cmp esi, 0x5f
sete cl
movzx ebx, byte [esp + 0x2d]
or ecx, ebx
xor ebx, ebx
mov esi, 0x2e
mov dword [esp + 0x44], edi
jmp 0x51a5d8
movzx ebx, byte [esp + 0x2f]
cmp cl, 0x5f
jne 0x51a6c7
test ebp, ebp
jne 0x51a6c7
cmp esi, 0x30
setne cl
movzx esi, byte [esp + 0x2d]
or ecx, esi
mov byte [esp + 0x2d], cl
mov esi, 0x5f
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
jmp 0x51a7c4
lea esi, [ecx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
ja 0x51a6d8
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x51a712
lea esi, [ecx - 0x61]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x51a6ec
lea esi, [ecx - 0x57]
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x51a712
lea esi, [ecx - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x51a70d
cmp edx, 0x24
jg 0x51a703
add ecx, 0xffffffc9
movzx ecx, cl
jmp 0x51a712
lea esi, [ecx - 0x1d]
xchg esi, eax
movzx ecx, al
xchg esi, eax
jmp 0x51a712
mov ecx, 0x3f
cmp ecx, edx
jae 0x51a7de
mov esi, dword [esp + 0x48]
imul esi, edx
mov edx, dword [esp + 0x40]
inc edx
add ecx, esi
cmp eax, edx
je 0x51a742
mov esi, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
jmp 0x51a7aa
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call sym.math_big.nat.mulAddWW
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
movzx ebx, byte [esp + 0x2f]
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0x4c]
mov esi, edx
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
xor edx, edx
inc edi
mov dword [esp + 0x60], eax
mov eax, 0x30
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], ecx
movzx ecx, byte [esp + 0x2d]
mov esi, dword [esp + 0x30]
jmp 0x51a5d8
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
cmp dword [0x8a1c60], ecx
je 0x51a815
mov eax, dword [esp + 0x94]
jmp 0x51a864
mov eax, dword [0x8a1c64]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x51a84d
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
xor eax, eax
jmp 0x51a864
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x94]
test ecx, ecx
jne 0x51a882
movzx ebx, byte [esp + 0x2d]
test bl, bl
jne 0x51a876
cmp esi, 0x5f
jne 0x51a882
mov ecx, dword [0x8a2380]
mov eax, dword [0x8a2384]
test edi, edi
jne 0x51a8ec
mov ebx, dword [esp + 0x34]
cmp ebx, 0x30
je 0x51a89d
mov ecx, dword [0x8a2378]
mov eax, dword [0x8a237c]
jmp 0x51a8ec
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], 0xa
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xa0
ret
mov dword [esp + 0x94], eax
mov ebx, dword [esp + 0x40]
test ebx, ebx
jle 0x51a907
mov ebp, edx
mov esi, 1
jmp 0x51a992
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x54]
jmp 0x51a920
dec esi
mov eax, dword [esp + 0x94]
test esi, esi
jle 0x51a933
mov eax, dword [ebp + esi*4 - 4]
test eax, eax
je 0x51a918
mov eax, dword [esp + 0x94]
cmp esi, ebx
ja 0x51a984
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x51a943
sub eax, edi
jmp 0x51a945
mov eax, edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xd8], eax
add esp, 0xa0
ret
mov ecx, esi
mov edx, ebx
call sym.runtime.panicSliceAcap
imul edx, edx
sar ebx, 1
test ebx, ebx
jle 0x51a9a3
test ebx, 1
je 0x51a98d
imul esi, edx
jmp 0x51a98d
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
call sym.math_big.nat.mulAddWW
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
jmp 0x51a916
call sym.runtime.panicdivide
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x681ea0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
lea eax, [0x6c54c9]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x681d20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.math_big.nat.scan