Function at 0x413d97
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 edi, edx
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ebx, dword [eax]
mov eax, dword [edi]
cmp eax, ebx
cmova ebx, eax
mov eax, dword [esi]
cmp eax, ebx
cmovb ebx, eax
lea ecx, [ebx + ebx]
mov dword [esp + 0x20], ecx
lea ecx, [ecx + ecx*2]
cmp ecx, edx
jbe 0x413e00
push 0x3ea
push str..._mpint.c
push str.scratch.nw___mp_mul_scratchspace_unary_inlen_
call fcn.0047b3ef
add esp, 0xc
mov eax, dword [esi]
shl eax, 2
push eax
push dword [esi + 4]
call fcn.00467374
add esp, 8
mov dword [esp + 0x10], edi
mov edi, dword [edi]
cmp ebx, 0x18
jb 0x414060
test edi, edi
je 0x41405e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
je 0x414063
mov ecx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], esi
shr ecx, 1
sub dword [esp + 4], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 4]
cmp edi, dword [esp + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
cmovb ecx, edi
cmp eax, dword [esp + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
cmovb ecx, eax
sub edi, dword [esp + 8]
mov esi, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
cmp edi, ecx
cmovae edi, ecx
sub eax, esi
lea esi, [esp + 0x70]
cmp eax, ecx
cmovae eax, ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
mov dword [esi + 4], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
lea esi, [esp + 0x70]
mov dword [esi], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], edi
mov esi, dword [edx + 4]
lea edx, [esp + 0x68]
mov dword [edx], ecx
mov dword [edx + 4], esi
lea edx, [esi + ecx*4]
lea esi, [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov dword [esi + 4], edx
mov edx, dword [esp + 4]
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x60]
lea esi, [edx + edx]
mov dword [esp + 0x2c], eax
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], edi
mov edi, esi
mov dword [esp + 0x24], esi
mov eax, dword [eax]
cmp eax, esi
mov ecx, eax
mov esi, eax
cmovb edi, eax
cmp eax, edx
cmovb edx, eax
mov dword [esp + 0x28], edi
sub ecx, edx
cmp ecx, eax
cmovae ecx, eax
sub esi, edi
lea edi, [esp + 0x50]
cmp esi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
cmovae esi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
lea edi, [esp + 0x50]
lea edx, [eax + edx*4]
lea eax, [eax + ecx*4]
mov dword [edi], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x70]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx], esi
mov esi, ecx
lea ecx, [esp + 0x50]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00413d97
add esp, 0xc
mov ecx, esi
lea edx, [esp + 0x60]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.00413d97
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], eax
mov eax, dword [esp + 0x10]
jae 0x414136
cmp ebx, eax
lea ecx, [esp + 0x78]
mov edi, eax
cmovae ebx, eax
mov edx, ebx
call fcn.00414a9f
lea ecx, [esp + 0x40]
mov dword [esp + 8], edx
mov esi, eax
mov dword [ecx + 4], edx
lea edx, [esp + 0x78]
mov dword [ecx], eax
mov ebx, dword [edx + 4]
mov eax, dword [edx]
lea edx, [esp + 0x70]
push ebx
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00413d97
add esp, 0xc
test edi, edi
je 0x41433e
mov edi, dword [esp + 0x14]
mov dword [esp + 4], ebx
xor ebx, ebx
xor eax, eax
mov edx, dword [edi + eax*4]
cmp eax, esi
mov edi, 0
jae 0x413fed
mov ecx, dword [esp + 8]
mov edi, dword [ecx + eax*4]
xor ecx, ecx
add edx, ebx
setb cl
add edx, edi
mov edi, dword [esp + 0x14]
adc ecx, 0
mov ebx, ecx
mov dword [edi + eax*4], edx
inc eax
cmp dword [esp + 0x10], eax
jne 0x413fda
lea ecx, [esp + 0x40]
lea edx, [esp + 0x60]
push dword [esp + 4]
push dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
call fcn.00413d97
add esp, 0xc
xor ecx, ecx
xor eax, eax
mov edx, dword [edi + eax*4]
cmp eax, esi
mov edi, 0
jae 0x41403d
mov edi, dword [esp + 8]
mov edi, dword [edi + eax*4]
xor ebx, ebx
add edx, ecx
setb bl
add edx, edi
mov edi, dword [esp + 0x14]
adc ebx, 0
mov ecx, ebx
mov dword [edi + eax*4], edx
inc eax
cmp dword [esp + 0x10], eax
jne 0x41402a
jmp 0x414358
xor edi, edi
mov edx, dword [ebp + 8]
test edi, edi
jle 0x414358
mov eax, dword [esi]
test eax, eax
jle 0x414358
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 4]
lea ecx, [ebx + edi*4]
mov edi, esi
mov esi, dword [edx + 4]
mov edi, dword [edi + 4]
mov dword [esp + 4], ecx
mov ecx, dword [edx]
lea ecx, [esi + ecx*4]
lea eax, [edi + eax*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor ecx, ecx
cmp esi, dword [esp + 0x14]
mov dword [esp + 0xc], edi
jae 0x4140f7
cmp edi, dword [esp + 0x10]
jae 0x4140f7
mov eax, dword [ebx]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
add esi, 4
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
xor ecx, ecx
mul dword [esi - 4]
add ebx, dword [edi]
setb cl
add ebx, eax
mov eax, 4
adc ecx, edx
mov dword [edi], ebx
add edi, eax
cmp esi, dword [esp + 0x14]
jae 0x4140f0
mov eax, 4
mov ebx, ecx
add esi, eax
cmp edi, dword [esp + 0x10]
jb 0x4140c0
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp edi, esi
jae 0x41410f
xor eax, eax
add dword [edi], ecx
setb al
add edi, 4
cmp edi, esi
mov ecx, eax
jb 0x4140ff
mov eax, 4
mov edi, dword [esp + 0xc]
add ebx, eax
cmp ebx, dword [esp + 4]
jae 0x414358
add edi, eax
cmp edi, esi
jae 0x414358
mov esi, dword [edx + 4]
jmp 0x41409b
mov esi, dword [esp + 4]
lea ecx, [esp + 0x78]
inc esi
mov edx, esi
call fcn.00414a9f
mov ebx, edx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x78]
mov edx, esi
mov edi, eax
mov dword [esp + 0x40], eax
call fcn.00414a9f
test edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 4], edi
je 0x4141b6
xor edi, edi
xor eax, eax
cmp dword [esp + 8], eax
mov edx, 0
jbe 0x414183
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax*4]
xor esi, esi
cmp dword [esp + 0xc], eax
jbe 0x414192
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + eax*4]
xor ecx, ecx
add edx, edi
setb cl
add edx, esi
mov edi, ecx
adc edi, 0
test ebx, ebx
je 0x4141a7
mov dword [ebx + eax*4], edx
inc eax
cmp dword [esp + 4], eax
jne 0x414171
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
test eax, eax
je 0x414221
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
xor esi, esi
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
cmp dword [esp + 0xc], ebx
mov ecx, 0
jbe 0x4141f4
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + ebx*4]
xor edi, edi
cmp dword [esp + 4], ebx
jbe 0x414203
mov eax, dword [esp + 0x20]
mov edi, dword [eax + ebx*4]
xor eax, eax
add ecx, esi
setb al
add ecx, edi
mov esi, eax
adc esi, 0
test edx, edx
je 0x414218
mov dword [edx + ebx*4], ecx
mov eax, dword [esp + 8]
inc ebx
cmp eax, ebx
jne 0x4141e2
mov edx, dword [esp + 0x24]
lea ebx, [esp + 0x78]
mov ecx, ebx
or edx, 1
call fcn.00414a9f
lea ecx, [esp + 0x30]
mov edi, edx
mov esi, eax
mov dword [ecx + 4], edx
mov dword [ecx], eax
lea eax, [esp + 0x38]
lea edx, [esp + 0x40]
push dword [ebx + 4]
push dword [ebx]
push eax
call fcn.00413d97
add esp, 0xc
test esi, esi
mov dword [esp + 8], esi
je 0x4142f2
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
xor edx, edx
xor esi, esi
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov ecx, dword [edi + edx*4]
cmp dword [esp + 0xc], edx
mov eax, 0
jbe 0x41428c
mov eax, dword [esp + 4]
mov eax, dword [eax + edx*4]
xor ebx, ebx
add ecx, esi
not eax
setb bl
add ecx, eax
mov esi, ebx
adc esi, 0
test edi, edi
je 0x4142a3
mov dword [edi + edx*4], ecx
inc edx
cmp dword [esp + 8], edx
jne 0x414277
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
xor edx, edx
xor esi, esi
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov ecx, dword [edi + edx*4]
cmp dword [esp + 0xc], edx
mov eax, 0
jbe 0x4142d4
mov eax, dword [esp + 4]
mov eax, dword [eax + edx*4]
xor ebx, ebx
add ecx, esi
not eax
setb bl
add ecx, eax
mov esi, ebx
adc esi, 0
test edi, edi
je 0x4142eb
mov dword [edi + edx*4], ecx
inc edx
cmp dword [esp + 8], edx
jne 0x4142bf
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
je 0x414358
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 8], edx
xor edx, edx
mov edi, dword [ecx + edx*4]
cmp eax, edx
mov ecx, 0
jbe 0x414320
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + edx*4]
xor ebx, ebx
add edi, esi
setb bl
add edi, ecx
mov ecx, dword [esp + 0x14]
adc ebx, 0
mov esi, ebx
mov dword [ecx + edx*4], edi
inc edx
cmp dword [esp + 0x10], edx
jne 0x41430d
jmp 0x414358
lea ecx, [esp + 0x40]
lea edx, [esp + 0x60]
push ebx
push dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
call fcn.00413d97
add esp, 0xc
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0046f0c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret