Function at 0x100453d0
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 0x100d1257
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x10105018]
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 - 0x15c], edi
mov dword [ebp - 0x168], ecx
cmp dword [edi + 0x460], 0
jge 0x10045496
test byte [edi], 2
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1cc], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
push eax
mov dword [ebp - 0x1d0], 0x1b00d9
je 0x10045487
mov dword [ebp - 0x1d0], 0x20002
call fcn.10031270
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x10045503
test byte [edi], 4
jne 0x10045503
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1cc], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1d0], 0x400041
call fcn.10031270
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
mov ecx, dword [edi + 0x14]
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test ecx, ecx
je 0x10045553
mov eax, dword [0x10107a10]
test eax, eax
je 0x1004554a
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x10045572
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045569
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x11], 0
mov byte [ebp - 0x155], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x1dc], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x188], eax
test eax, eax
jle 0x10045617
cmp eax, ecx
mov edi, eax
cmovl edi, ecx
test edi, edi
jle 0x10045611
mov eax, dword [0x10107a10]
test eax, eax
je 0x100455e8
inc dword [eax + 0x370]
imul eax, edi, 0x54
push eax
call fcn.100b79e3
mov dword [ebp - 0x17c], eax
add esp, 4
mov dword [ebp - 0x1e8], eax
mov ecx, 8
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1ec], edi
mov edi, dword [ebp - 0x15c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x10045674
cmp eax, 8
mov edi, eax
cmovl edi, ecx
test edi, edi
jle 0x1004566e
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045645
inc dword [eax + 0x370]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call fcn.100b79e3
mov esi, eax
mov dword [ebp - 0x1e0], edi
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x1dc], esi
mov edi, dword [ebp - 0x15c]
imul ecx, dword [ebp - 0x188], 0x54
mov dword [ebp - 0x1e4], eax
push ecx
push 0
push dword [ebp - 0x17c]
call fcn.100aaf70
mov eax, dword [ebp - 0x160]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call fcn.100aaf70
add esp, 0xc
mov dword [ebp - 0x174], 0
cmp dword [edi + 0x4c], 0
jle 0x100457f3
mov edi, dword [ebp - 0x17c]
xor eax, eax
mov ecx, dword [ebp - 0x15c]
add edi, 0x34
mov dword [ebp - 0x190], eax
mov ecx, dword [ecx + 0x54]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x15c]
cmp dword [ecx + 0x34], edx
jle 0x1004585b
or esi, 0xffffffff
nop dword [eax + eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x1004572d
mov eax, dword [ebp - 0x170]
or esi, esi
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1004571f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x34]
jl 0x10045700
cmp eax, 0xffffffff
je 0x1004585b
push dword [ebx + 8]
mov esi, dword [ebp - 0x170]
lea ecx, [edi - 0x34]
push esi
push dword [ebp - 0x168]
call fcn.10044b80
test al, al
je 0x1004585b
mov eax, dword [esi + 0x40]
mov edx, 0x100fc508
shr eax, 8
and al, 1
or byte [ebp - 0x155], al
mov eax, dword [edi - 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [ebp - 0x170], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x100457a7
movzx eax, word [edx + 2]
test ax, ax
je 0x100457a1
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10045786
mov ecx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x190]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov esi, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x15c]
inc esi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x190], eax
cmp esi, dword [ecx + 0x4c]
jl 0x100456d5
mov eax, dword [ebp - 0x188]
xor esi, esi
mov dword [ebp - 0x180], esi
test eax, eax
jle 0x10045bbf
mov edx, dword [ebp - 0x17c]
add edx, 0x44
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], edx
nop
mov eax, dword [edx - 0x14]
mov edi, dword [edx - 0x10]
add edi, 0x20
sar edi, 5
lea esi, [eax + eax*2]
mov eax, dword [edx - 4]
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x168], eax
cmp edi, eax
jle 0x10045892
test eax, eax
je 0x10045867
cdq
sub eax, edx
mov edx, dword [ebp - 0x16c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x168]
jmp 0x1004586c
mov byte [ebp - 0x155], 0
jmp 0x100469dc
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x168], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1000b390
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
jmp 0x10045895
lea eax, [edx - 8]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx]
call fcn.100aaf70
mov eax, dword [ebp - 0x18c]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x10045909
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x100458f1
test eax, eax
je 0x100458dc
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100458e1
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1000b390
lea eax, [esi*4]
mov dword [edi + 0xc], esi
push eax
push 0
push dword [edi + 0x14]
call fcn.100aaf70
add esp, 0xc
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x194], eax
cmp word [eax], 0
je 0x100459f1
movzx ecx, word [eax + 2]
test cx, cx
je 0x100459f1
movzx edi, word [eax]
cmp edi, ecx
ja 0x100459d8
nop word [eax + eax]
mov eax, dword [ebp - 0x184]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x18c]
sar esi, 5
mov dword [ebp - 0x168], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100459bf
mov eax, dword [ebp - 0x16c]
push edi
push dword [eax - 0x2c]
call fcn.10047ac0
mov edx, dword [ebp - 0x16c]
add esp, 8
test eax, eax
je 0x100459c5
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x18c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x18c]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x184]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x180]
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x194]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10045940
mov eax, dword [ebp - 0x194]
add eax, 4
mov dword [ebp - 0x194], eax
cmp word [eax], 0
jne 0x10045922
add edx, 0x54
sub dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], edx
jne 0x10045820
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x188]
add esi, 0x50
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x174], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x10045a8d
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045a39
inc dword [eax + 0x370]
mov eax, edi
shl eax, 5
push eax
call fcn.100b79e3
mov edx, dword [esi]
add esp, 4
mov dword [ebp - 0x168], eax
test edx, edx
je 0x10045a88
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call fcn.100aa9f0
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x10045a79
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045a79
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
mov eax, dword [ebp - 0x168]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x170], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1a4], eax
cmp ecx, eax
jae 0x10045b6d
mov eax, dword [edx]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x10045b58
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x168], eax
je 0x10045b4e
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x1b0]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x1bc], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x10045b2d
inc ecx
test eax, eax
je 0x10045b11
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x10045b16
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.10046b80
mov edx, dword [ebp - 0x170]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
mov ecx, dword [ebp - 0x184]
shl eax, 5
add eax, dword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1c4]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, ecx
inc edi
cmp edi, 0x20
jb 0x10045ac4
add edx, 4
mov dword [ebp - 0x170], edx
cmp edx, dword [ebp - 0x1a4]
jb 0x10045ab2
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x10045ba1
mov eax, dword [0x10107a10]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x10045b91
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x174], 1
mov dword [ebp - 0x184], esi
jne 0x10045a22
mov esi, dword [ebp - 0x180]
jmp 0x10045bc1
xor esi, esi
cmp dword [ebp - 0x160], 0
jle 0x10045c26
mov edi, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x160]
add edi, 0x14
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10045c18
mov eax, dword [0x10107a10]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x10045c03
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x160], eax
jne 0x10045be0
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x10045c6b
mov ecx, dword [0x10107a10]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1e4], 0
test ecx, ecx
je 0x10045c54
dec dword [ecx + 0x370]
push eax
call fcn.100b1148
add esp, 4
xor eax, eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1dc], eax
xor eax, eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x204], eax
test esi, esi
jle 0x10045cc7
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10045cc7
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045ca7
inc dword [eax + 0x370]
mov eax, edi
shl eax, 4
push eax
call fcn.100b79e3
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x20c], esi
shl esi, 4
push esi
push 0
push eax
call fcn.100aaf70
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 7
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045d03
inc dword [eax + 0x370]
push 0x40000
call fcn.100b79e3
mov ecx, dword [0x10107a10]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x10045d22
inc dword [ecx + 0x370]
push 0x20
call fcn.100b79e3
movss xmm0, dword [0x100fcbb4]
xor ecx, ecx
mov dword [ebp - 0x184], eax
xor edi, edi
mov dword [ebp - 0x11c], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x198], edi
test eax, eax
jle 0x100460e0
mov esi, dword [ebp - 0x17c]
xor edx, edx
add esi, 0x48
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x178], esi
nop
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x100460a7
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x170]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x198], edi
movss dword [ebp - 0x168], xmm1
lahf
test ah, 0x44
jnp 0x10045e2f
mov byte [ebp - 0x161], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100fcfd0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100cd090
movss xmm1, dword [ebp - 0x168]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x10045de5
jmp 0x10045e36
mov byte [ebp - 0x161], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x190], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1a4], eax
jle 0x100460a1
xor ecx, ecx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1ac], ecx
nop word [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.10047ac0
add esp, 8
test eax, eax
je 0x10046076
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.10048490
add esp, 0xc
test eax, eax
jne 0x10046076
test byte [esi - 0x2c], 0x20
mov ecx, dword [esi - 0x30]
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x174], eax
je 0x10045ec6
push eax
call fcn.1004f750
mov ecx, dword [esi - 0x30]
add esp, 4
mov eax, dword [ebp - 0x174]
test byte [esi - 0x2c], 0x40
je 0x10045ed8
push eax
call fcn.1004f840
mov ecx, dword [esi - 0x30]
add esp, 4
mov eax, dword [ebp - 0x174]
add eax, 0x18
je 0x10046076
push dword [esi - 0x24]
mov eax, dword [ecx + 0x54]
push eax
mov dword [ebp - 0x168], eax
call fcn.1004a7b0
add esp, 8
test eax, eax
je 0x10045f0c
mov dword [ebp - 0x174], 0
jmp 0x10045f6d
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + 0x50]
add ecx, 0x4c
mov dword [edi], eax
mov dword [ebp - 0x174], ecx
mov eax, dword [ecx]
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 - 0x168]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [ecx + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [edi]
imul eax, dword [edi + 4]
mov edx, dword [ebp - 0x160]
shl eax, 2
mov dword [ebp - 0x1b0], eax
add eax, edx
cmp eax, 0x40000
jle 0x10045fe7
xor eax, eax
mov dword [ebp - 0x160], eax
mov eax, dword [0x10107a10]
test eax, eax
je 0x10045fa2
inc dword [eax + 0x370]
push 0x40000
call fcn.100b79e3
add esp, 4
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x124]
push eax
call fcn.100297f0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x194], ecx
jmp 0x10045ff3
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x194]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x160], edx
xor edx, edx
cmp byte [ebp - 0x161], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x174]
call fcn.10044d80
mov eax, dword [ebp - 0x1a4]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [ebp - 0x16c]
mov word [eax + esi + 4], cx
mov esi, dword [ebp - 0x178]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [ebp - 0x16c]
mov eax, dword [esi - 0x20]
mov word [eax + edx + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add dword [ebp - 0x180], ecx
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1ac]
inc eax
add dword [ebp - 0x16c], 0x10
add ecx, 0x20
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1ac], ecx
cmp eax, dword [esi]
jl 0x10045e70
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x1a8]
add esi, 0x54
movss xmm0, dword [0x100fcbb4]
add edx, 0x78
sub dword [ebp - 0x1b4], 1
mov edi, dword [ebp - 0x198]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x1a8], edx
jne 0x10045da0
mov ecx, dword [ebp - 0x180]
movd xmm0, ecx
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x100460f9
sqrtsd xmm0, xmm0
jmp 0x100460fe
call fcn.100ce920
mov ecx, dword [ebp - 0x15c]
cvtsd2ss xmm0, xmm0
mov esi, dword [ecx + 8]
mov dword [ecx + 0x20], 0
cvttss2si eax, xmm0
inc eax
test esi, esi
jg 0x10046156
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x100fcc84]
jb 0x10046132
mov esi, 0x1000
jmp 0x10046156
comiss xmm0, dword [0x100fcc80]
jb 0x10046142
mov esi, 0x800
jmp 0x10046156
comiss xmm0, dword [0x100fcc74]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [ecx + 0x1c], esi
xor eax, eax
sub esi, dword [ecx + 0xc]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], eax
test esi, esi
jle 0x100461b4
cmp esi, 8
mov edi, esi
mov edx, 8
cmovl edi, edx
test edi, edi
jle 0x100461b4
mov eax, dword [0x10107a10]
test eax, eax
je 0x10046192
inc dword [eax + 0x370]
lea eax, [edi*8]
push eax
call fcn.100b79e3
mov ecx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1fc], edi
mov edx, dword [ecx + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x200], esi
call fcn.10045250
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ecx + 0x40]
mov dword [ebp - 0x168], edi
test edi, edi
jle 0x1004621b
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x1004621b
mov eax, dword [0x10107a10]
test eax, eax
je 0x10046209
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call fcn.100b79e3
add esp, 4
mov dword [ebp - 0x160], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call fcn.100aaf70
mov eax, dword [ebp - 0x15c]
xor esi, esi
add esp, 0xc
cmp dword [eax + 0x40], esi
jle 0x10046270
mov edx, dword [ebp - 0x160]
xor ecx, ecx
add edx, 6
mov edi, eax
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x10046246
mov edi, dword [ebp - 0x168]
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x154]
push edi
call fcn.1002a4b0
add esp, 4
test edi, edi
jle 0x100462e1
mov edx, dword [ebp - 0x160]
xor esi, esi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x100462d6
mov eax, dword [ebp - 0x15c]
movzx ecx, word [edx - 2]
mov eax, dword [eax + 0x48]
mov word [esi + eax + 4], cx
mov eax, dword [ebp - 0x15c]
movzx ecx, word [edx]
mov eax, dword [eax + 0x48]
mov word [esi + eax + 6], cx
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x10046294
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x10046304
mov ecx, dword [0x10107a10]
test ecx, ecx
je 0x100462fb
dec dword [ecx + 0x370]
push eax
call fcn.100b1148
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x188]
test eax, eax
jle 0x1004637b
mov esi, dword [ebp - 0x17c]
add esi, 0x38
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
test eax, eax
je 0x1004636f
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x154]
push eax
call fcn.1002a4b0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1004636f
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x10046367
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10046341
add esi, 0x54
sub dword [ebp - 0x198], 1
jne 0x10046321
mov edi, dword [ebp - 0x15c]
test byte [edi], 1
mov esi, dword [edi + 0x20]
jne 0x100463ae
lea ecx, [esi - 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 esi, ecx
sar esi, 0x10
or esi, ecx
mov eax, dword [edi + 0x1c]
inc esi
movss xmm2, dword [0x100fcbb4]
movaps xmm1, xmm2
mov dword [edi + 0x20], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [ebp - 0x155], 0
divss xmm2, xmm0
mov eax, dword [0x10107a10]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm2
je 0x10046409
shl esi, 2
test eax, eax
je 0x100463fe
inc dword [eax + 0x370]
push esi
call fcn.100b79e3
mov dword [edi + 0x18], eax
jmp 0x1004641c
test eax, eax
je 0x10046413
inc dword [eax + 0x370]
push esi
call fcn.100b79e3
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call fcn.100aaf70
mov edx, dword [ebp - 0x188]
xor al, al
add esp, 0xc
mov byte [ebp - 0x161], al
test edx, edx
jle 0x1004686b
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
add eax, 8
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x168], edx
nop
cmp dword [eax + 0x30], 0
je 0x10046844
mov edx, dword [edi + 0x54]
movss xmm0, dword [eax - 4]
add edx, ecx
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x198], edx
cmp byte [edx + 0x3c], 0
mov ecx, dword [edx + 0x74]
mov dword [ebp - 0x1b4], ecx
movss dword [ebp - 0x1a0], xmm0
lea esi, [ecx + 0x38]
jne 0x100464dc
call fcn.1002f510
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x198]
movss xmm0, dword [ebp - 0x1a4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
xor eax, eax
movss dword [ecx + 0x44], xmm0
movss xmm0, dword [ebp - 0x1a0]
mov dword [ecx + 0x34], edx
mov word [esi], ax
mov dword [ecx + 0x30], edi
movss dword [ecx + 0x48], xmm0
movss xmm0, dword [ecx + 0x44]
addss xmm0, dword [0x100fcb74]
inc word [esi]
movss xmm2, dword [edx + 0x28]
mov esi, dword [edi + 0xc]
movss dword [ebp - 0x180], xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x1a4], 0
movd xmm1, eax
mov eax, dword [ebp - 0x174]
cvtdq2ps xmm1, xmm1
cmp dword [eax + 0x30], 0
addss xmm1, dword [edx + 0x2c]
movss dword [ebp - 0x1a8], xmm1
jle 0x10046831
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x190], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x10046560
cmp word [eax + 6], 0
je 0x100467f5
movzx edx, word [eax + 8]
sub esp, 0x20
movd xmm0, dword [edi + 8]
add edx, esi
movzx esi, word [eax + 0xa]
mov eax, dword [edi]
add esi, dword [ebp - 0x16c]
movd xmm7, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x178], esi
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 0x19c], edx
movd xmm6, eax
add eax, edx
addss xmm0, xmm2
movd xmm4, edx
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm6, xmm6
addss xmm7, xmm1
movss dword [ebp - 0x1a0], xmm0
movd xmm1, dword [esi + 0x1c]
addss xmm6, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x178]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
lea eax, [ecx + esi]
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
divss xmm4, xmm1
divss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
movd xmm3, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp - 0x1b4]
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
movd xmm5, ecx
mov ecx, esi
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 - 0x1a0]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push dword [ebp - 0x198]
call fcn.1002f9c0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x10046676
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x161], 1
mov ecx, dword [ebp - 0x15c]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [ebp - 0x160], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a0], eax
imul eax, dword [ebp - 0x178]
test ecx, ecx
je 0x10046731
add eax, dword [ebp - 0x19c]
add eax, ecx
mov dword [ebp - 0x19c], 0
cmp dword [edi + 4], 0
mov dword [ebp - 0x178], eax
jle 0x100467df
lea ecx, [edx*4]
mov dword [ebp - 0x1d8], ecx
xor ecx, ecx
test edx, edx
jle 0x10046702
add esi, 3
nop word [eax + eax]
mov edx, dword [ebp - 0x178]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x100466e0
mov eax, dword [ebp - 0x178]
mov esi, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x19c]
add eax, dword [ebp - 0x1a0]
inc ecx
add esi, dword [ebp - 0x1d8]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x160], esi
cmp ecx, dword [edi + 4]
jl 0x100466d1
jmp 0x100467df
mov ecx, dword [ebp - 0x19c]
add ecx, eax
mov dword [ebp - 0x19c], 0
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x178], ecx
jle 0x100467df
mov eax, dword [ebp - 0x1a0]
shl eax, 2
mov dword [ebp - 0x1a0], eax
lea eax, [edx*4]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x160]
xor esi, esi
test edx, edx
jle 0x100467b5
sub eax, dword [ebp - 0x178]
mov dword [ebp - 0x1d8], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x1d8]
cmp esi, edx
jl 0x10046793
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x178]
mov esi, dword [ebp - 0x19c]
add ecx, dword [ebp - 0x1a0]
inc esi
add eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x160], eax
cmp esi, dword [edi + 4]
jl 0x10046781
mov esi, dword [ebp - 0x16c]
movss xmm2, dword [ebp - 0x180]
movss xmm1, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x174]
inc ecx
add dword [ebp - 0x190], 0x20
add dword [ebp - 0x1ac], 0x10
mov edx, dword [ebp - 0x190]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [ebp - 0x1ac]
jl 0x10046544
mov edi, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x168]
mov dword [eax + 0x20], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x168], edx
jne 0x10046460
mov al, byte [ebp - 0x161]
xor esi, esi
mov byte [edi + 0x11], al
cmp dword [ebp - 0x194], esi
jle 0x100468ae
mov edi, dword [ebp - 0x184]
nop
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x10046896
mov eax, dword [0x10107a10]
test eax, eax
je 0x10046896
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
inc esi
add esp, 4
cmp esi, dword [ebp - 0x194]
jl 0x10046880
mov edi, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x188]
test eax, eax
jle 0x10046924
mov esi, dword [ebp - 0x17c]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100468e0
mov eax, dword [0x10107a10]
test eax, eax
je 0x100468d7
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100468ff
mov eax, dword [0x10107a10]
test eax, eax
je 0x100468f6
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x10046918
push eax
call fcn.10047610
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [ebp - 0x188], 1
jne 0x100468c1
mov esi, dword [ebp - 0x17c]
test esi, esi
je 0x10046968
mov eax, dword [0x10107a10]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1f0], 0
test eax, eax
je 0x10046951
dec dword [eax + 0x370]
push esi
call fcn.100b1148
add esp, 4
xor esi, esi
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x1e8], esi
mov ecx, edi
call fcn.1002efd0
mov byte [ebp - 0x155], 1
mov ecx, dword [ebp - 0x1f8]
test ecx, ecx
je 0x10046998
mov eax, dword [0x10107a10]
test eax, eax
je 0x1004698f
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x100469ba
mov eax, dword [0x10107a10]
test eax, eax
je 0x100469b1
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x100469dc
mov eax, dword [0x10107a10]
test eax, eax
je 0x100469d3
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x100469ff
mov ecx, dword [0x10107a10]
test ecx, ecx
je 0x100469f6
dec dword [ecx + 0x370]
push eax
call fcn.100b1148
add esp, 4
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x10046a22
mov ecx, dword [0x10107a10]
test ecx, ecx
je 0x10046a19
dec dword [ecx + 0x370]
push eax
call fcn.100b1148
add esp, 4
mov al, byte [ebp - 0x155]
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.100a8abc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret