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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51ccc3
sub esp, 0x74
mov eax, dword [esp + 0x94]
lea ecx, [eax + 1]
mov dword [esp], ecx
call sym.math_big.getNat
mov ecx, dword [esp + 0x94]
lea eax, [ecx - 1]
mov edx, dword [esp + 4]
test byte [edx], al
mov ebx, dword [esp + 0x88]
sub ebx, ecx
cmp ecx, eax
jbe 0x51ccbd
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x90]
mov ebx, dword [eax + ecx*4 - 4]
mov dword [esp + 0x2c], ebx
mov ebp, dword [edx + 4]
mov dword [esp + 0x40], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x44], esi
mov edi, dword [edx]
mov dword [esp + 0x6c], edi
mov dword [esp], ebx
call sym.math_big.reciprocalWord
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x90]
jmp 0x51c909
dec eax
mov ebp, dword [esp + 0x38]
mov ebp, ecx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x90]
mov ecx, eax
mov eax, dword [esp + 0x38]
test ecx, ecx
jl 0x51cbdf
lea esi, [ebp + ecx]
mov dword [esp + 0x5c], esi
cmp ebx, esi
jle 0x51c930
jbe 0x51ccb4
mov esi, dword [edx + esi*4]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x5c]
jmp 0x51c93e
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x51c9c5
lea ecx, [ecx + ebp - 1]
cmp ebx, ecx
jbe 0x51ccab
mov ecx, dword [edx + ecx*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call sym.math_big.divWW
mov ecx, dword [esp + 0x94]
lea eax, [ecx - 2]
cmp ecx, eax
jbe 0x51cca6
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp + ecx*4 - 8]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x50]
lea edi, [esi + ecx - 2]
mul ebx
nop
nop
nop
mov ebp, dword [esp + 0x88]
cmp ebp, edi
jbe 0x51cc9d
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x84]
mov edi, dword [esi + edi*4]
jmp 0x51cc5f
mov esi, 0xffffffff
mov eax, dword [esp + 0x44]
cmp ebp, eax
ja 0x51cc3c
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
call sym.math_big.mulAddVWW
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x51cc37
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + eax*4], ebx
mov esi, dword [esp + 0x50]
lea edi, [ecx + esi]
mov edx, ebp
mov ebp, dword [esp + 0x88]
cmp ebp, edi
jge 0x51ca50
test ebx, ebx
jne 0x51ca50
lea ebx, [ecx - 1]
jmp 0x51ca52
mov ebx, ecx
mov dword [esp + 0x3c], ebx
lea edi, [ebx + esi]
mov ebx, dword [esp + 0x8c]
cmp ebx, edi
jb 0x51cc2e
cmp esi, edi
ja 0x51cc25
sub ebx, esi
mov dword [esp + 0x58], ebx
neg ebx
shl esi, 2
sar ebx, 0x1f
and ebx, esi
mov esi, dword [esp + 0x84]
add ebx, esi
mov edi, dword [esp + 0x50]
cmp ebp, edi
jb 0x51cc1c
mov dword [esp + 0x70], ebx
mov dword [esp], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
sub ebp, edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
call sym.math_big.subVV
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x51caf9
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x48]
jmp 0x51cba6
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x5c]
cmp edx, ecx
jb 0x51cc17
mov eax, dword [esp + 0x50]
cmp eax, ecx
ja 0x51cc12
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x20], edx
call sym.math_big.addVV
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x51cb93
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jbe 0x51cc0b
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x84]
add dword [esi + eax*4], ebp
jmp 0x51cba1
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x48]
dec ebp
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
cmp eax, edi
jne 0x51cbc9
mov edx, esi
mov esi, dword [esp + 0x7c]
cmp esi, edi
jne 0x51cbcf
test ebp, ebp
jne 0x51cbcf
mov esi, dword [esp + 0x78]
jmp 0x51c8ee
mov edx, esi
mov esi, dword [esp + 0x7c]
cmp esi, eax
jbe 0x51cc04
mov esi, dword [esp + 0x78]
mov dword [esi + eax*4], ebp
jmp 0x51c8ee
nop
lea eax, [0x8aa770]
mov dword [esp], eax
lea eax, [0x6bbfa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call sym.sync._Pool_.Put
add esp, 0x74
ret
mov ecx, esi
call sym.runtime.panicIndex
mov ecx, ebx
call sym.runtime.panicIndex
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
mov eax, edi
mov ecx, ebp
call sym.runtime.panicSliceB
mov eax, esi
mov ecx, edi
call sym.runtime.panicSliceB
mov ecx, edi
mov edx, ebx
call sym.runtime.panicSliceAcap
call sym.runtime.panicIndex
mov ecx, ebp
mov edx, eax
call sym.runtime.panicSliceAcap
mov dword [esp + 0x34], edx
mov eax, ebx
mov ebp, dword [esp + 0x28]
mul ebp
nop
nop
nop
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x34]
cmp ebp, edx
jb 0x51cc69
jne 0x51cc7a
cmp eax, edi
jbe 0x51cc7a
mov eax, esi
mov esi, dword [esp + 0x2c]
lea edx, [ebp + esi]
dec ebx
cmp ebp, edx
jbe 0x51cc45
jmp 0x51cc80
mov eax, esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov ebp, dword [esp + 0x94]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x88]
jmp 0x51c9ca
mov eax, edi
mov ecx, ebp
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov eax, ecx
mov ecx, ebx
call sym.runtime.panicIndex
mov eax, esi
mov ecx, ebx
call sym.runtime.panicIndex
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.math_big.nat.divBasic