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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec847
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x68f500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x1b0], ecx
cmp dword [edi + 0x468], 0
jge 0x489df6
test byte [edi], 2
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0xffffffff
lea ecx, [edi + 0x48]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
push eax
mov dword [ebp - 0x1d4], 0x1b00f5
je 0x489de7
mov dword [ebp - 0x1d4], 0x20002
call fcn.00489160
mov eax, dword [edi + 0x48]
dec eax
mov dword [edi + 0x468], eax
cmp dword [edi + 0x46c], 0
jge 0x489e63
test byte [edi], 4
jne 0x489e63
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0xffffffff
push eax
lea ecx, [edi + 0x48]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1d4], 0x400041
call fcn.00489160
mov eax, dword [edi + 0x48]
dec eax
mov dword [edi + 0x46c], eax
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00486b30
xor eax, eax
mov byte [ebp - 0x15d], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x1e0], esi
mov byte [ebp - 4], 1
lea edx, [eax + 8]
mov ecx, dword [edi + 0x54]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jle 0x489f35
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x164], eax
test eax, eax
jle 0x489f35
mov ecx, dword [0x694270]
test ecx, ecx
je 0x489f06
inc dword [ecx + 0xb0]
imul eax, eax, 0x54
push eax
call fcn.005b20eb
mov ecx, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x1f0], ecx
mov edx, 8
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f4], ecx
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x174], ecx
test ecx, ecx
jle 0x489f99
cmp ecx, 8
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x164], eax
test eax, eax
jle 0x489f99
mov ecx, dword [0x694270]
test ecx, ecx
je 0x489f6a
inc dword [ecx + 0xb0]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.005b20eb
mov ecx, dword [ebp - 0x174]
mov esi, eax
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], ecx
imul ecx, dword [ebp - 0x1a4], 0x54
push ecx
push 0
push dword [ebp - 0x18c]
call fcn.005adb30
mov eax, dword [ebp - 0x174]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call fcn.005adb30
add esp, 0xc
mov dword [ebp - 0x180], 0
cmp dword [edi + 0x54], 0
jle 0x48a122
mov edi, dword [ebp - 0x18c]
xor edx, edx
mov ecx, dword [ebp - 0x170]
add edi, 0x34
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], edi
mov eax, dword [ecx + 0x5c]
add eax, edx
mov dword [edi - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x17c], eax
cmp dword [ecx + 0x3c], edx
jle 0x48a18b
mov esi, dword [ebp - 0x190]
or edi, 0xffffffff
mov ecx, edi
cmp edi, 0xffffffff
jne 0x48a059
mov ecx, dword [ebp - 0x170]
or edi, edi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x44]
cmp eax, dword [ecx + edx*4]
jne 0x48a045
mov dword [esi - 4], edx
mov edi, edx
mov eax, dword [ebp - 0x170]
inc edx
mov ecx, edi
cmp edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x17c]
jl 0x48a026
mov esi, dword [ebp - 0x198]
cmp ecx, 0xffffffff
je 0x48a18b
push dword [ebx + 8]
mov edi, dword [ebp - 0x190]
push eax
push dword [ebp - 0x1b0]
lea ecx, [edi - 0x34]
call fcn.00489310
test al, al
je 0x48a18b
mov ecx, dword [ebp - 0x17c]
mov edx, 0x67afd8
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x15d], al
mov eax, dword [edi - 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x164], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [edi - 8], edx
cmp dword [edx], 0
je 0x48a0d6
nop dword [eax]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x48a0d6
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 8
mov dword [edi], ecx
cmp dword [edx], 0
jne 0x48a0c0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x180]
inc dword [esi + edx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
inc eax
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x194]
add edx, 0x78
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x194], edx
cmp eax, dword [ecx + 0x54]
jl 0x48a000
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [ebp - 0x190], edi
test eax, eax
jle 0x48a53a
mov edx, dword [ebp - 0x18c]
add edx, 0x44
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x178], edx
nop dword [eax]
mov eax, dword [edx - 0x14]
mov edi, dword [edx - 0x10]
add edi, 0x20
sar edi, 5
lea eax, [eax + eax*2]
mov dword [ebp - 0x168], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x164], eax
cmp edi, eax
jle 0x48a1c2
test eax, eax
je 0x48a197
cdq
sub eax, edx
mov edx, dword [ebp - 0x178]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x164]
jmp 0x48a19c
mov byte [ebp - 0x15d], 0
jmp 0x48b353
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x164], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004816f0
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x164]
jmp 0x48a1c5
lea eax, [edx - 8]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx]
call fcn.005adb30
mov eax, dword [ebp - 0x168]
add esp, 0xc
lea ecx, [eax*8 + 0xc]
add ecx, esi
mov dword [ebp - 0x17c], ecx
cmp dword [ecx], 0
jne 0x48a25a
mov edi, dword [esi + eax*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [ebp - 0x164], eax
cmp edi, eax
jle 0x48a23d
test eax, eax
je 0x48a21f
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x164]
jmp 0x48a224
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, dword [ebp - 0x17c]
push eax
call fcn.004816f0
mov ecx, dword [ebp - 0x17c]
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call fcn.005adb30
mov eax, dword [ebp - 0x168]
add esp, 0xc
mov edx, dword [ebp - 0x178]
mov ecx, dword [edx - 0x18]
mov dword [ebp - 0x17c], ecx
cmp dword [ecx], 0
je 0x48a343
mov esi, dword [ecx + 4]
test esi, esi
je 0x48a33d
mov edi, dword [ecx]
cmp edi, esi
jg 0x48a325
nop word [eax + eax]
mov ecx, edi
mov edx, 1
and ecx, 0x1f
mov esi, edi
shl edx, cl
mov ecx, dword [ebp - 0x198]
sar esi, 5
mov dword [ebp - 0x164], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x48a309
mov eax, dword [ebp - 0x178]
push edi
push dword [eax - 0x2c]
call fcn.004b57c0
mov edx, dword [ebp - 0x178]
add esp, 8
test eax, eax
je 0x48a30f
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x198]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x198]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x168]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x190]
mov edx, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
inc edi
mov eax, dword [ebp - 0x168]
cmp edi, dword [ecx + 4]
jle 0x48a290
mov eax, dword [ebp - 0x168]
add ecx, 8
mov dword [ebp - 0x17c], ecx
cmp dword [ecx], 0
jne 0x48a272
mov esi, dword [ebp - 0x198]
add edx, 0x54
sub dword [ebp - 0x180], 1
mov dword [ebp - 0x178], edx
jne 0x48a150
mov esi, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1a4]
add esi, 0x50
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x1a0], ecx
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x48a3df
mov eax, dword [0x694270]
test eax, eax
je 0x48a38b
inc dword [eax + 0xb0]
mov eax, edi
shl eax, 5
push eax
call fcn.005b20eb
mov edx, dword [esi]
add esp, 4
mov dword [ebp - 0x164], eax
test edx, edx
je 0x48a3da
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call fcn.005ad5b0
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x48a3cb
mov eax, dword [0x694270]
test eax, eax
je 0x48a3cb
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x180], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1b0], eax
cmp ecx, eax
jae 0x48a4e2
xor edx, edx
mov dword [ebp - 0x194], edx
mov eax, dword [ecx]
mov dword [ebp - 0x164], eax
test eax, eax
je 0x48a4c4
xor ecx, ecx
mov edi, 1
mov dword [ebp - 0x17c], ecx
test eax, edi
je 0x48a4ac
mov eax, dword [ebp - 0x168]
and edx, 0xffffffe0
add edx, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x1c0], edx
mov edx, dword [esi - 8]
mov eax, dword [eax - 4]
cmp edx, eax
jne 0x48a481
lea ecx, [edx + 1]
test eax, eax
je 0x48a465
cdq
sub eax, edx
mov edx, dword [ebp - 0x168]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x48a46a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.0048b4f0
mov ecx, dword [ebp - 0x17c]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
mov edx, dword [ebp - 0x194]
shl eax, 5
add eax, dword [esi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1c8]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
inc ecx
rol edi, 1
mov dword [ebp - 0x17c], ecx
cmp ecx, 0x20
jb 0x48a421
mov ecx, dword [ebp - 0x180]
add ecx, 4
add edx, 0x20
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x194], edx
cmp ecx, dword [ebp - 0x1b0]
jb 0x48a404
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x48a516
mov eax, dword [0x694270]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x48a506
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x1a0], 1
mov dword [ebp - 0x168], esi
jne 0x48a374
mov esi, dword [ebp - 0x198]
mov edi, dword [ebp - 0x190]
jmp 0x48a53c
xor edi, edi
cmp dword [ebp - 0x174], 0
jle 0x48a5a0
lea eax, [esi + 0x14]
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x48a58c
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x694270]
test eax, eax
je 0x48a577
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
mov eax, dword [ebp - 0x17c]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x17c], eax
sub esi, 1
jne 0x48a554
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x48a5de
mov eax, dword [0x694270]
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
test eax, eax
je 0x48a5c7
dec dword [eax + 0xb0]
push esi
call fcn.005b1e4a
add esp, 4
xor eax, eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x20c], eax
test edi, edi
jle 0x48a63b
cmp edi, 8
mov esi, edi
mov ecx, 8
cmovl esi, ecx
test esi, esi
jle 0x48a63b
mov eax, dword [0x694270]
test eax, eax
je 0x48a61a
inc dword [eax + 0xb0]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.005b20eb
add esp, 4
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], esi
lea ecx, [edi + edi*2]
mov dword [ebp - 0x214], edi
shl ecx, 3
push ecx
push 0
push eax
call fcn.005adb30
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 7
mov eax, dword [0x694270]
test eax, eax
je 0x48a67a
inc dword [eax + 0xb0]
push 0x40000
call fcn.005b20eb
mov ecx, dword [0x694270]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x48a699
inc dword [ecx + 0xb0]
push 0x20
call fcn.005b20eb
movss xmm0, dword [0x67bc0c]
xor ecx, ecx
mov dword [ebp - 0x190], eax
xor edi, edi
mov dword [ebp - 0x11c], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1a8], edi
test eax, eax
jle 0x48aa37
mov esi, dword [ebp - 0x18c]
xor edx, edx
mov dword [ebp - 0x188], eax
add esi, 0x48
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x19c], edx
nop
mov ecx, dword [eax + 0x5c]
add ecx, edx
cmp dword [esi - 0x10], 0
je 0x48aa04
mov edx, dword [ebp - 0x17c]
lea eax, [edi + edi*2]
add edi, dword [esi - 0x10]
mov dword [ebp - 0x1a8], edi
lea eax, [edx + eax*8]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
movss dword [ebp - 0x164], xmm1
lahf
test ah, 0x44
jnp 0x48a7a0
mov byte [ebp - 0x169], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67be10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.005abec0
movss xmm1, dword [ebp - 0x164]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x48a756
jmp 0x48a7a7
mov byte [ebp - 0x169], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1a0], 0
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x194], ecx
jle 0x48aa04
xor ecx, ecx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x184], ecx
nop dword [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.004b57c0
add esp, 8
test eax, eax
je 0x48a9d3
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.004b6130
add esp, 0xc
test eax, eax
jne 0x48a9d3
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x180], eax
je 0x48a833
push eax
call fcn.004bd4c0
mov eax, dword [ebp - 0x180]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x48a842
push eax
call fcn.004bd5b0
add esp, 4
mov eax, dword [ebp - 0x180]
add eax, 0x18
je 0x48a9d3
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x164], eax
call fcn.004b85c0
add esp, 8
test eax, eax
jne 0x48a9d3
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [ebp - 0x180], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x174]
sar eax, 6
movd xmm0, eax
mov eax, dword [ebp - 0x180]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [ebp - 0x168]
imul eax, ecx
shl eax, 2
mov dword [ebp - 0x168], eax
add eax, edx
cmp eax, 0x40000
jle 0x48a95b
xor eax, eax
mov dword [ebp - 0x174], eax
mov eax, dword [0x694270]
test eax, eax
je 0x48a916
inc dword [eax + 0xb0]
push 0x40000
call fcn.005b20eb
add esp, 4
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x124]
push eax
call fcn.004817e0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1b4], ecx
jmp 0x48a967
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x168]
mov dword [ebp - 0x174], edx
xor edx, edx
cmp byte [ebp - 0x169], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x180]
call fcn.00489510
mov edx, dword [ebp - 0x178]
mov eax, dword [esi - 0x20]
mov ecx, dword [edi]
add ecx, dword [ebp - 0x194]
mov dword [edx + eax + 4], ecx
mov eax, dword [esi - 0x20]
mov ecx, dword [edi + 4]
add ecx, dword [ebp - 0x194]
mov dword [edx + eax + 8], ecx
mov ecx, dword [esi - 0x20]
mov eax, dword [edx + ecx + 8]
imul eax, dword [edx + ecx + 4]
add dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x184]
inc eax
add dword [ebp - 0x178], 0x18
add ecx, 0x20
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x184], ecx
cmp eax, dword [esi]
jl 0x48a7e0
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x19c]
add esi, 0x54
movss xmm0, dword [0x67bc0c]
add edx, 0x78
sub dword [ebp - 0x188], 1
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x19c], edx
jne 0x48a710
mov ecx, dword [ebp - 0x1ac]
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x48aa50
sqrtsd xmm0, xmm0
jmp 0x48aa55
call fcn.005e4580
mov edi, dword [ebp - 0x170]
cvtsd2ss xmm0, xmm0
mov eax, dword [edi + 8]
mov dword [edi + 0x28], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x48aaad
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x67bd0c]
jb 0x48aa89
mov eax, 0x1000
jmp 0x48aaad
comiss xmm0, dword [0x67bd08]
jb 0x48aa99
mov eax, 0x800
jmp 0x48aaad
comiss xmm0, dword [0x67bcfc]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
mov ecx, edi
mov dword [ecx + 0x24], eax
xor ecx, ecx
sub eax, dword [edi + 0xc]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], ecx
test eax, eax
jle 0x48ab14
cmp eax, 8
mov esi, eax
mov edx, 8
cmovl esi, edx
test esi, esi
jle 0x48ab14
mov eax, dword [0x694270]
test eax, eax
je 0x48aaf1
inc dword [eax + 0xb0]
lea eax, [esi + esi*2]
shl eax, 2
push eax
call fcn.005b20eb
mov ecx, eax
mov dword [ebp - 0x204], esi
mov eax, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 0x200], ecx
mov edx, dword [edi + 0x24]
sub edx, dword [edi + 0xc]
push eax
push ecx
mov ecx, 0x8000
mov dword [ebp - 0x208], eax
sub ecx, dword [edi + 0xc]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.004899d0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x168], eax
mov esi, dword [ebp - 0x170]
mov edi, dword [esi + 0x48]
mov dword [ebp - 0x174], edi
test edi, edi
jle 0x48ab89
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x48ab89
mov eax, dword [0x694270]
test eax, eax
je 0x48ab74
inc dword [eax + 0xb0]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.005b20eb
add esp, 4
mov dword [ebp - 0x168], eax
lea ecx, [edi + edi*2]
shl ecx, 3
push ecx
push 0
push eax
call fcn.005adb30
add esp, 0xc
cmp dword [esi + 0x48], 0
jle 0x48abd8
mov edx, dword [ebp - 0x168]
xor ecx, ecx
add edx, 8
xor edi, edi
nop
mov eax, dword [esi + 0x50]
lea ecx, [ecx + 0x1c]
inc edi
lea edx, [edx + 0x18]
movzx eax, word [eax + ecx - 0x1c]
mov dword [edx - 0x1c], eax
mov eax, dword [esi + 0x50]
movzx eax, word [eax + ecx - 0x1a]
mov dword [edx - 0x18], eax
cmp edi, dword [esi + 0x48]
jl 0x48abb0
mov edi, dword [ebp - 0x174]
mov edx, dword [ebp - 0x168]
lea ecx, [ebp - 0x15c]
push edi
call fcn.004829a0
add esp, 4
test edi, edi
jle 0x48ac45
mov edx, dword [ebp - 0x168]
xor edi, edi
mov eax, dword [ebp - 0x174]
add edx, 0x10
cmp dword [edx + 4], 0
je 0x48ac34
mov eax, dword [esi + 0x50]
movzx ecx, word [edx - 4]
mov word [eax + edi + 4], cx
mov eax, dword [esi + 0x50]
movzx ecx, word [edx]
mov word [eax + edi + 6], cx
mov ecx, dword [edx - 8]
add ecx, dword [edx]
cmp dword [esi + 0x28], ecx
mov eax, dword [ebp - 0x174]
cmovge ecx, dword [esi + 0x28]
mov dword [esi + 0x28], ecx
add edi, 0x1c
add edx, 0x18
sub eax, 1
mov dword [ebp - 0x174], eax
jne 0x48ac02
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x48ac68
mov ecx, dword [0x694270]
test ecx, ecx
je 0x48ac5f
dec dword [ecx + 0xb0]
push eax
call fcn.005b1e4a
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1a4]
test eax, eax
jle 0x48ace1
mov esi, dword [ebp - 0x18c]
add esi, 0x38
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi]
test eax, eax
je 0x48accf
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x15c]
push eax
call fcn.00489b60
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x48accf
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0x14], 0
je 0x48acc7
mov ecx, dword [eax + edx + 0x10]
add ecx, dword [eax + edx + 8]
mov eax, dword [ebp - 0x170]
cmp dword [eax + 0x28], ecx
cmovge ecx, dword [eax + 0x28]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x18
cmp edi, dword [esi]
jl 0x48aca5
add esi, 0x54
sub dword [ebp - 0x1a8], 1
jne 0x48ac85
mov esi, dword [ebp - 0x170]
test byte [esi], 1
mov eax, dword [esi + 0x28]
jne 0x48ad0e
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
movss xmm2, dword [0x67bc0c]
lea edi, [eax + 1]
mov eax, dword [esi + 0x24]
movaps xmm1, xmm2
mov dword [esi + 0x28], edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
imul edi, eax
cmp byte [ebp - 0x15d], 0
divss xmm2, xmm0
mov eax, dword [0x694270]
movss dword [esi + 0x2c], xmm1
movss dword [esi + 0x30], xmm2
je 0x48ad6b
shl edi, 2
test eax, eax
je 0x48ad60
inc dword [eax + 0xb0]
push edi
call fcn.005b20eb
mov dword [esi + 0x20], eax
jmp 0x48ad7e
test eax, eax
je 0x48ad75
inc dword [eax + 0xb0]
push edi
call fcn.005b20eb
mov dword [esi + 0x1c], eax
add esp, 4
push edi
push 0
push eax
call fcn.005adb30
mov ecx, dword [ebp - 0x1a4]
xor al, al
add esp, 0xc
mov byte [ebp - 0x169], al
test ecx, ecx
jle 0x48b1d5
mov eax, dword [ebp - 0x18c]
xor edx, edx
add eax, 8
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x164], ecx
cmp dword [eax + 0x30], 0
je 0x48b1ae
mov ecx, dword [esi + 0x5c]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [ebp - 0x1b8], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x1a8], ecx
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x1ac], edx
movss dword [ebp - 0x19c], xmm0
lea eax, [edx + 0x58]
lea edi, [edx + 0x38]
mov dword [ebp - 0x188], eax
jne 0x48ae4c
mov ecx, edx
call fcn.00487900
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1a8]
movss xmm0, dword [ebp - 0x1b8]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x188]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x30], esi
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x19c]
movss dword [edx + 0x5c], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [0x67bbd4]
inc word [edi]
movss xmm2, dword [ecx + 0x28]
movss dword [ebp - 0x178], xmm2
mov dword [ebp - 0x1b8], 0
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esi + 0xc]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x180]
cmp dword [eax + 0x30], 0
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x174], xmm1
jle 0x48b19b
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x194], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp dword [eax + 4], 0
jne 0x48aecd
cmp dword [eax + 8], 0
je 0x48b165
mov edx, dword [eax + 0xc]
sub esp, 0x20
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x1f8]
movd xmm0, dword [edi + 8]
movd xmm7, dword [edi + 0xc]
add edx, dword [ebp - 0x1f8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x184], eax
mov eax, dword [edi]
movd xmm3, dword [ebp - 0x184]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x188], edx
movd xmm6, eax
add eax, edx
addss xmm0, xmm2
movd xmm4, edx
cvtdq2ps xmm7, xmm7
movd xmm2, eax
mov eax, dword [ebp - 0x184]
addss xmm7, xmm1
movd xmm1, dword [esi + 0x24]
add eax, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x19c], xmm0
addss xmm6, xmm0
movd xmm0, dword [esi + 0x28]
divss xmm4, xmm1
divss xmm2, xmm1
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
movd xmm5, ecx
mov ecx, dword [ebp - 0x1ac]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
addss xmm5, xmm7
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebp - 0x19c]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push dword [edi + 0x18]
push dword [ebp - 0x1a8]
call fcn.00487fd0
cmp byte [edi + 0x14], 0
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x28]
lea eax, [eax + eax*4]
je 0x48afe4
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x169], 1
mov ecx, dword [ebp - 0x170]
mov eax, dword [esi + 0x24]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x19c], eax
imul eax, dword [ebp - 0x184]
mov dword [ebp - 0x168], esi
test ecx, ecx
je 0x48b0a1
add eax, ecx
add eax, dword [ebp - 0x188]
cmp dword [edi + 4], 0
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x188], 0
jle 0x48b14f
lea ecx, [edx*4]
mov dword [ebp - 0x1dc], ecx
nop
xor ecx, ecx
test edx, edx
jle 0x48b072
add esi, 3
nop dword [eax]
mov edx, dword [ebp - 0x184]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x48b050
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x188]
add eax, dword [ebp - 0x19c]
inc ecx
add esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x168], esi
cmp ecx, dword [edi + 4]
jl 0x48b040
jmp 0x48b14f
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x188]
add ecx, eax
mov dword [ebp - 0x188], 0
cmp dword [edi + 4], 0
mov eax, dword [esi + 0x20]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x184], ecx
jle 0x48b155
mov eax, dword [ebp - 0x19c]
shl eax, 2
mov dword [ebp - 0x19c], eax
lea eax, [edx*4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x168]
xor esi, esi
test edx, edx
jle 0x48b125
sub eax, dword [ebp - 0x184]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ecx + eax]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x1dc]
cmp esi, edx
jl 0x48b103
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x188]
add ecx, dword [ebp - 0x19c]
inc esi
add eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x168], eax
cmp esi, dword [edi + 4]
jl 0x48b0f1
mov esi, dword [ebp - 0x170]
movss xmm2, dword [ebp - 0x178]
movss xmm1, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x180]
inc ecx
add dword [ebp - 0x194], 0x20
add dword [ebp - 0x1a0], 0x18
mov edx, dword [ebp - 0x194]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1b8], ecx
mov ecx, dword [ebp - 0x1a0]
jl 0x48aeb3
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x164]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x164], ecx
jne 0x48adc0
mov al, byte [ebp - 0x169]
xor edi, edi
mov byte [esi + 0x19], al
cmp dword [ebp - 0x1b4], edi
jle 0x48b216
mov esi, dword [ebp - 0x190]
mov ecx, dword [esi + edi*4]
test ecx, ecx
je 0x48b1fe
mov eax, dword [0x694270]
test eax, eax
je 0x48b1fe
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
inc edi
add esp, 4
cmp edi, dword [ebp - 0x1b4]
jl 0x48b1e8
mov esi, dword [ebp - 0x170]
mov edi, dword [ebp - 0x1a4]
test edi, edi
jle 0x48b295
mov esi, dword [ebp - 0x18c]
add esi, 0x18
nop dword [eax]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x48b24f
mov eax, dword [0x694270]
test eax, eax
je 0x48b246
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x48b26e
mov eax, dword [0x694270]
test eax, eax
je 0x48b265
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x48b287
push eax
call fcn.004b5340
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub edi, 1
jne 0x48b230
mov esi, dword [ebp - 0x170]
mov edi, dword [ebp - 0x18c]
test edi, edi
je 0x48b2d9
mov eax, dword [0x694270]
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
test eax, eax
je 0x48b2c2
dec dword [eax + 0xb0]
push edi
call fcn.005b1e4a
add esp, 4
xor edi, edi
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x1ec], edi
mov ecx, esi
call fcn.00487570
mov byte [ebp - 0x15d], 1
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x48b309
mov eax, dword [0x694270]
test eax, eax
je 0x48b300
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov ecx, dword [ebp - 0x190]
test ecx, ecx
je 0x48b32b
mov eax, dword [0x694270]
test eax, eax
je 0x48b322
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
je 0x48b34d
mov eax, dword [0x694270]
test eax, eax
je 0x48b344
dec dword [eax + 0xb0]
push ecx
call fcn.005b1e4a
add esp, 4
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x48b36f
mov eax, dword [0x694270]
test eax, eax
je 0x48b366
dec dword [eax + 0xb0]
push esi
call fcn.005b1e4a
add esp, 4
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x48b392
mov ecx, dword [0x694270]
test ecx, ecx
je 0x48b389
dec dword [ecx + 0xb0]
push eax
call fcn.005b1e4a
add esp, 4
mov al, byte [ebp - 0x15d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ab3d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret