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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov ecx, 0x70ac9b
push ebx
push esi
push edi
call fcn.0056b0a5
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x58]
cmp eax, 2
jl 0x5276ac
cmp dword [esi + 4], 0
jne 0x52728a
mov eax, 0xffffff76
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jl 0x5276ac
mov edi, dword [ebp + 0xc]
jg 0x5272a2
test edi, edi
jb 0x5276ac
cmp ebx, dword [esi + 0x14]
jg 0x5276ac
jl 0x5272b6
cmp edi, dword [esi + 0x10]
ja 0x5276ac
cmp eax, 3
jl 0x5272e3
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x5272dc
jg 0x5272ce
cmp edi, dword [ecx + eax*8]
jb 0x5272dc
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x5272e3
jg 0x5272dc
cmp edi, dword [ecx + eax*8 + 8]
jb 0x5272e3
mov ecx, esi
call fcn.005268a0
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.00550c40
lea ecx, [esi + 0x1e0]
call fcn.005281f0
push ebx
push edi
mov ecx, esi
call fcn.00525930
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
je 0x527341
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.00550460
mov ecx, esi
call fcn.005268a0
mov eax, 0xffffff77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00550390
lea ecx, [esp + 0x60]
call fcn.00550ba0
jmp 0x527374
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x58], 3
jl 0x52741c
cmp dword [esp + 0x60], 0
je 0x52741c
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x64]
call fcn.00550c80
add esp, 4
test eax, eax
jle 0x52741c
mov ecx, dword [esi + 0x60]
shl ecx, 5
add ecx, dword [esi + 0x48]
cmp dword [ecx + 0x1c], 0
je 0x527412
lea edx, [esp + 0x40]
call fcn.00529570
mov edi, eax
test edi, edi
jns 0x5273ca
xor edx, edx
lea ecx, [esi + 0x78]
call fcn.00550d90
xor edi, edi
jmp 0x5273f2
cmp dword [esp + 0x10], 0
je 0x5273e4
cmp dword [esp + 0x14], 0
jne 0x5273e4
xor edx, edx
lea ecx, [esi + 0x78]
call fcn.00550d90
jmp 0x5273f2
test ebx, ebx
je 0x5273f2
lea eax, [edi + ebx]
sar eax, 2
add dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov eax, ecx
mov ebx, dword [esp + 0x54]
and eax, ebx
cmp eax, 0xffffffff
jne 0x52753e
mov ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x527374
xor edx, edx
lea ecx, [esi + 0x78]
call fcn.00550d90
test ebx, ebx
jne 0x52765b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.005259c0
mov ecx, edx
mov dword [esp + 0x2c], eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
jl 0x527649
jg 0x527452
test eax, eax
jb 0x527649
cmp dword [esi + 0x58], 3
jl 0x52748a
lea ecx, [esp + 0x30]
call fcn.00550360
cmp dword [esi + 0x5c], eax
je 0x527480
mov eax, dword [esp + 0x30]
test byte [eax + 5], 2
je 0x527480
mov ecx, esi
call fcn.005268a0
lea ecx, [esp + 0x60]
call fcn.00550460
cmp dword [esi + 0x58], 3
jge 0x527511
lea ecx, [esp + 0x30]
call fcn.00550360
mov ebx, eax
xor edi, edi
mov eax, dword [esi + 0x34]
test eax, eax
jle 0x5274ad
mov ecx, dword [esi + 0x40]
cmp dword [ecx], ebx
je 0x5274ad
inc edi
add ecx, 4
cmp edi, eax
jl 0x5274a1
cmp edi, eax
je 0x527370
mov edx, ebx
mov dword [esi + 0x60], edi
lea ecx, [esi + 0x78]
mov dword [esi + 0x5c], ebx
call fcn.00550c40
cmp dword [esp + 0x60], 0
je 0x5274dc
lea ecx, [esp + 0x60]
call fcn.00550ba0
mov dword [esp + 0x1b0], ebx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x527505
jl 0x5274fb
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + edi*8]
ja 0x527505
mov dword [esp + 0x14], 1
jmp 0x52750d
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x30]
lea ecx, [esi + 0x78]
call fcn.005508c0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
call fcn.005508c0
mov eax, dword [esp + 0x30]
movzx edi, byte [eax + 5]
and edi, 4
mov dword [esp + 0x10], edi
jmp 0x527374
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x44]
mov dword [esp + 0x24], eax
shl eax, 4
sub ecx, dword [eax + edi]
sbb ebx, dword [eax + edi + 4]
mov dword [esp + 0x14], ebx
test ebx, ebx
jg 0x527575
jl 0x527560
test ecx, ecx
jae 0x527575
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
xorps xmm0, xmm0
xor edx, edx
cmp dword [esi + 0x60], 2
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x18], xmm0
jl 0x5275e1
mov edx, dword [esp + 0x24]
lea eax, [edi + 0x18]
mov edi, dword [esp + 0x30]
add edx, 0xfffffffe
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
shr edx, 1
inc edx
mov dword [esp + 0x10], edx
add edx, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
add edi, dword [eax - 0x10]
adc edx, dword [eax - 0xc]
add ebx, dword [eax]
adc esi, dword [eax + 4]
lea eax, [eax + 0x20]
sub dword [esp + 0x10], 1
jne 0x5275b3
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
jmp 0x5275fd
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp edx, dword [esi + 0x60]
jge 0x527610
mov eax, dword [esi + 0x44]
shl edx, 4
add ecx, dword [edx + eax + 8]
adc ebx, dword [edx + eax + 0xc]
mov eax, dword [esp + 0x2c]
cdq
sub edi, eax
mov eax, dword [esp + 0x10]
sbb eax, edx
add edi, dword [esp + 0x18]
adc eax, dword [esp + 0x28]
add edi, ecx
mov dword [esi + 0x50], edi
adc eax, ebx
mov dword [esi + 0x54], eax
test eax, eax
jg 0x527669
jl 0x527639
test edi, edi
jae 0x527669
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x527669
or edx, 0xffffffff
mov ecx, esi
call fcn.005271b0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x527669
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x52767a
push eax
call fcn.005550e4
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x52768b
push eax
call fcn.005550e4
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x52769c
push eax
call fcn.005550e4
add esp, 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x68], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffff7d
pop ebx
mov esp, ebp
pop ebp
ret