Function at 0x100245c0
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
sub esp, 0x1a0
mov eax, dword [0x1008700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x148], esi
cmp dword [esi + 0x58], 0
jge 0x10024662
test byte [esi + 4], 2
lea eax, [ebp - 0x188]
mov dword [ebp - 0x180], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x188], 0x80000000
push eax
mov dword [ebp - 0x184], 0x1b00d9
je 0x10024656
mov dword [ebp - 0x184], 0x20002
call fcn.10027af0
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 0x100246b2
mov eax, dword [0x10089244]
test eax, eax
je 0x100246a9
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100246d1
mov eax, dword [0x10089244]
test eax, eax
je 0x100246c8
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], edi
lea edx, [edi + 8]
mov dword [ebp - 0x144], ecx
test ecx, ecx
jle 0x10024736
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x10024736
mov ecx, dword [0x10089244]
test ecx, ecx
je 0x1002471c
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call fcn.10050b3a
add esp, 4
mov dword [ebp - 0x13c], eax
mov edx, 8
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x140], eax
test eax, eax
jle 0x10024775
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x10024775
mov eax, dword [0x10089244]
test eax, eax
je 0x1002475e
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10050b3a
add esp, 4
mov dword [ebp - 0x138], eax
mov edi, eax
imul ecx, dword [ebp - 0x144], 0xc4
push ecx
push 0
push dword [ebp - 0x13c]
call fcn.10045670
mov eax, dword [ebp - 0x140]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.10045670
add esp, 0xc
mov dword [ebp - 0x12c], 0
cmp dword [esi + 0x4c], 0
jle 0x10024926
mov eax, dword [ebp - 0x13c]
xor edx, edx
add eax, 0xa4
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x54]
add ecx, edx
mov dword [eax - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x128], ecx
cmp dword [esi + 0x34], edx
jle 0x10024c69
mov edi, dword [ebp - 0x11c]
or eax, 0xffffffff
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10024830
mov eax, dword [ebp - 0x128]
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10024825
mov dword [edi - 4], edx
mov eax, edx
jmp 0x10024828
or eax, 0xffffffff
inc edx
mov ecx, eax
cmp edx, dword [esi + 0x34]
jl 0x10024806
mov edi, dword [ebp - 0x138]
cmp ecx, 0xffffffff
je 0x10024c69
mov eax, dword [ebp - 0x128]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.1001b210
mov ecx, dword [ebp - 0x11c]
mov edx, esi
add ecx, 0xffffff5c
push eax
mov dword [ebp - 0x114], ecx
call fcn.1001b4f0
add esp, 4
test eax, eax
je 0x10024c69
mov eax, dword [ebp - 0x114]
mov edx, 0x1007d3d0
mov esi, dword [ebp - 0x11c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x110], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100248d1
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x100248cb
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100248b0
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x110]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x12c]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [ebp - 0x11c], esi
inc eax
mov esi, dword [ebp - 0x148]
mov dword [edi + edx*8 + 4], ecx
mov edx, dword [ebp - 0x118]
add edx, 0x78
mov dword [ebp - 0x12c], eax
cmp eax, dword [esi + 0x4c]
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], edx
jl 0x100247e0
mov eax, dword [ebp - 0x144]
xor esi, esi
mov dword [ebp - 0x11c], esi
test eax, eax
jle 0x10024c75
mov edi, dword [ebp - 0x13c]
add edi, 0xa8
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x118], edi
mov eax, dword [edi - 8]
lea ecx, [eax + eax*2]
mov eax, dword [edi - 4]
add eax, 0x20
mov dword [ebp - 0x10c], ecx
sar eax, 5
lea ecx, [edi + 4]
push eax
call fcn.1001a040
mov eax, dword [edi + 4]
shl eax, 2
push eax
push 0
push dword [edi + 0xc]
call fcn.10045670
mov edx, dword [ebp - 0x10c]
add esp, 0xc
mov eax, dword [ebp - 0x138]
cmp dword [eax + edx*8 + 0xc], 0
lea esi, [eax + edx*8]
jne 0x100249c9
mov eax, dword [eax + edx*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.1001a040
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call fcn.10045670
mov edx, dword [ebp - 0x10c]
add esp, 0xc
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x128], eax
cmp word [eax], 0
je 0x10024ac4
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10024abe
movzx edi, word [eax]
cmp edi, ecx
ja 0x10024a9f
nop dword [eax + eax]
mov eax, dword [ebp - 0x138]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [ebp - 0x114], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x10024a86
mov ecx, dword [ebp - 0x118]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.1001ba00
test eax, eax
je 0x10024a86
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x138]
inc dword [eax]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x114]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x10c]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [ebp - 0x11c]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x128]
inc edi
mov edx, dword [ebp - 0x10c]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x10024a00
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x10c]
add eax, 4
mov dword [ebp - 0x128], eax
cmp word [eax], 0
jne 0x100249e0
mov edi, dword [ebp - 0x118]
add edi, 0xc4
sub dword [ebp - 0x110], 1
mov dword [ebp - 0x118], edi
jne 0x10024954
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x144]
add ecx, 0xc0
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x128], eax
nop dword [eax + eax]
mov esi, dword [ecx - 0x18]
cmp esi, dword [ecx - 4]
jle 0x10024b75
mov eax, dword [0x10089244]
test eax, eax
je 0x10024b17
inc dword [eax + 0x374]
lea eax, [esi*4]
push eax
call fcn.10050b3a
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov edi, eax
mov edx, dword [ecx]
test edx, edx
je 0x10024b70
mov ecx, dword [ecx - 8]
shl ecx, 2
push ecx
push edx
push edi
call fcn.10045830
mov eax, dword [ebp - 0x10c]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x10024b61
mov eax, dword [0x10089244]
test eax, eax
je 0x10024b61
dec dword [eax + 0x374]
push ecx
call fcn.10049769
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov dword [ecx], edi
mov dword [ecx - 4], esi
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 0x14]
mov dword [ebp - 0x110], esi
lea eax, [esi + eax*4]
mov dword [ebp - 0x14c], eax
cmp esi, eax
jae 0x10024c08
xor edx, edx
mov dword [ebp - 0x12c], edx
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x10024bee
xor edi, edi
mov esi, 1
nop dword [eax]
test esi, eax
je 0x10024be0
and edx, 0xffffffe0
lea eax, [ebp - 0x114]
add edx, edi
add ecx, 0xfffffff8
push eax
mov dword [ebp - 0x114], edx
call fcn.10019d90
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x12c]
inc edi
rol esi, 1
cmp edi, 0x20
jb 0x10024bb0
mov esi, dword [ebp - 0x110]
add esi, 4
add edx, 0x20
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x12c], edx
cmp esi, dword [ebp - 0x14c]
jb 0x10024b96
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x10024c42
mov eax, dword [0x10089244]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0x14], 0
test eax, eax
je 0x10024c2c
dec dword [eax + 0x374]
push edx
call fcn.10049769
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov dword [ecx - 0xc], 0
add ecx, 0xc4
sub dword [ebp - 0x128], 1
mov dword [ebp - 0x10c], ecx
jne 0x10024b00
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x11c]
jmp 0x10024c77
mov byte [ebp - 0x121], 0
jmp 0x10025c4b
xor esi, esi
cmp dword [ebp - 0x140], 0
jle 0x10024cdc
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x110], eax
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x10024cc8
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x10089244]
test eax, eax
je 0x10024cb3
dec dword [eax + 0x374]
push ecx
call fcn.10049769
mov eax, dword [ebp - 0x110]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x110], eax
sub edi, 1
jne 0x10024c90
mov edi, dword [ebp - 0x138]
test edi, edi
je 0x10024d02
mov eax, dword [0x10089244]
test eax, eax
je 0x10024cef
dec dword [eax + 0x374]
push edi
call fcn.10049769
add esp, 4
mov dword [ebp - 0x138], 0
xor edi, edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x128], edi
test esi, esi
jle 0x10024d83
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x10024d8b
mov ecx, dword [0x10089244]
test ecx, ecx
je 0x10024d35
inc dword [ecx + 0x374]
shl eax, 4
push eax
call fcn.10050b3a
mov edx, dword [0x10089244]
add esp, 4
cmp esi, 8
mov dword [ebp - 0x11c], eax
mov edi, eax
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test edx, edx
je 0x10024d66
inc dword [edx + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call fcn.10050b3a
add esp, 4
mov dword [ebp - 0x128], eax
jmp 0x10024d8b
xor edi, edi
mov dword [ebp - 0x11c], edi
mov eax, esi
shl eax, 4
push eax
push 0
push edi
call fcn.10045670
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x128]
call fcn.10045670
mov ecx, dword [ebp - 0x144]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x118], eax
add esp, 0xc
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x19c], eax
test ecx, ecx
jle 0x100251e2
mov edi, dword [ebp - 0x13c]
add edi, 0x98
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x114], ecx
nop dword [eax + eax]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100251c2
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x128]
shl eax, 4
add eax, dword [ebp - 0x11c]
mov dword [edi - 4], eax
lea eax, [edx*8]
sub eax, edx
add dword [ebp - 0x118], esi
add edx, esi
mov dword [ebp - 0x19c], edx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x148]
mov dword [edi], ecx
mov edx, dword [eax + 0x54]
add edx, dword [ebp - 0x110]
mov dword [ebp - 0x140], edx
mov eax, dword [edx + 0x10]
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [edi - 8], al
mov al, byte [edx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x1007ddc0]
jbe 0x10024edf
mov esi, dword [ebp - 0x12c]
mov eax, 0x100
mov edi, dword [edi - 0x7c]
cwde
mov esi, dword [esi - 0x94]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [ebp - 0x12c]
movsx edx, dx
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x10024f05
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
xorps xmm1, xmmword [0x1007e4c0]
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 [ebp - 0x148]
mov eax, dword [eax + 0x10]
divss xmm1, xmm0
mov dword [ebp - 0x134], eax
xor eax, eax
mov dword [ebp - 0x150], eax
movss dword [ebp - 0x120], xmm1
cmp dword [edi + 0x20], eax
jle 0x100251b6
mov dword [ebp - 0x14c], eax
nop word [eax + eax]
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.1001ba00
mov ecx, dword [ebp - 0x140]
mov edx, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x1a0], 0
movd xmm0, dword [ecx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x15c], xmm0
movd xmm0, dword [ecx + 0x18]
lea ecx, [ebp - 0x16c]
push ecx
cvtdq2ps xmm0, xmm0
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x12c]
mulss xmm0, xmm1
push ecx
lea ecx, [edi - 0x98]
movss dword [ebp - 0x164], xmm0
call fcn.1001be10
add esp, 0x10
test eax, eax
jne 0x10024fdc
xor esi, esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x164], esi
jmp 0x1002511a
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [ebp - 0x12c]
mulss xmm0, dword [ebp - 0x15c]
addss xmm0, dword [0x1007ddc0]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x130], xmm0
fld qword [ebp - 0x130]
fstp qword [esp]
call fcn.10067860
fstp qword [ebp - 0x130]
movsd xmm0, qword [ebp - 0x130]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x16c]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [ebp - 0x164]
cvttss2si esi, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x130], xmm0
fld qword [ebp - 0x130]
fstp qword [esp]
call fcn.10067860
fstp qword [ebp - 0x130]
movsd xmm0, qword [ebp - 0x130]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x154]
mov dword [ebp - 0x12c], eax
mulss xmm0, dword [ebp - 0x15c]
addss xmm0, dword [0x1007ddc0]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x160], xmm0
fld qword [ebp - 0x160]
fstp qword [esp]
call fcn.10064c00
fstp qword [ebp - 0x160]
movsd xmm0, qword [ebp - 0x160]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x1a0]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [ebp - 0x164]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [ebp - 0x15c], eax
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x168], xmm0
fld qword [ebp - 0x168]
fstp qword [esp]
call fcn.10064c00
fstp qword [ebp - 0x168]
movsd xmm0, qword [ebp - 0x168]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x134]
movzx edx, ax
mov eax, dword [ebp - 0x140]
movss xmm1, dword [ebp - 0x120]
movzx ecx, word [eax + 0x14]
mov eax, dword [edi - 4]
sub cx, si
mov esi, dword [ebp - 0x14c]
dec cx
add cx, dx
dec dx
add cx, word [ebp - 0x15c]
mov word [esi + eax + 4], cx
mov eax, dword [ebp - 0x140]
movzx ecx, word [eax + 0x18]
sub cx, word [ebp - 0x12c]
mov eax, dword [edi - 4]
add cx, dx
add cx, word [ebp - 0x164]
mov edx, dword [ebp - 0x10c]
mov word [esi + eax + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
add esi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], eax
add edx, ecx
mov dword [ebp - 0x10c], edx
cmp eax, dword [edi + 0x20]
jl 0x10024f40
jmp 0x100251bc
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x118]
add dword [ebp - 0x110], 0x78
add edi, 0xc4
sub dword [ebp - 0x114], 1
mov dword [ebp - 0x12c], edi
jne 0x10024e00
mov edi, dword [ebp - 0x148]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test eax, eax
jg 0x10025242
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.10001500
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1007df78]
jb 0x1002521e
mov eax, 0x1000
jmp 0x10025242
comiss xmm0, dword [0x1007df74]
jb 0x1002522e
mov eax, 0x800
jmp 0x10025242
comiss xmm0, dword [0x1007df68]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.10045670
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [0x10089244]
test eax, eax
je 0x10025279
inc dword [eax + 0x374]
push 0x30
call fcn.10050b3a
mov ecx, dword [0x10089244]
mov esi, eax
mov eax, dword [ebp - 0x114]
add esp, 4
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x134], eax
test ecx, ecx
je 0x100252ad
inc dword [ecx + 0x374]
shl eax, 3
push eax
call fcn.10050b3a
add esp, 4
test esi, esi
je 0x10025337
test eax, eax
je 0x10025325
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x188], edx
mov edx, dword [ebp - 0x134]
push edx
push eax
mov dword [ebp - 0x170], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x184], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x180], 0
call fcn.1001a540
add esp, 0xc
jmp 0x10025360
mov eax, dword [0x10089244]
test eax, eax
je 0x10025334
dec dword [eax + 0x374]
push esi
jmp 0x1002534c
test eax, eax
je 0x10025354
mov ecx, dword [0x10089244]
test ecx, ecx
je 0x1002534b
dec dword [ecx + 0x374]
push eax
call fcn.10049769
add esp, 4
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x10c], eax
mov esi, dword [edi + 0x40]
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], esi
test esi, esi
jle 0x100253a7
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100253a7
mov eax, dword [0x10089244]
test eax, eax
je 0x10025395
inc dword [eax + 0x374]
shl ecx, 4
push ecx
call fcn.10050b3a
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.10045670
mov eax, dword [edi + 0x40]
add esp, 0xc
test eax, eax
jle 0x100253f1
mov edx, dword [edi + 0x48]
mov edi, eax
mov ecx, dword [ebp - 0x118]
add ecx, 6
add edx, 6
movzx eax, word [edx - 2]
lea edx, [edx + 0x1c]
mov word [ecx - 2], ax
lea ecx, [ecx + 0x10]
movzx eax, word [edx - 0x1c]
mov word [ecx - 0x10], ax
sub edi, 1
jne 0x100253d0
mov edi, dword [ebp - 0x148]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x10c]
push esi
call fcn.1001aa10
add esp, 4
test esi, esi
jle 0x10025467
mov edx, dword [ebp - 0x118]
xor esi, esi
mov eax, dword [ebp - 0x110]
add edx, 0xa
nop dword [eax + eax]
cmp dword [edx + 2], 0
je 0x10025456
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 [ebp - 0x110]
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 [ebp - 0x110], eax
jne 0x10025420
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x1002548a
mov ecx, dword [0x10089244]
test ecx, ecx
je 0x10025481
dec dword [ecx + 0x374]
push eax
call fcn.10049769
add esp, 4
mov esi, dword [ebp - 0x144]
test esi, esi
jle 0x1002551f
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x144]
add esi, 0xa8
mov dword [ebp - 0x120], eax
mov eax, dword [esi]
test eax, eax
je 0x1002550a
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 0x10c]
push eax
call fcn.1001aa10
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x114], ecx
cmp dword [esi], ecx
jle 0x1002550a
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x100254fc
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x114]
inc ecx
add edx, 0x10
mov dword [ebp - 0x114], ecx
cmp ecx, dword [esi]
jl 0x100254d6
add esi, 0xc4
sub dword [ebp - 0x120], 1
jne 0x100254b0
mov esi, dword [ebp - 0x144]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1002554d
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 xmm1, dword [0x1007de44]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [edi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x10089244]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x10025593
inc dword [eax + 0x374]
push ecx
call fcn.10050b3a
mov ecx, dword [edi + 0x1c]
add esp, 4
imul ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.10045670
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x18c], eax
test esi, esi
jle 0x1002578c
mov ecx, dword [ebp - 0x13c]
xor eax, eax
mov dword [ebp - 0x14c], eax
mov edx, esi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x150], esi
nop dword [eax + eax]
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x10025760
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.10020c30
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1007de44]
movss dword [ebp - 0x134], xmm1
lahf
test ah, 0x44
jnp 0x10025744
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007e480]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10065f00
movss xmm1, dword [ebp - 0x134]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x10025640
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x110], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1002574a
lea ecx, [edx + 4]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x120], ecx
cmp dword [ecx + 8], 0
je 0x10025728
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [ebp - 0x114], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x10025716
mov eax, dword [ebp - 0x114]
xor ecx, ecx
test esi, esi
je 0x10025709
nop dword [eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x108]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x100256f0
mov eax, dword [ebp - 0x114]
dec edi
add edx, eax
test edi, edi
jg 0x100256e7
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x148]
inc eax
add ecx, 0x10
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x120], ecx
cmp eax, dword [edx + 0xa8]
jl 0x100256b7
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x150]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x150], edx
jne 0x100255f0
mov esi, dword [ebp - 0x194]
jmp 0x10025792
mov esi, dword [ebp - 0x10c]
cmp dword [ebp - 0x170], 0
je 0x100257aa
mov eax, dword [0x10089244]
test eax, eax
je 0x100257aa
dec dword [eax + 0x374]
push dword [ebp - 0x170]
call fcn.10049769
add esp, 4
test esi, esi
je 0x100257cb
mov eax, dword [0x10089244]
test eax, eax
je 0x100257cb
dec dword [eax + 0x374]
push esi
call fcn.10049769
mov ecx, dword [ebp - 0x11c]
add esp, 4
test ecx, ecx
je 0x10025800
mov eax, dword [0x10089244]
test eax, eax
je 0x100257ed
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x144]
test eax, eax
jle 0x10025bf3
mov ecx, dword [ebp - 0x13c]
xor edx, edx
movss xmm2, dword [0x1007de14]
add ecx, 4
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x10c], eax
cmp dword [ecx + 0xa4], 0
je 0x10025b77
mov esi, dword [ecx + 0x18]
mov eax, dword [edi + 0x54]
add eax, edx
mov edx, dword [ecx]
mov dword [ebp - 0x134], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [esi + edx + 6]
mov dword [ebp - 0x110], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 7]
add cx, ax
movsx eax, cx
movzx ecx, byte [esi + edx + 4]
mov dword [ebp - 0x114], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 5]
mov esi, dword [ebp - 0x134]
add cx, ax
movss xmm1, dword [esi + 0x10]
movsx eax, cx
mov dword [ebp - 0x154], eax
sub eax, dword [ebp - 0x114]
cmp byte [esi + 0x3c], 0
mov ecx, dword [ebp - 0x110]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x120], eax
divss xmm1, xmm0
movss dword [ebp - 0x134], xmm1
jne 0x10025981
call fcn.10026000
mov ecx, dword [ebp - 0x110]
xorps xmm3, xmm3
movd xmm1, dword [ebp - 0x154]
mov eax, dword [esi + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [ecx + 0x10], eax
xor eax, eax
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x38], edi
movss xmm2, dword [0x1007de14]
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x134]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x114]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [ebp - 0x134]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x120]
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x50], xmm0
movss xmm0, dword [eax]
inc word [ecx + 0x40]
addss xmm0, xmm2
mov ecx, dword [ebp - 0x140]
movss xmm1, dword [esi + 0x28]
movss dword [ebp - 0x16c], xmm1
mov dword [ebp - 0x12c], 0
cmp dword [ecx + 0xa4], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x134], xmm0
jle 0x10025b6b
xor edx, edx
mov dword [ebp - 0x114], edx
nop word [eax + eax]
mov eax, dword [ecx + 0xbc]
mov ecx, dword [ecx + 0x94]
mov edi, dword [ebp - 0x12c]
movss xmm7, dword [esi + 0x34]
movss xmm0, dword [edx + ecx + 0x10]
comiss xmm7, xmm0
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x154], eax
ja 0x10025a14
movss xmm7, dword [esi + 0x38]
minss xmm7, xmm0
mov edi, dword [ebp - 0x148]
movaps xmm6, xmm1
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x10025a46
cmp byte [esi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x10025a42
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edi + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x1007de44]
movss xmm2, dword [0x1007de44]
movzx eax, word [edx + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
divss xmm3, xmm0
movzx eax, word [edx + ecx + 2]
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
movzx eax, word [edx + ecx + 4]
divss xmm2, xmm0
movd xmm1, eax
movzx eax, word [edx + ecx + 6]
cvtdq2ps xmm4, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss xmm2, dword [edx + ecx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [ebp - 0x134]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [edx + ecx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [edx + ecx + 0x14]
mov ecx, dword [ebp - 0x110]
addss xmm0, xmm4
addss xmm3, dword [ebp - 0x134]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x154]
call fcn.100264b0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x140]
inc eax
mov edx, dword [ebp - 0x114]
movss xmm1, dword [ebp - 0x16c]
add edx, 0x1c
movss xmm2, dword [0x1007de14]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x114], edx
cmp eax, dword [ecx + 0xa4]
jl 0x100259e0
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x118]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x10c], eax
jne 0x10025833
mov esi, dword [ebp - 0x13c]
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10025bc6
mov eax, dword [0x10089244]
test eax, eax
je 0x10025bbd
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x10025be4
mov eax, dword [0x10089244]
test eax, eax
je 0x10025bdb
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
add esi, 0xc4
sub dword [ebp - 0x144], 1
jne 0x10025ba7
mov ecx, edi
call fcn.10025cb0
mov ecx, dword [ebp - 0x128]
mov byte [ebp - 0x121], 1
test ecx, ecx
je 0x10025c23
mov eax, dword [0x10089244]
test eax, eax
je 0x10025c1a
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x10025c45
mov eax, dword [0x10089244]
test eax, eax
je 0x10025c3c
dec dword [eax + 0x374]
push ecx
call fcn.10049769
add esp, 4
mov edi, dword [ebp - 0x138]
test edi, edi
je 0x10025c67
mov eax, dword [0x10089244]
test eax, eax
je 0x10025c5e
dec dword [eax + 0x374]
push edi
call fcn.10049769
add esp, 4
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x10025c8a
mov ecx, dword [0x10089244]
test ecx, ecx
je 0x10025c81
dec dword [ecx + 0x374]
push eax
call fcn.10049769
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x121]
xor ecx, ebp
pop edi
pop esi
call fcn.100427b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret