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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, dword [0x571180]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
cmp dword [esi + 0x58], 0
jge 0x45e23b
test byte [esi + 4], 2
lea eax, [esp + 0x70]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], VariantInit
push eax
mov dword [esp + 0x78], 0x1b00d9
je 0x45e22f
mov dword [esp + 0x78], 0x20002
call fcn.00461530
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x14]
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
test ecx, ecx
je 0x45e28b
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e282
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x45e2aa
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e2a1
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], edi
lea edx, [edi + 8]
mov dword [esp + 0x48], ecx
test ecx, ecx
jle 0x45e307
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x45e307
mov ecx, dword [0x57bab8]
test ecx, ecx
je 0x45e2ef
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call fcn.004d0435
add esp, 4
mov dword [esp + 0x40], eax
mov edx, 8
mov eax, dword [esi + 0x34]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x45e342
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x45e342
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e32d
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.004d0435
add esp, 4
mov dword [esp + 0x3c], eax
mov edi, eax
imul ecx, dword [esp + 0x48], 0xc4
push ecx
push 0
push dword [esp + 0x48]
call fcn.004c5080
mov eax, dword [esp + 0x50]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.004c5080
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [esi + 0x4c], 0
jle 0x45e4b4
mov eax, dword [esp + 0x40]
xor edx, edx
add eax, 0xa4
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x54]
add ecx, edx
mov dword [eax - 4], 0xffffffff
xor edx, edx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x34], edx
jle 0x45e50e
mov edi, dword [esp + 0x30]
or eax, 0xffffffff
mov ecx, eax
cmp eax, 0xffffffff
jne 0x45e3de
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x45e3d3
mov dword [edi - 4], edx
mov eax, edx
jmp 0x45e3d6
or eax, 0xffffffff
inc edx
mov ecx, eax
cmp edx, dword [esi + 0x34]
jl 0x45e3b6
mov edi, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x45e50e
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.004545c0
mov ecx, dword [esp + 0x30]
mov edx, esi
add ecx, 0xffffff5c
push eax
mov dword [esp + 0x10], ecx
call fcn.00454890
add esp, 4
test eax, eax
je 0x45e50e
mov eax, dword [esp + 0xc]
mov edx, 0x54c660
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x45e46f
nop dword [eax + eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x45e46b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x45e450
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [esp + 0x30], esi
inc eax
mov esi, dword [esp + 0x38]
mov dword [edi + edx*8 + 4], ecx
mov edx, dword [esp + 0x14]
add edx, 0x78
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x4c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
jl 0x45e394
mov eax, dword [esp + 0x48]
xor esi, esi
mov dword [esp + 0x18], esi
test eax, eax
jle 0x45e845
mov esi, dword [esp + 0x40]
add esi, 0xa8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
nop dword [eax + eax]
mov eax, dword [esi - 8]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi - 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0xc], ecx
cmp ecx, eax
jle 0x45e531
test eax, eax
je 0x45e518
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 8]
jmp 0x45e51d
mov byte [esp + 0x2f], 0
jmp 0x45f6ff
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 4]
cmovg eax, edx
push eax
call fcn.00452580
mov ecx, dword [esp + 0xc]
lea eax, [esi + 4]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [esi + 0xc]
call fcn.004c5080
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x1c], eax
cmp dword [eax], 0
jne 0x45e5ca
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], edx
cmp ecx, edx
jle 0x45e5ab
test edx, edx
je 0x45e58d
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0xc]
jmp 0x45e592
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x1c]
cmovg eax, edx
push eax
call fcn.00452580
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x20]
push 0
push dword [eax + 8]
call fcn.004c5080
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [esp + 0x1c], eax
cmp word [eax], 0
je 0x45e6a0
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x45e698
movzx edi, word [eax]
cmp edi, ecx
ja 0x45e67f
mov eax, dword [esp + 0x3c]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0xc], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x45e66a
mov ecx, dword [esp + 0x14]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.00454da0
test eax, eax
je 0x45e66a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
inc dword [eax]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x18]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x1c]
inc edi
mov edx, dword [esp + 0x20]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x45e5f8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x1c], eax
cmp word [eax], 0
jne 0x45e5e0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
add esi, 0xc4
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], esi
jne 0x45e4e0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add esi, 0xb8
mov dword [esp + 0x20], eax
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x45e732
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e6de
inc dword [eax + 0x374]
lea eax, [edi*4]
push eax
call fcn.004d0435
mov edx, dword [esi + 8]
add esp, 4
mov dword [esp + 0xc], eax
test edx, edx
je 0x45e72c
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004c51e0
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x45e71f
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e71f
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
cmp ecx, eax
jae 0x45e7f6
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x30], eax
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x45e7dc
xor edx, edx
mov edi, 1
mov dword [esp + 0x10], edx
nop word [eax + eax]
test edi, ecx
je 0x45e7cc
mov ecx, dword [esi + 4]
and eax, 0xffffffe0
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x45e7b2
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
test ecx, ecx
je 0x45e7a0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, ecx
jmp 0x45e7a5
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00452580
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
inc edx
rol edi, 1
mov dword [esp + 0x10], edx
cmp edx, 0x20
jb 0x45e770
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, 0x20
add ecx, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
cmp ecx, edx
jb 0x45e755
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x45e82a
mov eax, dword [0x57bab8]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x45e81a
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [esp + 0x20], 1
jne 0x45e6c7
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
jmp 0x45e847
xor esi, esi
cmp dword [esp + 0x44], 0
jle 0x45e8a6
lea eax, [edi + 0x14]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x45e896
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e883
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x10], eax
sub edi, 1
jne 0x45e860
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x45e8ca
mov eax, dword [0x57bab8]
test eax, eax
je 0x45e8b9
dec dword [eax + 0x374]
push edi
call fcn.004cb6de
add esp, 4
mov dword [esp + 0x3c], 0
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], edi
test esi, esi
jle 0x45e943
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x45e949
mov ecx, dword [0x57bab8]
test ecx, ecx
je 0x45e8f9
inc dword [ecx + 0x374]
shl eax, 4
push eax
call fcn.004d0435
mov edx, dword [0x57bab8]
add esp, 4
cmp esi, 8
mov dword [esp + 0x30], eax
mov edi, eax
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test edx, edx
je 0x45e928
inc dword [edx + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call fcn.004d0435
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x45e949
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, esi
shl eax, 4
push eax
push 0
push edi
call fcn.004c5080
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [esp + 0x24]
call fcn.004c5080
mov edx, dword [esp + 0x54]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x45ed1e
mov esi, dword [esp + 0x40]
xor edi, edi
add esi, 0x98
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], edx
nop dword [eax]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x45ed02
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], edx
add dword [esp + 0x14], edx
shl eax, 4
add eax, dword [esp + 0x30]
mov dword [esi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x38]
mov dword [esi], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [edx + edi + 0x10]
add edx, edi
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [esi - 8], al
mov al, byte [edx + 0x18]
mov byte [esi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x550938]
mov dword [esp + 0x54], edx
jbe 0x45ea7f
mov edi, dword [esi - 0x94]
mov eax, dword [esi - 0x7c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [esp + 0x20]
movsx esi, dx
mov eax, dword [ecx - 0x7c]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
mov edi, dword [esp + 0x10]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
mov esi, dword [esp + 0x20]
jmp 0x45eaa5
mov edx, dword [esi - 0x84]
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x5514f0]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x10]
divss xmm1, xmm0
movss dword [esp + 0x28], xmm1
cmp dword [esi + 0x20], ecx
jle 0x45ecfa
movzx eax, dx
xor edi, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], eax
nop word [eax + eax]
mov edx, dword [esi + 0x28]
mov edx, dword [edx + ecx*4]
lea ecx, [esi - 0x98]
call fcn.00454da0
mov ecx, dword [esp + 0x54]
mov edx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x9c], 0
movd xmm0, dword [ecx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movd xmm0, dword [ecx + 0x18]
lea ecx, [esp + 0xa0]
push ecx
cvtdq2ps xmm0, xmm0
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x2c]
mulss xmm0, xmm1
push ecx
lea ecx, [esi - 0x98]
movss dword [esp + 0x70], xmm0
call fcn.004551b0
add esp, 0x10
test eax, eax
jne 0x45eb6e
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
jmp 0x45ec87
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x550938]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x70], xmm0
fld qword [esp + 0x70]
fstp qword [esp]
call fcn.004e77f0
fstp qword [esp + 0x70]
movsd xmm0, qword [esp + 0x70]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [esp + 0xa8]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [esp + 0x68]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [esp + 0x70], eax
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call fcn.004e77f0
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0xac]
mov dword [esp + 0x28], eax
mulss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x550938]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
fstp qword [esp]
call fcn.004e4930
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [esp + 0xa4]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [esp + 0x68]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [esp + 0x60], eax
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fstp qword [esp]
call fcn.004e4930
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub ecx, eax
mov eax, dword [esi - 4]
dec cx
movss xmm1, dword [esp + 0x28]
add cx, word [edx + 0x14]
add cx, word [esp + 0x58]
mov word [eax + edi + 4], cx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x20]
mov eax, dword [esi - 4]
dec cx
add cx, word [edx + 0x18]
add cx, word [esp + 0x60]
mov word [eax + edi + 6], cx
mov eax, dword [esi - 4]
movzx ecx, word [eax + edi + 6]
movzx eax, word [eax + edi + 4]
add edi, 0x10
imul ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esi + 0x20]
jl 0x45eae0
mov edi, dword [esp + 0x10]
jmp 0x45ecfe
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esi, 0xc4
add edi, 0x78
sub dword [esp + 0xc], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edi
jne 0x45e9b0
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test ecx, ecx
jg 0x45ed92
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x45ed49
sqrtsd xmm0, xmm0
jmp 0x45ed4e
call fcn.004e76f0
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x550b80]
jb 0x45ed6e
mov ecx, 0x1000
jmp 0x45ed92
comiss xmm0, dword [0x550b7c]
jb 0x45ed7e
mov ecx, 0x800
jmp 0x45ed92
comiss xmm0, dword [0x550b70]
mov ecx, 0x200
mov eax, 0x400
cmovae ecx, eax
push 0x2c
lea eax, [esp + 0x74]
mov dword [edi + 0x1c], ecx
push 0
push eax
call fcn.004c5080
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [0x57bab8]
test eax, eax
je 0x45edc3
inc dword [eax + 0x374]
push 0x30
call fcn.004d0435
mov ecx, dword [0x57bab8]
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
sub eax, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x45edef
inc dword [ecx + 0x374]
shl eax, 3
push eax
call fcn.004d0435
add esp, 4
test esi, esi
je 0x45ee78
test eax, eax
je 0x45ee66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x34]
push edx
push eax
mov dword [esp + 0xa0], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x8c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], 1
mov dword [esp + 0x94], 0
call fcn.00453940
add esp, 0xc
jmp 0x45ee9d
mov eax, dword [0x57bab8]
test eax, eax
je 0x45ee75
dec dword [eax + 0x374]
push esi
jmp 0x45ee8d
test eax, eax
je 0x45ee95
mov ecx, dword [0x57bab8]
test ecx, ecx
je 0x45ee8c
dec dword [ecx + 0x374]
push eax
call fcn.004cb6de
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov esi, dword [edi + 0x40]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45eede
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x45eede
mov eax, dword [0x57bab8]
test eax, eax
je 0x45eece
inc dword [eax + 0x374]
shl ecx, 4
push ecx
call fcn.004d0435
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.004c5080
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x45ef28
mov edx, dword [esp + 0x14]
xor ecx, ecx
add edx, 6
xor esi, esi
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x45ef00
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push esi
call fcn.00453e10
add esp, 4
test esi, esi
jle 0x45ef93
mov edx, dword [esp + 0x14]
xor esi, esi
mov eax, dword [esp + 0x18]
add edx, 0xa
nop word [eax + eax]
cmp dword [edx + 2], 0
je 0x45ef84
mov ecx, dword [edi + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 8], ax
mov ecx, dword [edi + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x18]
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x45ef50
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45efb4
mov ecx, dword [0x57bab8]
test ecx, ecx
je 0x45efab
dec dword [ecx + 0x374]
push eax
call fcn.004cb6de
add esp, 4
mov esi, dword [esp + 0x48]
test esi, esi
jle 0x45f033
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add esi, 0xa8
mov dword [esp + 0x28], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x45f022
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00453e10
xor ecx, ecx
add esp, 4
mov dword [esp + 0xc], ecx
cmp dword [esi], ecx
jle 0x45f022
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x45f016
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xc]
inc ecx
add edx, 0x10
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi]
jl 0x45eff2
add esi, 0xc4
sub dword [esp + 0x28], 1
jne 0x45efd0
mov esi, dword [esp + 0x48]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x45f061
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x5509c8]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x57bab8]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x45f0a5
inc dword [eax + 0x374]
push ecx
call fcn.004d0435
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.004c5080
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x7c], eax
test esi, esi
jle 0x45f270
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x4c], eax
mov edx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], esi
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x45f24c
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.0045a730
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x5509c8]
movss dword [esp + 0x34], xmm1
lahf
test ah, 0x44
jnp 0x45f236
xor esi, esi
nop word [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5512f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.004c3650
movss xmm1, dword [esp + 0x34]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xa8], dl
inc esi
cmp esi, 0x100
jb 0x45f140
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x45f23a
lea ecx, [edx + 4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
nop dword [eax]
cmp dword [ecx + 8], 0
je 0x45f21e
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x45f212
mov eax, dword [esp + 0xc]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x45f207
nop word [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [esp + eax + 0xa8]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x45f1f0
mov eax, dword [esp + 0xc]
dec edi
add edx, eax
test edi, edi
jg 0x45f1e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
inc eax
add ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [edx + 0xa8]
jl 0x45f1b0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edx
jne 0x45f0f1
mov esi, dword [esp + 0x74]
jmp 0x45f274
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x98], 0
je 0x45f28d
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f28d
dec dword [eax + 0x374]
push dword [esp + 0x98]
call fcn.004cb6de
add esp, 4
test esi, esi
je 0x45f2af
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f2af
dec dword [eax + 0x374]
push esi
call fcn.004cb6de
mov ecx, dword [esp + 0x34]
add esp, 4
test ecx, ecx
je 0x45f2e0
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f2cf
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x45f6ad
mov ecx, dword [esp + 0x40]
xor edx, edx
movss xmm2, dword [0x550994]
add ecx, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
jmp 0x45f314
mov edi, dword [esp + 0x38]
cmp dword [ecx + 0xa4], 0
je 0x45f63d
mov esi, dword [ecx]
mov eax, dword [edi + 0x54]
mov edi, dword [ecx + 0x18]
add eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 5]
mov dword [esp + 0x28], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 6]
movsx eax, dx
movzx edx, byte [edi + esi + 7]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [esi + 0x10]
imul ecx, eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
add dx, cx
movsx ecx, dx
sub eax, ecx
mov dword [esp + 0x50], ecx
cmp byte [esi + 0x3c], 0
movd xmm0, eax
lea eax, [edi + 0x4c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x68], eax
divss xmm1, xmm0
movss dword [esp + 0x34], xmm1
jne 0x45f481
mov ecx, edi
call fcn.0045fb30
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [edi + 0x10], eax
xorps xmm5, xmm5
xor eax, eax
mov edx, dword [esp + 0x38]
mov dword [edi + 0x3c], esi
movd xmm0, ecx
mov ecx, dword [esp + 0x50]
movd xmm3, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], 0
movd xmm1, ecx
punpckldq xmm1, xmm3
movd xmm2, eax
punpckldq xmm2, xmm0
movd xmm0, ecx
xor ecx, ecx
cvtdq2ps xmm0, xmm0
mov dword [edi + 0x38], edx
punpckldq xmm2, xmm1
comiss xmm0, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
seta cl
xor eax, eax
cvtdq2ps xmm4, xmm2
lea ecx, [ecx*2 - 1]
movss xmm2, dword [esp + 0x34]
comiss xmm0, xmm5
mov dword [esp + 0x34], 0
movd xmm0, dword [esp + 0x50]
movaps xmm1, xmm2
movd xmm3, dword [esp + 0x34]
unpcklps xmm2, xmm1
seta al
mulps xmm4, xmm2
movd xmm1, ecx
lea eax, [eax*2 - 1]
punpckldq xmm1, xmm3
movd xmm2, eax
mov eax, dword [esp + 0x68]
punpckldq xmm2, xmm0
punpckldq xmm2, xmm1
cvtdq2ps xmm0, xmm2
movss xmm2, dword [0x550994]
addps xmm4, xmm0
cvttps2dq xmm0, xmm4
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
shufps xmm0, xmm0, 0x55
movss dword [edi + 0x50], xmm0
movss xmm0, dword [eax]
inc word [edi + 0x40]
addss xmm0, xmm2
mov ecx, dword [esp + 0x44]
movss xmm1, dword [esi + 0x28]
movss dword [esp + 0x68], xmm1
mov dword [esp + 0x10], 0
cmp dword [ecx + 0xa4], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x34], xmm0
jle 0x45f639
xor edi, edi
nop dword [eax]
mov eax, dword [ecx + 0xbc]
mov ecx, dword [ecx + 0x94]
mov edx, dword [esp + 0x10]
movss xmm7, dword [esi + 0x34]
movss xmm0, dword [ecx + edi + 0x10]
comiss xmm7, xmm0
mov eax, dword [eax + edx*4]
mov dword [esp + 0x50], eax
ja 0x45f500
movss xmm7, dword [esi + 0x38]
minss xmm7, xmm0
mov edx, dword [esp + 0x38]
movaps xmm6, xmm1
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x45f530
cmp byte [esi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x45f52c
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edx + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x5509c8]
movss xmm2, dword [0x5509c8]
movzx eax, word [ecx + edi]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
divss xmm3, xmm0
movzx eax, word [ecx + edi + 2]
movd xmm0, dword [edx + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
movzx eax, word [ecx + edi + 4]
divss xmm2, xmm0
movd xmm1, eax
movzx eax, word [ecx + edi + 6]
cvtdq2ps xmm4, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss xmm2, dword [ecx + edi + 8]
mulss xmm1, xmm3
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + edi + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [esp + 0x50]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [ecx + edi + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [ecx + edi + 0x14]
mov ecx, dword [esp + 0x44]
addss xmm0, xmm4
addss xmm3, dword [esp + 0x50]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [esp + 0x6c]
call fcn.00460020
mov eax, dword [esp + 0x10]
add edi, 0x1c
mov ecx, dword [esp + 0x44]
inc eax
movss xmm1, dword [esp + 0x68]
movss xmm2, dword [0x550994]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0xa4]
jl 0x45f4d0
mov edx, dword [esp + 0x18]
add ecx, 0xc4
add edx, 0x78
sub dword [esp + 0x4c], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], edx
jne 0x45f310
mov esi, dword [esp + 0x40]
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45f682
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f679
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x45f6a0
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f697
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
add esi, 0xc4
sub dword [esp + 0x48], 1
jne 0x45f663
mov ecx, dword [esp + 0x38]
call fcn.0045f760
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x2f], 1
test ecx, ecx
je 0x45f6db
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f6d2
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x45f6fb
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f6f2
dec dword [eax + 0x374]
push ecx
call fcn.004cb6de
add esp, 4
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x45f71b
mov eax, dword [0x57bab8]
test eax, eax
je 0x45f712
dec dword [eax + 0x374]
push edi
call fcn.004cb6de
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45f73c
mov ecx, dword [0x57bab8]
test ecx, ecx
je 0x45f733
dec dword [ecx + 0x374]
push eax
call fcn.004cb6de
add esp, 4
mov ecx, dword [esp + 0x1ac]
mov al, byte [esp + 0x2f]
pop edi
pop esi
xor ecx, esp
call fcn.004c2b19
mov esp, ebp
pop ebp
ret