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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
and esp, 0xfffffff0
sub esp, 0x7c
mov edi, dword [eax]
cmp edi, 0x7f
jle 0x100075c0
sar edi, 1
lea eax, [esp + 0x1c]
mov edx, edi
call sym._mp_init_size
test eax, eax
jne 0x10007850
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], edi
sub edx, edi
mov edi, 0xfffffffe
call sym._mp_init_size
test eax, eax
jne 0x100075a9
mov ecx, dword [ebx]
lea eax, [esp + 0x3c]
lea edx, [ecx + ecx]
call sym._mp_init_size
test eax, eax
je 0x100075e0
mov edx, dword [esp + 0x38]
test edx, edx
je 0x100075a9
lea eax, [esp + 0x2c]
call sym._mp_clear.part.0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100075cc
lea eax, [esp + 0x1c]
call sym._mp_clear.part.0
jmp 0x100075cc
lea edx, [eax + 0xc]
mov ecx, esi
call sym._fast_s_mp_sqr.isra.0
mov edi, eax
mov dword [esi + 8], 0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx]
lea eax, [esp + 0x4c]
lea edx, [ecx + ecx]
call sym._mp_init_size
test eax, eax
jne 0x1000761f
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
mov dword [esp + 0x14], ecx
mov edx, ecx
lea ecx, [esp + 0x5c]
mov eax, ecx
call sym._mp_init_size
test eax, eax
je 0x10007640
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x1000761f
lea eax, [esp + 0x4c]
call sym._mp_clear.part.0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x10007598
lea eax, [esp + 0x3c]
call sym._mp_clear.part.0
jmp 0x10007598
mov edx, dword [ebx]
sub edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
add edx, edx
call sym._mp_init_size
test eax, eax
jne 0x10007831
mov edi, dword [ebx + 0xc]
mov edx, dword [esp + 0x28]
lea eax, [edi + 0xf]
mov dword [esp + 0x10], edx
sub eax, edx
cmp eax, 0x1e
jbe 0x10007874
mov ecx, dword [esp + 0x18]
mov eax, edi
shr ecx, 2
shl ecx, 4
add ecx, edi
movdqu xmm0, xmmword [eax]
add eax, 0x10
add edx, 0x10
movups xmmword [edx - 0x10], xmm0
cmp eax, ecx
jne 0x10007680
mov edx, dword [esp + 0x18]
mov eax, edx
and eax, 0xfffffffc
test dl, 3
je 0x100076c1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
nop
lea esi, [esi]
mov ebx, dword [edi + eax*4]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp edx, eax
jg 0x100076b0
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, edx
jge 0x100076ef
mov edx, eax
lea eax, [eax*4]
sub ecx, eax
mov eax, edx
lea esi, [esi]
mov edx, dword [edi + eax*4]
mov dword [ecx + eax*4], edx
mov edx, dword [ebx]
add eax, 1
cmp eax, edx
jl 0x100076e0
mov eax, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
jmp 0x10007715
sub eax, 1
mov dword [esp + 0x1c], eax
je 0x10007867
mov ecx, dword [edx + eax*4 - 4]
test ecx, ecx
je 0x10007708
lea edx, [esp + 0x5c]
lea eax, [esp + 0x1c]
call sym._mp_sqr
test eax, eax
jne 0x10007860
lea edx, [esp + 0x6c]
lea eax, [esp + 0x2c]
call sym._mp_sqr
test eax, eax
jne 0x10007860
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
call sym._mp_sub
test eax, eax
jne 0x10007860
lea edx, [esp + 0x3c]
mov eax, edx
call sym._mp_sqr
test eax, eax
jne 0x10007860
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x5c]
call sym._s_mp_add
test eax, eax
jne 0x10007860
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sym._mp_sub
test eax, eax
jne 0x10007860
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
call sym._mp_lshd
test eax, eax
jne 0x10007860
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
call sym._mp_lshd
test eax, eax
jne 0x10007860
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym._mp_add
test eax, eax
jne 0x10007860
lea eax, [esp + 0x6c]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym._mp_add
mov edi, eax
test eax, eax
jne 0x10007860
nop
lea esi, [esi]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10007831
lea eax, [esp + 0x6c]
call sym._mp_clear.part.0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1000760e
lea eax, [esp + 0x5c]
call sym._mp_clear.part.0
jmp 0x1000760e
mov edi, 0xfffffffe
jmp 0x100075cc
mov edi, 0xfffffffe
jmp 0x10007820
mov dword [esp + 0x24], 0
jmp 0x1000771d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov edx, edi
lea ecx, [edi + ecx*4]
lea esi, [esi]
mov ebx, dword [edx]
add edx, 4
add eax, 4
mov dword [eax - 4], ebx
cmp edx, ecx
jne 0x10007888
jmp 0x100076bd