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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x4b507c]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0x80], eax
cmp dword [esi], 0
jne 0x414683
push 0x4c5
push str..._mpint.c
push str.x__nw___0
call fcn.0047b3ef
add esp, 0xc
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0xc]
test byte [eax], 1
jne 0x4146a5
push 0x4c6
push str..._mpint.c
push str.x__w_0___1
call fcn.0047b3ef
add esp, 0xc
test ebx, ebx
jne 0x4146c0
push 0x4c7
push str..._mpint.c
push str.p___0
call fcn.0047b3ef
add esp, 0xc
lea esi, [ebx + 0x1f]
shr esi, 5
xor eax, eax
inc eax
cmp esi, eax
cmovbe esi, eax
mov ecx, esi
call fcn.0041307f
mov dword [esp + 4], eax
lea eax, [esi + esi]
cmp esi, eax
cmovbe eax, esi
add eax, eax
lea edi, [eax + eax*2]
lea eax, [esi + esi*2]
lea ecx, [edi + eax*2]
call fcn.0041307f
movsd xmm0, qword [eax]
lea ecx, [esp + 0x78]
mov edx, edi
mov dword [esp + 0x24], eax
movsd qword [ecx], xmm0
call fcn.00414a9f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [esp + 0x18], edx
inc ecx
cmp ebx, 2
mov eax, dword [eax + 4]
mov dword [eax], ecx
jb 0x414a56
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
xor ecx, ecx
inc ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, 0x1f
lea edx, [ecx + eax]
add ecx, ecx
add eax, ecx
shr edx, 5
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
shr eax, 5
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
call fcn.00414a9f
mov ecx, dword [ebp + 8]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov edi, eax
mov esi, edx
mov ebx, dword [ecx]
cmp ebx, eax
cmova ebx, eax
lea eax, [ebx*4]
push eax
push dword [ecx + 4]
push edx
call fcn.00471c60
add esp, 0xc
mov eax, edi
lea ecx, [esi + ebx*4]
sub eax, ebx
shl eax, 2
push eax
push ecx
call fcn.00467374
add esp, 8
mov eax, dword [esp + 0x10]
shr eax, 5
cmp eax, edi
mov dword [esp], eax
jae 0x4147de
xor edx, edx
mov ecx, dword [esp + 0x10]
dec edx
mov eax, edx
shl eax, cl
mov ecx, dword [esp]
xor eax, edx
sub edi, ecx
lea ecx, [esi + ecx*4]
and dword [ecx], eax
add ecx, 4
xor eax, eax
dec edi
jne 0x4147d4
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x70]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, edx
mov dword [esp + 0x64], ecx
mov ecx, esi
cmovae eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.00414a9f
mov edi, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
lea edx, [esp + 0x68]
push dword [esp + 0x18]
push dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
call fcn.00413d97
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0x14]
mov edx, esi
call fcn.00414a9f
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
push ebx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00413716
add esp, 0xc
lea ecx, [esp + 0x70]
mov edx, esi
call fcn.00414a9f
mov esi, eax
mov dword [esp + 8], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
push ebx
push dword [ebp + 8]
lea eax, [esp + 0x50]
push eax
call fcn.00413716
add esp, 0xc
mov ecx, dword [esp]
cmp ecx, esi
jae 0x4148b9
xor edx, edx
mov edi, ecx
mov ecx, ebx
dec edx
sub esi, edi
mov eax, edx
shl eax, cl
mov ecx, dword [esp + 8]
xor eax, edx
lea ecx, [ecx + edi*4]
and dword [ecx], eax
add ecx, 4
xor eax, eax
dec esi
jne 0x4148a5
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
jmp 0x4148bd
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x60]
cmp edi, eax
cmovae edi, eax
mov dword [esp + 0x40], edi
push dword [esp + 0x18]
push dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
call fcn.00413d97
add esp, 0xc
test edi, edi
je 0x41495a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
xor esi, esi
xor edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + edx*4]
cmp dword [esp + 8], edx
mov eax, 0
jbe 0x41491c
mov eax, dword [esp + 0x34]
mov eax, dword [eax + edx*4]
xor ebx, ebx
add ecx, esi
setb bl
add ecx, eax
mov esi, ebx
mov ebx, dword [esp + 0xc]
adc esi, 0
test ebx, ebx
je 0x414935
mov dword [ebx + edx*4], ecx
inc edx
cmp edi, edx
jne 0x414907
xor edx, edx
mov eax, ebx
inc edx
mov esi, dword [eax]
xor ecx, ecx
not esi
add esi, edx
setb dl
test ebx, ebx
je 0x414950
mov dword [eax], esi
mov cl, dl
add eax, 4
dec edi
mov edx, ecx
jne 0x41493f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x70]
call fcn.00414a9f
mov esi, eax
mov edi, edx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
push dword [esp + 0x18]
push dword [esp + 0x20]
lea eax, [esp + 0x48]
push eax
call fcn.00413d97
add esp, 0xc
mov edx, dword [esp + 0x10]
and edx, 0x1f
cmp dword [esp], esi
jae 0x4149bb
mov ecx, edx
xor edx, edx
dec edx
mov eax, edx
shl eax, cl
xor eax, edx
mov edx, ecx
mov ecx, dword [esp]
sub esi, ecx
lea ecx, [edi + ecx*4]
and dword [ecx], eax
add ecx, 4
xor eax, eax
dec esi
jne 0x4149b1
push edx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00414395
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
sub edx, ecx
cmp eax, ecx
cmovb ecx, eax
sub eax, ecx
cmp eax, edx
cmovae eax, edx
test eax, eax
je 0x414a45
shl ecx, 2
mov ebx, dword [esp + 0x54]
xor edi, edi
xor esi, esi
mov dword [esp], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [esp + 8], ebx
add edx, dword [ecx + 4]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov ecx, dword [esp]
mov dword [esp + 0xc], edx
mov ebx, dword [ecx + esi*4]
cmp dword [esp + 0xc], esi
mov ecx, 0
jbe 0x414a2c
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + esi*4]
xor edx, edx
add ebx, edi
setb dl
add ebx, ecx
mov ecx, dword [esp]
adc edx, 0
mov edi, edx
mov dword [ecx + esi*4], ebx
inc esi
cmp eax, esi
jne 0x414a17
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
mov ecx, eax
jb 0x414738
mov edi, dword [esp + 4]
mov eax, ebx
shr eax, 5
cmp eax, dword [edi]
jae 0x414a7b
xor esi, esi
mov ecx, ebx
dec esi
mov edx, esi
shl edx, cl
xor edx, esi
mov ecx, dword [edi + 4]
and dword [ecx + eax*4], edx
inc eax
xor edx, edx
cmp eax, dword [edi]
jb 0x414a6e
push dword [esp + 0x24]
call fcn.00413137
add esp, 4
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0046f0c8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret