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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x9df380]
mov ecx, dword [esp + 0x68]
sub eax, 2
push ebx
neg eax
sbb eax, eax
xor ebx, ebx
and al, 0xf9
push ebp
mov ebp, dword [esp + 0x74]
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [0x9df298]
push esi
cmp eax, ebx
push edi
jge 0x45b9e5
cmp ecx, 0x3f
jle 0x45b9e5
cmp ecx, 0x50
jge 0x45b9e5
cmp ebp, 0x400
jne 0x45c6df
cmp eax, 1
jle 0x45c303
cmp ecx, 0x3f
jle 0x45c303
cmp ecx, 0x50
jge 0x45c303
cmp ebp, 0x400
je 0x45c303
mov eax, dword [0x9cacd8]
mov ecx, dword [esp + 0x70]
fld dword [eax + 8]
fcomp dword [0x497058]
fnstsw ax
test ah, 0x40
jne 0x45ba8e
cmp ebp, 0xf
jge 0x45ba47
mov eax, 0xc
cdq
idiv ebp
push eax
push 0x40466666
push 0x3e4ccccd
push ecx
mov ecx, dword [0xc37f40]
push ecx
jmp 0x45ba83
cmp ebp, 0x2c
jle 0x45ba69
mov eax, 0x14
cdq
idiv ebp
mov edx, dword [0xc37f48]
push eax
push 0x40466666
push 0x3f19999a
push ecx
push edx
jmp 0x45ba83
mov eax, 0x2c
cdq
idiv ebp
push eax
mov eax, dword [0xc37f40]
push 0x40466666
push 0x3ecccccd
push ecx
push eax
push ebx
push 0xffffffffffffffff
call fcn.00473050
add esp, 0x1c
fild dword [esp + 0x7c]
fstp qword [esp + 0x34]
fild dword [0x9df298]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [0x497168]
fmul qword [esp + 0x34]
call fcn.0048c3f4
mov ebx, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x28], edi
xor esi, esi
call fcn.0048c2af
cdq
mov ecx, 5
idiv ecx
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fadd dword [esi + ebx]
fsub qword [0x497480]
fstp dword [esp + esi + 0x3c]
call fcn.0048c2af
cdq
mov ecx, 5
idiv ecx
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fadd dword [esi + ebx]
fsub qword [0x497360]
fstp dword [esp + esi + 0x48]
call fcn.0048c2af
cdq
mov ecx, 5
idiv ecx
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fadd dword [esi + ebx]
fsub qword [0x497360]
fstp dword [esp + esi + 0x54]
call fcn.0048c2af
cdq
mov ecx, 5
add esi, 4
idiv ecx
cmp esi, 0xc
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fadd dword [esi + ebx - 4]
fsub qword [0x497360]
fstp dword [esp + esi + 0x5c]
jl 0x45babf
cmp edi, 0xfffffffd
mov dword [esp + 0x7c], 0xfffffffd
jle 0x45c2b2
xor eax, eax
mov edi, 2
mov ecx, 0x3ecccccd
jmp 0x45bba3
mov ebx, dword [esp + 0x74]
mov ecx, 0x3ecccccd
xor eax, eax
mov edi, 2
mov esi, dword [0x9de8d8]
cmp esi, eax
je 0x45c6df
fld qword [esp + 0x34]
fdiv qword [0x497478]
mov edx, dword [esi + 0x10]
mov dword [0x9de8d8], edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x2c], 0x3f800000
mov dword [esi + 0x30], 0xbf000000
mov dword [esi + 0x68], eax
fmul qword [0x497470]
fstp dword [esi + 0x64]
mov eax, dword [0x9df078]
mov dword [esi + 0x10], eax
mov eax, dword [0x9df380]
cmp eax, edi
jne 0x45bc56
call fcn.0048c2af
and eax, 0x80000003
jns 0x45bc09
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, 8
mov dword [esi + 0x34], 0xa
sub ecx, eax
mov eax, 0x3e6b851f
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.0048c2af
and eax, 0x168
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp dword [esi + 0x5c]
call fcn.0048c2af
and eax, 0xfa
mov dword [esi + 0x60], 4
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp dword [esi + 0x74]
mov dword [0x9df078], esi
call fcn.0048c2af
and eax, 0x8000001f
jns 0x45bc6d
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [0x497450]
fadd qword [0xc3b960]
fstp dword [esi + 0x24]
call fcn.0048c2af
and eax, 6
mov edx, 0x4f
sub edx, eax
mov dword [esi + 0x3c], edx
mov eax, dword [0x9df298]
cmp eax, edi
jle 0x45bce0
call fcn.0048c2af
and eax, 0x8000001f
jns 0x45bcb8
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [0x497450]
fadd qword [0xc3b960]
mov dword [esi + 0x28], 0x12
fstp dword [esi + 0x24]
jmp 0x45bd13
mov dword [esi + 0x28], edi
call fcn.0048c2af
and eax, 0x80000001
jns 0x45bcf4
dec eax
or eax, 0xfffffffe
inc eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [0x497450]
fadd qword [0xc3b960]
fstp dword [esi + 0x24]
mov eax, dword [esp + 0x7c]
cmp eax, 0xc
jge 0x45bdad
fld qword [esp + 0x34]
mov ecx, dword [esp + 0x70]
mov eax, esi
fmul qword [0x4970b8]
neg eax
mov edi, esi
lea edx, [eax + ecx]
add eax, ebx
fstp qword [esp + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ebx, 3
call fcn.0048c2af
and eax, 0x80000003
jns 0x45bd5b
dec eax
or eax, 0xfffffffc
inc eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fadd dword [eax + edi]
fsub dword [0x497064]
fstp dword [edi]
call fcn.0048c2af
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
fild dword [esp + 0x78]
add edi, 4
dec ebx
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [esp + 0x20]
fmul dword [ecx + edi - 4]
fsub qword [esp + 0x34]
fstp dword [edi + 0x10]
jne 0x45bd4a
jmp 0x45c296
cmp eax, 0x1c
jge 0x45be72
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x1c], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
add eax, edx
mov ebx, eax
mov eax, 0x66666667
imul dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul qword [0x497410]
fstp qword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
sar ecx, 4
sar ebx, 3
add edx, eax
mov eax, esi
sub ebx, ecx
mov ecx, dword [esp + 0x70]
neg eax
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x10], edx
fstp dword [esp + 0x78]
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
fild dword [esp + 0x20]
add edi, 4
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + edx - 4]
fstp dword [edi - 4]
fld dword [edi + eax - 4]
fmul qword [esp + 0x2c]
dec dword [esp + 0x1c]
fstp dword [edi + 0x10]
fld dword [esp + 0x78]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jne 0x45be29
jmp 0x45c296
cmp eax, 0x60
jge 0x45bf3a
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x1c], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
add eax, edx
mov ebx, eax
mov eax, 0x66666667
imul dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul qword [0x497160]
fstp qword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
sar ecx, 4
sar ebx, 3
add edx, eax
mov eax, esi
sub ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
neg eax
fstp dword [esp + 0x78]
lea edx, [eax + ecx]
lea eax, [esp + eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + ecx - 4]
mov dword [esp + 0x1c], eax
fstp dword [edi - 4]
fld dword [edx + edi - 4]
fmul qword [esp + 0x2c]
fstp dword [edi + 0x10]
fld dword [esp + 0x78]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jne 0x45beec
jmp 0x45c296
cmp eax, 0x70
jge 0x45c002
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x1c], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
add eax, edx
mov ebx, eax
mov eax, 0x66666667
imul dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul qword [0x497160]
fstp qword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
sar ecx, 4
sar ebx, 3
add edx, eax
mov eax, esi
sub ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
neg eax
fstp dword [esp + 0x78]
lea edx, [eax + ecx]
lea eax, [esp + eax + 0x48]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + ecx - 4]
mov dword [esp + 0x1c], eax
fstp dword [edi - 4]
fld dword [edx + edi - 4]
fmul qword [esp + 0x2c]
fstp dword [edi + 0x10]
fld dword [esp + 0x78]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jne 0x45bfb4
jmp 0x45c296
cmp eax, 0x80
jge 0x45c0cc
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x1c], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
add eax, edx
mov ebx, eax
mov eax, 0x66666667
imul dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul qword [0x497160]
fstp qword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
sar ecx, 4
sar ebx, 3
add edx, eax
mov eax, esi
sub ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
neg eax
fstp dword [esp + 0x78]
lea edx, [eax + ecx]
lea eax, [esp + eax + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + ecx - 4]
mov dword [esp + 0x1c], eax
fstp dword [edi - 4]
fld dword [edx + edi - 4]
fmul qword [esp + 0x2c]
fstp dword [edi + 0x10]
fld dword [esp + 0x78]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jne 0x45c07e
jmp 0x45c296
cmp eax, 0x84
jge 0x45c196
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x1c], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
add eax, edx
mov ebx, eax
mov eax, 0x66666667
imul dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul qword [0x497160]
fstp qword [esp + 0x2c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
sar ecx, 4
sar ebx, 3
add edx, eax
mov eax, esi
sub ebx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
neg eax
fstp dword [esp + 0x78]
lea edx, [eax + ecx]
lea eax, [esp + eax + 0x60]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + ecx - 4]
mov dword [esp + 0x1c], eax
fstp dword [edi - 4]
fld dword [edx + edi - 4]
fmul qword [esp + 0x2c]
fstp dword [edi + 0x10]
fld dword [esp + 0x78]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jne 0x45c148
jmp 0x45c296
cmp eax, 0xc8
jle 0x45c24f
mov eax, ebp
mov edi, esi
cdq
fild dword [esp + 0x7c]
and edx, 0xf
mov dword [esp + 0x78], 3
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
fstp qword [esp + 0x2c]
and edx, 7
fld qword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x70]
fmul qword [0x4970b8]
mov ebx, eax
mov eax, esi
sar ecx, 4
sar ebx, 3
fstp qword [esp + 0x2c]
neg eax
sub ebx, ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x74]
add eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.0048c2af
and eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [edi + eax]
fstp dword [edi]
call fcn.0048c2af
cdq
idiv dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
add edi, 4
dec eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [edi + ecx - 4]
fsub qword [esp + 0x2c]
fstp dword [edi + 0x10]
jne 0x45c1f6
jmp 0x45c296
fild dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov ecx, esi
neg ecx
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fmul qword [0x497168]
add edx, ecx
lea edi, [ecx + ebx]
mov eax, esi
mov ecx, 3
fstp qword [esp + 0x2c]
mov ebx, dword [edx + eax]
mov dword [eax], ebx
fld dword [edi + eax]
fmul qword [esp + 0x2c]
add eax, 4
dec ecx
fstp dword [eax + 0x10]
fld dword [esi + 0x1c]
fadd st(0), st(0)
fstp dword [esi + 0x1c]
jne 0x45c279
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x7c], eax
jl 0x45bb93
jmp 0x45c2b6
mov esi, dword [esp + 0x70]
cmp dword [0x9df380], 2
jne 0x45c6df
mov eax, 0x2aaaaaab
mov dword [esi + 0x68], 0
imul ebp
sar edx, 3
mov eax, edx
pop edi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x6c], edx
fild dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul qword [0x497408]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x48], ecx
fstp dword [esi + 0x64]
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edx, dword [0x9df230]
fld dword [edx + 8]
fcomp dword [0x497058]
fnstsw ax
test ah, 0x40
jne 0x45c435
cmp ecx, 0xe0
jle 0x45c435
cmp ebp, ebx
mov dword [esp + 0x7c], ebx
jle 0x45c6df
mov esi, dword [0x9de8d8]
test esi, esi
je 0x45c6df
mov eax, dword [esi + 0x10]
mov ecx, dword [0x9df078]
mov dword [0x9de8d8], eax
mov dword [esi + 0x10], ecx
mov dword [0x9df078], esi
mov dword [esi + 0x40], 0xe
mov dword [esi + 0x34], 1
mov dword [esi + 0x44], 0
call fcn.0048c2af
cdq
mov ecx, 5
idiv ecx
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x497410]
fadd qword [0xc3b960]
mov dword [esi + 0x30], 0xbf800000
fstp dword [esi + 0x24]
call fcn.0048c2af
mov edx, eax
mov eax, dword [esp + 0x78]
xor edx, eax
mov ecx, dword [esp + 0x74]
and edx, 7
mov dword [esi + 0x28], 0x17
xor edx, eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x3c], edx
mov edi, esi
neg esi
lea ebx, [esi + eax]
add esi, ecx
mov dword [esp + 0x14], esi
mov esi, 3
mov edx, dword [ebx + edi]
mov dword [edi], edx
call fcn.0048c2af
cdq
mov ecx, 0x12c
add edi, 4
idiv ecx
dec esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [edx + edi - 4]
fmul dword [0x497468]
fadd dword [esp + 0x28]
fsub dword [0x4970a0]
fstp dword [edi + 0x10]
jne 0x45c3d8
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
add eax, edx
cmp eax, ebp
mov dword [esp + 0x7c], eax
jl 0x45c335
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp ebp, ebx
mov dword [esp + 0x7c], ebx
jle 0x45c6df
jmp 0x45c445
xor ebx, ebx
mov esi, dword [0x9de8d8]
mov edi, dword [esp + 0x70]
cmp esi, ebx
je 0x45c6df
mov eax, dword [esi + 0x10]
mov ecx, dword [0x9df078]
mov dword [0x9de8d8], eax
mov dword [esi + 0x10], ecx
mov dword [0x9df078], esi
cmp ebp, 0x400
mov dword [esi + 0x44], ebx
jne 0x45c586
fld qword [0xc3b960]
fadd qword [0x4970e8]
fstp dword [esi + 0x24]
mov edx, dword [str.omkigecaonmlkjhfmk]
mov dword [esi + 0x3c], edx
call fcn.0048c2af
and eax, 3
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esi + 0x20]
cmp dword [0x9df380], 2
je 0x45c6d6
test byte [esp + 0x7c], 1
je 0x45c521
mov dword [esi + 0x28], 4
sub edi, esi
mov ebx, 3
call fcn.0048c2af
and eax, 0x8000001f
jns 0x45c4db
dec eax
or eax, 0xffffffe0
inc eax
sub eax, 0x10
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fadd dword [edi + esi]
fstp dword [esi]
call fcn.0048c2af
and eax, 0x800001ff
jns 0x45c506
dec eax
or eax, 0xfffffe00
inc eax
sub eax, 0x100
add esi, 4
mov dword [esp + 0x28], eax
dec ebx
fild dword [esp + 0x28]
fstp dword [esi + 0x10]
jne 0x45c4ca
jmp 0x45c6b8
mov dword [esi + 0x28], 5
sub edi, esi
mov ebx, 3
call fcn.0048c2af
and eax, 0x8000001f
jns 0x45c540
dec eax
or eax, 0xffffffe0
inc eax
sub eax, 0x10
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fadd dword [edi + esi]
fstp dword [esi]
call fcn.0048c2af
and eax, 0x800001ff
jns 0x45c56b
dec eax
or eax, 0xfffffe00
inc eax
sub eax, 0x100
add esi, 4
mov dword [esp + 0x28], eax
dec ebx
fild dword [esp + 0x28]
fstp dword [esi + 0x10]
jne 0x45c52f
jmp 0x45c6b8
call fcn.0048c2af
cdq
mov ecx, 5
idiv ecx
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x4970d0]
fadd qword [0xc3b960]
fstp dword [esi + 0x24]
call fcn.0048c2af
mov edx, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
xor edx, eax
and edx, 7
mov dword [esi + 0x28], 2
xor edx, eax
mov eax, esi
neg eax
mov dword [esi + 0x3c], edx
mov edi, esi
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ebx, 3
call fcn.0048c2af
and eax, 0xf
mov edx, dword [esp + 0x10]
sub eax, 8
add edi, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
fild dword [esp + 0x28]
dec ebx
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fadd dword [edi + edx - 4]
fstp dword [edi - 4]
fld dword [edi + eax - 4]
fmul dword [0x497268]
fstp dword [edi + 0x10]
jne 0x45c5ee
mov eax, dword [0x9df298]
test eax, eax
je 0x45c649
mov eax, dword [esp + 0x78]
cmp eax, 0x3f
jle 0x45c649
cmp eax, 0x50
jge 0x45c649
mov dword [esi + 0x28], 0xb
cmp dword [0x9df380], 2
jne 0x45c6b8
mov eax, 0x3c23d70a
mov dword [esi + 0x2c], 0x3f800000
mov dword [esi + 0x44], 1
mov dword [esi + 0x34], 8
mov dword [esi + 0x64], 0x40400000
mov dword [esi + 0x68], 0
mov dword [esi + 0x30], 0xc039999a
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.0048c2af
and eax, 0x168
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esi + 0x5c]
call fcn.0048c2af
and eax, 0x190
mov dword [esi + 0x60], 4
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esi + 0x74]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
add eax, edx
cmp eax, ebp
mov dword [esp + 0x7c], eax
jl 0x45c443
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push edi
call fcn.0045b110
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret