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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x10103300]
xor eax, esp
mov dword [esp + 0x90], eax
movsd xmm1, qword [ebp + 8]
mov edx, 0x7ff
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 0xc], xmm1
mov ecx, dword [esp + 0x10]
mov eax, ecx
push ebx
shr eax, 0x14
or ebx, 0xffffffff
push esi
and ax, dx
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [ebp + 0x18]
push edi
xor edi, edi
movzx esi, ax
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], edi
cmp ax, dx
jne 0xc59874
mov eax, dword [esp + 0x18]
and ecx, 0xfffff
or eax, ecx
mov dword [esp + 0x30], edi
jne 0xc5986c
xor esi, esi
inc esi
mov dword [esp + 0x3c], esi
jmp 0xc5990e
fld qword [ebp + 8]
jmp 0xc59ea5
xor esi, esi
inc esi
test ax, ax
jne 0xc598b3
mov eax, dword [esp + 0x18]
and ecx, 0xfffff
or eax, ecx
je 0xc598cc
lea eax, [esp + 0x18]
push eax
call fcn.00c1e620
movsd xmm0, qword [esp + 0x1c]
mov edx, 0x7ff
pop ecx
mov ecx, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x30], esi
movsd qword [esp + 0x40], xmm0
jmp 0xc598b7
mov eax, dword [esp + 0x10]
movzx ebx, ax
mov dword [esp + 0x10], ebx
push 0xffffffffffffffff
pop ebx
test ax, ax
jne 0xc598d6
cmp dword [esp + 0x30], esi
je 0xc598d6
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
jmp 0xc5990e
mov eax, dword [esp + 0x18]
and ecx, 0xbfefffff
mov dword [esp + 0x18], eax
or ecx, 0x3fe00000
mov eax, dword [esp + 0x10]
add eax, 0xfffffc02
mov dword [esp + 0x1c], ecx
movsd xmm0, qword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ebx
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x4c]
mov eax, ecx
shr eax, 0x14
and ax, dx
movzx edi, ax
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp + 0x10], edi
cmp ax, dx
jne 0xc5994f
mov eax, dword [esp + 0x48]
and ecx, 0xfffff
or eax, ecx
mov dword [esp + 0x10], edi
jne 0xc59947
mov dword [esp + 0xc], esi
jmp 0xc599ce
fld qword [ebp + 0x10]
jmp 0xc59ea5
test ax, ax
jne 0xc5997f
mov eax, dword [esp + 0x48]
and ecx, 0xfffff
or eax, ecx
je 0xc59998
lea eax, [esp + 0x48]
push eax
call fcn.00c1e620
pop ecx
mov ecx, dword [esp + 0x4c]
mov edx, 0x7ff
movzx eax, ax
mov dword [esp + 0x10], esi
jmp 0xc59983
mov eax, dword [esp + 0xc]
movzx edi, ax
mov dword [esp + 0xc], edi
push 0
pop edi
test ax, ax
jne 0xc599a2
cmp dword [esp + 0x10], esi
je 0xc599a2
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
jmp 0xc599ce
mov eax, dword [esp + 0x48]
and ecx, 0xbfefffff
mov dword [esp + 0x48], eax
or ecx, 0x3fe00000
mov eax, dword [esp + 0xc]
add eax, 0xfffffc02
mov dword [esp + 0x4c], ecx
movzx eax, ax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x14
and ax, dx
mov dword [esp + 0x14], edi
movzx ecx, ax
cmp ax, dx
jne 0xc59a06
mov edx, dword [esp + 0x20]
mov ecx, ebx
and ecx, 0xfffff
mov dword [esp + 0x14], edx
mov eax, edx
or eax, ecx
jne 0xc59a9f
mov eax, esi
mov ecx, edi
jmp 0xc59a84
test ax, ax
jne 0xc59a37
mov edx, dword [esp + 0x20]
mov ecx, ebx
and ecx, 0xfffff
mov dword [esp + 0x14], edx
mov eax, edx
or eax, ecx
je 0xc59a53
lea eax, [esp + 0x20]
push eax
call fcn.00c1e620
mov ebx, dword [esp + 0x28]
pop ecx
movzx ecx, ax
mov eax, esi
jmp 0xc59a3b
mov eax, dword [esp + 0x14]
movzx edx, cx
mov dword [esp + 0x18], edx
test cx, cx
jne 0xc59a59
cmp eax, esi
je 0xc59a59
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov ecx, edi
mov eax, edi
jmp 0xc59a84
mov eax, dword [esp + 0x18]
and ebx, 0xbfefffff
mov edx, dword [esp + 0x20]
add eax, 0xfffffc02
or ebx, 0x3fe00000
movzx ecx, ax
mov dword [esp + 0x14], edx
or eax, 0xffffffff
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
cmp word [esp + 0x3c], si
je 0xc59e6e
cmp word [esp + 0xc], si
je 0xc59e66
cmp ax, si
jne 0xc59aa7
fld qword [ebp + 0x18]
jmp 0xc59ea5
cmp word [esp + 0x3c], 0
je 0xc59e8d
cmp word [esp + 0xc], 0
je 0xc59e8d
test ax, ax
je 0xc59e8d
mov eax, dword [esp + 0x10]
movsx esi, ax
mov eax, dword [esp + 0x30]
cwde
add esi, eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [ebp + 0x14]
sub ecx, esi
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0x18]
xor esi, dword [ebp + 0x10]
xor esi, dword [ebp + 8]
xor eax, dword [ebp + 0xc]
jg 0xc59e8d
jl 0xc59afe
cmp esi, edi
jae 0xc59e8d
push 4
lea eax, [ecx + 2]
pop esi
cmp ax, si
ja 0xc59e8d
mov eax, ebx
movsx ecx, cx
shr eax, 0x14
mov esi, 0x7ff
and ax, si
mov dword [esp + 0x18], ecx
movzx edx, ax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
cmp ax, si
je 0xc59c78
test ax, ax
jne 0xc59b68
and ebx, 0xfffff
or edx, ebx
je 0xc59c78
lea eax, [esp + 0x20]
push eax
call fcn.00c1e620
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
pop ecx
mov ecx, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x14], edx
jmp 0xc59b6c
mov eax, dword [esp + 0x30]
cwde
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0xc59b9c
mov eax, esi
sub eax, dword [esp + 0xc]
cmp eax, ecx
jg 0xc59b98
and ebx, 0xfff00000
mov dword [esp + 0x20], edi
or ebx, 0x7ff00000
mov dword [esp + 0x24], ebx
jmp 0xc59c78
mov eax, dword [esp + 0xc]
neg eax
cmp eax, ecx
jge 0xc59bc7
mov eax, dword [esp + 0xc]
and ebx, 0x800fffff
add eax, ecx
xor ecx, ecx
or ecx, dword [esp + 0x14]
cdq
shl eax, 0x14
or eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0xc59c78
mov eax, ebx
mov dword [esp + 0x30], edi
and eax, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
dec eax
add eax, ecx
cmp eax, 0xffffffcb
jl 0xc59c6c
test eax, eax
jns 0xc59c6c
neg eax
and ebx, 0xfffff
push 0x40
movsx esi, ax
or ebx, 0x100000
pop ecx
mov eax, edx
sub ecx, esi
mov edx, ebx
call fcn.00c82280
mov dword [esp + 0x30], eax
mov ecx, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, ebx
call fcn.00c82440
or edx, dword [esp + 0x18]
mov ecx, eax
mov esi, dword [esp + 0x10]
mov ebx, 0x80000000
or ecx, edi
cmp esi, ebx
ja 0xc59c56
mov eax, dword [esp + 0x30]
jb 0xc59c41
cmp eax, edi
ja 0xc59c56
cmp eax, edi
jne 0xc59c5d
cmp esi, ebx
jne 0xc59c5d
xor esi, esi
mov eax, ecx
inc esi
and eax, esi
or eax, edi
je 0xc59c5d
jmp 0xc59c59
xor esi, esi
inc esi
add ecx, esi
adc edx, edi
mov dword [esp + 0x20], ecx
mov esi, 0x7ff
mov dword [esp + 0x24], edx
jmp 0xc59c78
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x20], xmm0
movsd xmm2, qword [esp + 0x40]
lea ecx, [esp + 0x58]
push 4
pop ebx
mov edx, ebx
call fcn.00c5929a
movsd xmm2, qword [esp + 0x48]
lea ecx, [esp + 0x48]
push 2
pop edx
call fcn.00c5929a
movsd xmm2, qword [esp + 0x20]
lea ecx, [esp + 0x20]
push 2
pop edx
call fcn.00c5929a
movsd xmm2, qword [esp + 0x48]
lea ecx, [esp + 0x58]
mov edx, ebx
call fcn.00c58eed
movsd xmm0, qword [esp + 0x50]
ucomisd xmm0, qword [0x10007e70]
lahf
test ah, 0x44
jnp 0xc59d0a
movsd xmm2, qword [esp + 0x40]
lea ecx, [esp + 0x78]
mov edx, ebx
call fcn.00c5929a
movsd xmm2, qword [esp + 0x50]
lea ecx, [esp + 0x78]
mov edx, ebx
call fcn.00c58eed
lea eax, [esp + 0x78]
mov edx, ebx
push ebx
push eax
lea ecx, [esp + 0x60]
call fcn.00c58e48
pop ecx
pop ecx
lea eax, [esp + 0x20]
mov edx, ebx
push 2
push eax
lea ecx, [esp + 0x60]
call fcn.00c58e48
pop ecx
pop ecx
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.00c58e8f
movsd qword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x14
and ax, si
movzx ecx, ax
cmp ax, si
je 0xc59e60
test ax, ax
jne 0xc59d70
mov eax, dword [esp + 0x20]
and ebx, 0xfffff
or eax, ebx
je 0xc59e60
lea eax, [esp + 0x20]
push eax
call fcn.00c1e620
mov ebx, dword [esp + 0x28]
pop ecx
movzx ecx, ax
movsx eax, cx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0xc59d9a
sub esi, eax
cmp esi, ecx
jg 0xc59d9a
and ebx, 0xfff00000
mov dword [esp + 0x20], edi
or ebx, 0x7ff00000
mov dword [esp + 0x24], ebx
jmp 0xc59e60
lea edx, [eax + ecx]
neg eax
cmp eax, ecx
jge 0xc59dc0
mov eax, edx
xor ecx, ecx
or dword [esp + 0x20], ecx
and ebx, 0x800fffff
cdq
shl eax, 0x14
or eax, ebx
mov dword [esp + 0x24], eax
jmp 0xc59e60
mov eax, ebx
mov dword [esp + 0x40], edi
and eax, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], eax
lea eax, [edx - 1]
cmp eax, 0xffffffcb
jl 0xc59e54
test eax, eax
jns 0xc59e54
neg eax
and ebx, 0xfffff
push 0x40
movsx esi, ax
or ebx, 0x100000
mov eax, dword [esp + 0x24]
mov edx, ebx
pop ecx
sub ecx, esi
call fcn.00c82280
mov dword [esp + 0x30], eax
mov ecx, esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, ebx
call fcn.00c82440
or edx, dword [esp + 0x18]
mov ecx, eax
mov esi, dword [esp + 0x10]
mov ebx, 0x80000000
or ecx, edi
cmp esi, ebx
ja 0xc59e45
mov eax, dword [esp + 0x30]
jb 0xc59e34
cmp eax, edi
ja 0xc59e45
cmp eax, edi
jne 0xc59e4a
cmp esi, ebx
jne 0xc59e4a
mov eax, ecx
and eax, 1
or eax, edi
je 0xc59e4a
add ecx, 1
adc edx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0xc59e60
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
jmp 0xc59ea5
cmp word [esp + 0x3c], 0
je 0xc59e98
cmp word [esp + 0xc], 0
je 0xc59e98
cmp ax, si
jne 0xc59e8d
mov eax, dword [ebp + 0x1c]
xor eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0xc]
and eax, 0x80000000
or edi, eax
jne 0xc59e98
fld qword [ebp + 8]
fmul qword [ebp + 0x10]
fadd qword [ebp + 0x18]
jmp 0xc59ea5
mov ecx, esi
call fcn.00be9ba9
fld qword [0x10007b98]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00c2c440
mov esp, ebp
pop ebp
ret