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

Disassembly:
mov eax, 0x4c
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
movsd xmm3, qword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push esi
xor edx, edx
xor esi, esi
mov ecx, 6
test eax, eax
push edi
mov edi, dword [esp + 0x58]
cmovs eax, ecx
mov ecx, dword [esp + 0x78]
xorps xmm0, xmm0
comisd xmm0, xmm3
mov dword [esp + 8], edi
jbe 0x45270e
xorpd xmm3, xmmword [0x4f6540]
mov dword [esp + 0xc], 0x2d
jmp 0x45272c
test cl, 2
je 0x45271d
mov dword [esp + 0xc], 0x2b
jmp 0x45272c
test cl, 4
mov ecx, 0x20
cmovne edx, ecx
mov dword [esp + 0xc], edx
movsd xmm2, qword [0x4dc890]
movsd xmm4, qword [0x4f6538]
cvttsd2si ecx, xmm3
mov edx, 9
cmp eax, edx
cmovg eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x74], eax
movapd xmm1, xmm2
cmp eax, esi
je 0x452767
lea ebx, [ebx]
mulsd xmm1, xmm4
dec eax
jne 0x452760
movsd xmm5, qword [0x4f6530]
cvttsd2si edx, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm5
jb 0x452786
inc edx
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x452797
mov edi, edi
mulsd xmm2, xmm4
dec eax
jne 0x452790
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm0
mulsd xmm3, xmm2
cvttsd2si eax, xmm3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x18], eax
subsd xmm3, xmm0
comisd xmm3, xmm5
jb 0x4527c6
inc eax
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x4527d5
inc ecx
sub eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
xor edi, edi
jmp 0x4527e0
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
inc edi
lea eax, [ecx + ecx*4]
add eax, eax
sub esi, eax
mov al, byte [esi + str.0123456789abcdef]
mov byte [esp + edi + 0x27], al
mov esi, ecx
test esi, esi
je 0x45280e
cmp edi, 0x14
jl 0x4527e0
mov dword [esp + 0x14], edi
mov esi, 0
cmp edi, 0x14
jne 0x452827
mov eax, 0x13
mov dword [esp + 0x14], eax
jmp 0x452834
mov eax, dword [esp + 0x14]
cmp eax, 0x14
jae 0x452a5b
mov edi, dword [esp + 0x18]
mov byte [esp + eax + 0x28], 0
lea ecx, [ecx]
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x74]
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
inc esi
mov al, byte [edi + str.0123456789abcdef]
mov byte [esp + esi + 0x3b], al
mov edi, ecx
cmp esi, edx
jl 0x452840
mov edi, dword [esp + 8]
mov dword [esp + 0x18], esi
cmp esi, 0x14
jne 0x452885
mov esi, 0x13
mov dword [esp + 0x18], esi
jmp 0x45288b
jae 0x452a5b
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
setne al
mov byte [esp + esi + 0x3c], 0
mov esi, dword [esp + 0x70]
sub esi, eax
sub esi, dword [esp + 0x14]
mov eax, edx
sub esi, edx
sub eax, dword [esp + 0x18]
mov edx, 0
cmovs eax, edx
mov dword [esp + 0x10], eax
xor eax, eax
dec esi
cmovs esi, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], esi
test al, 1
je 0x4528d1
neg esi
mov dword [esp + 0x70], esi
test al, 0x10
je 0x452920
test esi, esi
jle 0x452944
test ecx, ecx
je 0x4528fe
push ecx
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
dec esi
add esp, 0x14
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0xc], eax
test esi, esi
jle 0x452944
push 0x30
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
dec esi
add esp, 0x14
test esi, esi
jg 0x452902
jmp 0x452940
test esi, esi
jle 0x452944
push 0x20
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
dec esi
add esp, 0x14
test esi, esi
jg 0x452924
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x452962
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
add esp, 0x14
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x452999
mov esi, dword [esp + 0x24]
mov edi, edi
dec eax
mov dword [esp + 0x14], eax
movsx eax, byte [esp + eax + 0x28]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
push edi
call fcn.004525f0
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
jg 0x452970
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
jg 0x4529a7
test byte [esp + 0x78], 8
je 0x4529f9
push 0x2e
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jle 0x4529f9
mov esi, dword [esp + 0x24]
lea ebx, [ebx]
dec eax
mov dword [esp + 0x18], eax
movsx eax, byte [esp + eax + 0x3c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
push edi
call fcn.004525f0
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jg 0x4529d0
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x10], 0
jle 0x452a29
mov esi, dword [esp + 0x24]
push 0x30
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
push edi
call fcn.004525f0
mov eax, dword [esp + 0x24]
dec eax
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jg 0x452a04
mov esi, dword [esp + 0x70]
test esi, esi
jns 0x452a4a
neg esi
nop
push 0x20
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x30]
push edi
call fcn.004525f0
add esp, 0x14
dec esi
jne 0x452a30
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.004c22ab
add esp, 0x4c
ret
call fcn.004c36c8
int3