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

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x24
cmp eax, dword [esp + 0x38]
jne 0x101002ef
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 1
cmp eax, dword [esp + 0x3c]
je 0x101002f7
mov dword [esp + 8], 0
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
lea eax, [ebx - 1]
sar eax, cl
inc eax
shl eax, cl
push edi
cmp eax, ebx
je 0x10100328
push str.__gmpn_fft_next_size__pl__k___pl
push 0x3a6
push str.mul_fft.c
call fcn.100ebd40
add esp, 0xc
lea eax, [esi*4 + 4]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov edi, ebx
push eax
shl edi, 5
call fcn.100eb120
mov ecx, esi
mov edx, 2
shl edx, cl
mov ebx, eax
shl edx, 2
lea eax, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x40], ebx
call fcn.100eb120
add esp, 0x10
xor edx, edx
test esi, esi
js 0x1010037f
mov ecx, 1
mov dword [ebx + edx*4], eax
lea eax, [eax + ecx*4]
inc edx
rol ecx, 1
cmp edx, esi
jle 0x10100372
push esi
push ebx
call fcn.101009d0
mov ecx, esi
mov eax, 1
shl eax, cl
add esp, 8
sar edi, cl
mov ebx, 0x20
mov dword [esp + 0x14], eax
lea eax, [edi - 1]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
inc eax
mov dword [esp + 0x1c], eax
nop
test ecx, ecx
jle 0x101003bc
shr ebx, 1
dec ecx
test bl, 1
je 0x101003b0
inc edi
mov ecx, esi
shl ebx, cl
mov ecx, 0x235
lea eax, [esi + edi*2]
cdq
idiv ebx
lea ebp, [eax + 1]
imul ebp, ebx
mov eax, ebp
cdq
and edx, 0x1f
lea edi, [edx + eax]
mov eax, dword [esp + 0x18]
sar edi, 5
mov edx, 0x1d8
test eax, eax
cmovne ecx, edx
cmp edi, ecx
jl 0x1010045b
imul eax, eax, 0x248
add eax, 0x1015f368
mov ebx, dword [eax]
shr ebx, 0x1b
add eax, 4
mov dword [esp + 0x28], eax
mov edx, eax
mov ecx, ebx
mov esi, dword [edx]
mov eax, esi
and eax, 0x7ffffff
shl eax, cl
cmp edi, eax
jle 0x10100437
nop word [eax + eax]
mov ecx, esi
lea edx, [edx + 4]
mov esi, dword [edx]
mov eax, esi
shr ecx, 0x1b
and eax, 0x7ffffff
shl eax, cl
cmp edi, eax
jg 0x10100420
mov edx, 1
shl edx, cl
lea eax, [edx - 1]
test edi, eax
je 0x10100457
mov eax, dword [esp + 0x28]
dec edi
add edi, edx
neg edx
and edi, edx
mov ebp, edi
shl ebp, 5
jmp 0x10100407
mov esi, dword [esp + 0x50]
cmp edi, dword [esp + 0x3c]
jl 0x10100478
push str.nprime___pl
push 0x3cc
push str.mul_fft.c
call fcn.100ebd40
add esp, 0xc
lea eax, [edi*8 + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.100eb120
mov ebx, eax
mov ecx, esi
mov esi, dword [esp + 0x1c]
lea eax, [edi + 1]
imul eax, esi
sar ebp, cl
shl eax, 2
push eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
push eax
call fcn.100eb120
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
shl esi, 2
push esi
push eax
call fcn.100eb120
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.100eb120
mov esi, dword [esp + 0x3c]
push ebx
push ebp
push esi
push dword [esp + 0x70]
mov dword [esp + 0x54], eax
push dword [esp + 0x70]
push edi
push dword [esp + 0x4c]
push dword [esp + 0x64]
push dword [esp + 0x60]
call fcn.10101290
add esp, 0x44
cmp dword [esp + 0x18], 0
je 0x1010051f
mov eax, dword [esp + 0x14]
dec eax
imul eax, esi
add eax, edi
lea eax, [eax*4 + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.100eb120
add esp, 8
mov esi, eax
jmp 0x1010054f
push dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
call fcn.100eb120
push ebx
push ebp
push dword [esp + 0x2c]
mov esi, eax
push dword [esp + 0x60]
push dword [esp + 0x60]
push edi
push dword [esp + 0x34]
push dword [esp + 0x48]
push esi
call fcn.10101290
add esp, 0x2c
push dword [esp + 0x18]
push ebx
push dword [esp + 0x38]
push ebp
push dword [esp + 0x2c]
push edi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.10101440
mov esi, eax
add esp, 0x34
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10100592
push eax
call fcn.100eb150
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret