Function at 0x100241a0
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, 0x1b8
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x12c], esi
cmp dword [esi + 0x58], 0
jge 0x10024242
test byte [esi + 4], 2
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x19c], 0x80000000
push eax
mov dword [ebp - 0x198], 0x1b00d9
je 0x10024236
mov dword [ebp - 0x198], 0x20002
call fcn.10027a70
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 0x10024292
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024289
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100242b1
mov eax, dword [0x100881b4]
test eax, eax
je 0x100242a8
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x144], edi
lea edx, [edi + 8]
mov dword [ebp - 0x140], ecx
test ecx, ecx
jle 0x10024316
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x10024316
mov ecx, dword [0x100881b4]
test ecx, ecx
je 0x100242fc
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call fcn.100501ef
add esp, 4
mov dword [ebp - 0x134], eax
mov edx, 8
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x138], eax
test eax, eax
jle 0x10024355
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x10024355
mov eax, dword [0x100881b4]
test eax, eax
je 0x1002433e
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.100501ef
add esp, 4
mov dword [ebp - 0x144], eax
mov edi, eax
imul ecx, dword [ebp - 0x140], 0xc4
push ecx
push 0
push dword [ebp - 0x134]
call fcn.10044de0
mov eax, dword [ebp - 0x138]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.10044de0
add esp, 0xc
mov dword [ebp - 0x118], 0
cmp dword [esi + 0x4c], 0
jle 0x100244f3
mov edx, dword [ebp - 0x134]
xor eax, eax
add edx, 0xa4
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], edx
nop word [eax + eax]
mov ecx, dword [esi + 0x54]
mov dword [edx - 4], 0xffffffff
add ecx, eax
xor edx, edx
mov dword [ebp - 0x130], ecx
cmp dword [esi + 0x34], edx
jle 0x10024a96
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x10024415
mov eax, dword [ebp - 0x130]
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
mov eax, dword [ebp - 0x10c]
jne 0x10024403
mov dword [eax - 4], edx
mov eax, edx
jmp 0x10024406
mov eax, dword [eax - 4]
inc edx
cmp edx, dword [esi + 0x34]
jl 0x100243e0
cmp eax, 0xffffffff
je 0x10024a96
mov eax, dword [ebp - 0x130]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.10020c90
mov ecx, dword [ebp - 0x10c]
mov edx, esi
add ecx, 0xffffff5c
push eax
mov dword [ebp - 0x110], ecx
call fcn.1001ad90
add esp, 4
test eax, eax
je 0x10024a96
mov eax, dword [ebp - 0x110]
mov esi, 0x1007d0bc
mov edx, dword [ebp - 0x10c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x120], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne esi, eax
mov dword [edx - 8], esi
cmp word [esi], 0
je 0x100244a4
movzx eax, word [esi + 2]
test ax, ax
je 0x1002449e
mov ecx, eax
cmp dword [edx], ecx
cmovge ecx, dword [edx]
add esi, 4
mov dword [edx], ecx
cmp word [esi], 0
jne 0x10024483
mov ecx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x120]
inc dword [edi + ecx*8]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x114]
cmp dword [edi + esi*8 + 4], ecx
cmovge ecx, dword [edi + esi*8 + 4]
add edx, 0xc4
mov dword [edi + esi*8 + 4], ecx
add eax, 0x78
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x12c]
inc ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], eax
cmp ecx, dword [esi + 0x4c]
jl 0x100243c0
mov eax, dword [ebp - 0x140]
xor esi, esi
mov dword [ebp - 0x124], esi
test eax, eax
jle 0x10024837
mov edi, dword [ebp - 0x134]
add edi, 0xa8
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x148], 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.10019a70
mov eax, dword [edi + 4]
shl eax, 2
push eax
push 0
push dword [edi + 0xc]
call fcn.10044de0
mov edx, dword [ebp - 0x10c]
add esp, 0xc
mov eax, dword [ebp - 0x144]
cmp dword [eax + edx*8 + 0xc], 0
lea esi, [eax + edx*8]
jne 0x10024596
mov eax, dword [eax + edx*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10019a70
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call fcn.10044de0
mov edx, dword [ebp - 0x10c]
add esp, 0xc
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x130], eax
movzx ecx, word [eax]
test cx, cx
je 0x10024696
nop dword [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x10024690
movzx edi, cx
cmp edi, eax
ja 0x1002466f
nop dword [eax + eax]
mov eax, dword [ebp - 0x144]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [ebp - 0x110], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x10024656
mov ecx, dword [ebp - 0x148]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.1001b260
test eax, eax
je 0x10024656
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x144]
inc dword [eax]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x110]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x10c]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [ebp - 0x124]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x130]
inc edi
mov edx, dword [ebp - 0x10c]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x100245d0
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x10c]
add eax, 4
mov dword [ebp - 0x130], eax
movzx ecx, word [eax]
test cx, cx
jne 0x100245b0
mov edi, dword [ebp - 0x148]
add edi, 0xc4
sub dword [ebp - 0x120], 1
mov dword [ebp - 0x148], edi
jne 0x10024521
mov ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x140]
add ecx, 0xc0
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
nop dword [eax]
mov esi, dword [ecx - 0x18]
cmp esi, dword [ecx - 4]
jle 0x10024745
mov eax, dword [0x100881b4]
test eax, eax
je 0x100246e7
inc dword [eax + 0x374]
lea eax, [esi*4]
push eax
call fcn.100501ef
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov edi, eax
mov edx, dword [ecx]
test edx, edx
je 0x10024740
mov ecx, dword [ecx - 8]
shl ecx, 2
push ecx
push edx
push edi
call fcn.10044fa0
mov eax, dword [ebp - 0x10c]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x10024731
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024731
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
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 - 0x120], esi
lea eax, [esi + eax*4]
mov dword [ebp - 0x15c], eax
cmp esi, eax
jae 0x100247d8
xor edx, edx
mov dword [ebp - 0x118], edx
mov eax, dword [esi]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x100247be
xor edi, edi
mov esi, 1
nop dword [eax]
test esi, eax
je 0x100247b0
and edx, 0xffffffe0
lea eax, [ebp - 0x110]
add edx, edi
add ecx, 0xfffffff8
push eax
mov dword [ebp - 0x110], edx
call fcn.100197c0
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x118]
inc edi
rol esi, 1
cmp edi, 0x20
jb 0x10024780
mov esi, dword [ebp - 0x120]
add esi, 4
add edx, 0x20
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], edx
cmp esi, dword [ebp - 0x15c]
jb 0x10024766
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x10024812
mov eax, dword [0x100881b4]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0x14], 0
test eax, eax
je 0x100247fc
dec dword [eax + 0x374]
push edx
call fcn.10048e5d
mov ecx, dword [ebp - 0x10c]
add esp, 4
mov dword [ecx - 0xc], 0
add ecx, 0xc4
sub dword [ebp - 0x114], 1
mov dword [ebp - 0x10c], ecx
jne 0x100246d0
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x124]
cmp dword [ebp - 0x138], 0
jle 0x1002489c
mov esi, dword [ebp - 0x138]
lea eax, [edi + 0x14]
mov dword [ebp - 0x120], eax
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x10024888
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024873
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
mov eax, dword [ebp - 0x120]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x120], eax
sub esi, 1
jne 0x10024850
mov esi, dword [ebp - 0x124]
test edi, edi
je 0x100248c2
mov eax, dword [0x100881b4]
test eax, eax
je 0x100248af
dec dword [eax + 0x374]
push edi
call fcn.10048e5d
add esp, 4
mov dword [ebp - 0x144], 0
xor edi, edi
mov dword [ebp - 0x154], 0
push esi
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x120], edi
call fcn.10027910
test esi, esi
jle 0x10024935
cmp esi, 8
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x10024935
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024918
inc dword [eax + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call fcn.100501ef
add esp, 4
mov dword [ebp - 0x120], eax
mov edi, eax
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x150]
shl ecx, 4
push ecx
push 0
push eax
mov dword [ebp - 0x130], eax
call fcn.10044de0
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push edi
call fcn.10044de0
mov edx, dword [ebp - 0x140]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10c], esi
xor ecx, ecx
mov dword [ebp - 0x148], eax
add esp, 0xc
mov dword [ebp - 0x124], ecx
test edx, edx
jle 0x10024d9e
mov edi, dword [ebp - 0x134]
add edi, 0x98
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edx
mov edx, dword [edi + 0x10]
test edx, edx
je 0x10024d7e
add dword [ebp - 0x148], edx
add dword [ebp - 0x124], edx
shl eax, 4
add eax, dword [ebp - 0x130]
mov dword [edi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x12c]
mov dword [edi], ecx
mov edx, dword [eax + 0x54]
add edx, dword [ebp - 0x118]
mov dword [ebp - 0x138], 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 [0x1007dab0]
jbe 0x10024aa2
mov esi, dword [ebp - 0x114]
mov eax, 0x100
mov edi, dword [edi - 0x7c]
cwde
mov esi, dword [esi - 0x94]
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x10024acf
mov byte [ebp - 0x119], 0
jmp 0x100257dc
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm1, xmmword [0x1007e1b0]
mov eax, dword [ebp - 0x12c]
movss dword [ebp - 0x128], xmm1
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x13c], eax
xor eax, eax
mov dword [ebp - 0x15c], eax
cmp dword [edi + 0x20], eax
jle 0x10024d72
mov dword [ebp - 0x114], eax
nop dword [eax]
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.1001b260
mov ecx, dword [ebp - 0x138]
mov edx, eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x1b0], 0
movd xmm0, dword [ecx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x17c], xmm0
movd xmm0, dword [ecx + 0x18]
lea ecx, [ebp - 0x1b4]
push ecx
cvtdq2ps xmm0, xmm0
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x174]
mulss xmm0, xmm1
push ecx
lea ecx, [edi - 0x98]
movss dword [ebp - 0x164], xmm0
call fcn.1001b680
add esp, 0x10
test eax, eax
jne 0x10024b96
mov dword [ebp - 0x174], eax
xor esi, esi
mov dword [ebp - 0x164], eax
jmp 0x10024cda
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [ebp - 0x174]
mulss xmm0, dword [ebp - 0x17c]
addss xmm0, dword [0x1007dab0]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x158], xmm0
fld qword [ebp - 0x158]
fstp qword [esp]
call fcn.100669c0
fstp qword [ebp - 0x158]
movsd xmm0, qword [ebp - 0x158]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x1b4]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [ebp - 0x164]
cvttss2si eax, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mov dword [ebp - 0x150], eax
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x178], xmm0
fld qword [ebp - 0x178]
fstp qword [esp]
call fcn.100669c0
fstp qword [ebp - 0x178]
movsd xmm0, qword [ebp - 0x178]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
mulss xmm0, dword [ebp - 0x17c]
addss xmm0, dword [0x1007dab0]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x180], xmm0
fld qword [ebp - 0x180]
fstp qword [esp]
call fcn.10063da0
fstp qword [ebp - 0x180]
movsd xmm0, qword [ebp - 0x180]
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x1b0]
cvtpd2ps xmm0, xmm0
mulss xmm1, dword [ebp - 0x164]
cvttss2si esi, xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x168], xmm0
fld qword [ebp - 0x168]
fstp qword [esp]
call fcn.10063da0
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 - 0x150]
mov ecx, dword [ebp - 0x13c]
sub esi, eax
mov eax, dword [ebp - 0x138]
dec si
movzx edx, cx
mov ecx, dword [ebp - 0x114]
movss xmm1, dword [ebp - 0x128]
add si, word [eax + 0x14]
mov eax, dword [edi - 4]
add si, dx
dec dx
mov word [eax + ecx + 4], si
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0x10c]
mov cx, word [eax + 0x18]
sub cx, word [ebp - 0x174]
add cx, word [ebp - 0x164]
mov eax, dword [edi - 4]
add cx, dx
mov edx, dword [ebp - 0x114]
mov word [eax + edx + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x15c], eax
add esi, ecx
mov dword [ebp - 0x10c], esi
cmp eax, dword [edi + 0x20]
jl 0x10024b00
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add dword [ebp - 0x118], 0x78
add edi, 0xc4
sub dword [ebp - 0x110], 1
mov dword [ebp - 0x114], edi
jne 0x100249b2
mov edi, dword [ebp - 0x12c]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test eax, eax
jg 0x10024dfe
movd xmm0, esi
cvtdq2ps xmm0, xmm0
call fcn.100014f0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1007dc68]
jb 0x10024dda
mov eax, 0x1000
jmp 0x10024dfe
comiss xmm0, dword [0x1007dc64]
jb 0x10024dea
mov eax, 0x800
jmp 0x10024dfe
comiss xmm0, dword [0x1007dc58]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x1ac]
push 0
push eax
call fcn.10044de0
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024e35
inc dword [eax + 0x374]
push 0x30
call fcn.100501ef
mov ecx, dword [0x100881b4]
mov esi, eax
mov eax, dword [ebp - 0x110]
add esp, 4
sub eax, dword [ebp - 0x128]
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x13c], eax
test ecx, ecx
je 0x10024e69
inc dword [ecx + 0x374]
shl eax, 3
push eax
call fcn.100501ef
add esp, 4
test esi, esi
je 0x10024ef3
test eax, eax
je 0x10024ee1
mov edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x19c], edx
mov edx, dword [ebp - 0x13c]
push edx
push eax
mov dword [ebp - 0x184], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x198], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x194], 0
call fcn.10019f60
add esp, 0xc
jmp 0x10024f1c
mov eax, dword [0x100881b4]
test eax, eax
je 0x10024ef0
dec dword [eax + 0x374]
push esi
jmp 0x10024f08
test eax, eax
je 0x10024f10
mov ecx, dword [0x100881b4]
test ecx, ecx
je 0x10024f07
dec dword [ecx + 0x374]
push eax
call fcn.10048e5d
add esp, 4
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x10c], esi
push dword [edi + 0x40]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x150], 0
call fcn.10027910
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x110], eax
shl eax, 4
push eax
push 0
push edx
call fcn.10044de0
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x10024faa
mov edx, dword [ebp - 0x150]
xor ecx, ecx
add edx, 6
xor esi, esi
nop dword [eax]
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 0x10024f80
mov esi, dword [ebp - 0x10c]
push dword [ebp - 0x158]
mov edx, dword [ebp - 0x150]
mov ecx, esi
call fcn.1001a410
mov eax, dword [ebp - 0x158]
add esp, 4
test eax, eax
jle 0x1002501c
mov edx, dword [ebp - 0x150]
xor esi, esi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x1002500b
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 0x10024fd5
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1002503f
mov ecx, dword [0x100881b4]
test ecx, ecx
je 0x10025036
dec dword [ecx + 0x374]
push eax
call fcn.10048e5d
add esp, 4
mov esi, dword [ebp - 0x140]
test esi, esi
jle 0x100250d9
mov esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x140]
add esi, 0xa8
mov dword [ebp - 0x128], eax
mov eax, dword [esi]
test eax, eax
je 0x100250c4
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 0x10c]
push eax
call fcn.1001a410
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x110], ecx
cmp dword [esi], ecx
jle 0x100250c4
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x100250b6
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 - 0x110]
inc ecx
add edx, 0x10
mov dword [ebp - 0x110], ecx
cmp ecx, dword [esi]
jl 0x10025090
add esi, 0xc4
sub dword [ebp - 0x128], 1
jne 0x10025065
mov esi, dword [ebp - 0x140]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x10025107
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 [0x1007db34]
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 [0x100881b4]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x1002514d
inc dword [eax + 0x374]
push ecx
call fcn.100501ef
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.10044de0
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [ebp - 0x188], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1a0], eax
test esi, esi
jle 0x1002533c
mov ecx, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0x15c], eax
mov edx, esi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x164], esi
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x10025310
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [ebp - 0x1ac]
call fcn.100207c0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1007db34]
movss dword [ebp - 0x13c], xmm1
lahf
test ah, 0x44
jnp 0x100252f4
xor esi, esi
nop
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007e170]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10064e90
movss xmm1, dword [ebp - 0x13c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x100251f0
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x118], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x100252fa
lea ecx, [edx + 4]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], ecx
cmp dword [ecx + 8], 0
je 0x100252d8
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [ebp - 0x110], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x100252c6
mov eax, dword [ebp - 0x110]
xor ecx, ecx
test esi, esi
je 0x100252b9
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 0x100252a0
mov eax, dword [ebp - 0x110]
dec edi
add edx, eax
test edi, edi
jg 0x10025297
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x12c]
inc eax
add ecx, 0x10
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x128], ecx
cmp eax, dword [edx + 0xa8]
jl 0x10025267
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x164]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x164], edx
jne 0x100251a2
mov esi, dword [ebp - 0x1a8]
jmp 0x10025342
mov esi, dword [ebp - 0x10c]
cmp dword [ebp - 0x184], 0
je 0x1002535a
mov eax, dword [0x100881b4]
test eax, eax
je 0x1002535a
dec dword [eax + 0x374]
push dword [ebp - 0x184]
call fcn.10048e5d
add esp, 4
test esi, esi
je 0x1002537b
mov eax, dword [0x100881b4]
test eax, eax
je 0x1002537b
dec dword [eax + 0x374]
push esi
call fcn.10048e5d
mov ecx, dword [ebp - 0x130]
add esp, 4
test ecx, ecx
je 0x100253b0
mov eax, dword [0x100881b4]
test eax, eax
je 0x1002539d
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x140]
test eax, eax
jle 0x10025780
mov edx, dword [ebp - 0x134]
xor ecx, ecx
movss xmm3, dword [0x1007db04]
add edx, 4
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x110], eax
jmp 0x100253f6
mov edi, dword [ebp - 0x12c]
cmp dword [edx + 0xa4], 0
je 0x10025706
mov eax, dword [edi + 0x54]
mov edi, dword [edx + 0x18]
add eax, ecx
mov esi, dword [edx]
mov dword [ebp - 0x13c], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov dword [ebp - 0x118], eax
mov eax, 0x100
cwde
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 esi, dword [ebp - 0x13c]
movsx edx, dx
mov edi, dword [ebp - 0x118]
add cx, ax
mov dword [ebp - 0x16c], edx
movss xmm1, dword [esi + 0x10]
movsx eax, cx
mov dword [ebp - 0x150], eax
sub eax, edx
cmp byte [esi + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x13c], xmm1
jne 0x10025530
mov ecx, edi
call fcn.10025b90
movd xmm1, dword [ebp - 0x150]
xorps xmm4, xmm4
mov eax, dword [esi + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [edi + 0x10], eax
xor eax, eax
mov ecx, dword [ebp - 0x12c]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], ecx
movss xmm3, dword [0x1007db04]
comiss xmm1, xmm4
mulss xmm1, dword [ebp - 0x13c]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x16c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm1, dword [ebp - 0x13c]
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x4c], xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x50], xmm0
jmp 0x10025535
movss xmm2, dword [edi + 0x4c]
inc word [edi + 0x40]
addss xmm2, xmm3
mov edx, dword [ebp - 0x138]
movss xmm1, dword [esi + 0x28]
movss dword [ebp - 0x16c], xmm1
mov dword [ebp - 0x114], 0
cmp dword [edx + 0xa4], 0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x13c], xmm0
jle 0x10025700
xor edi, edi
mov eax, dword [edx + 0xbc]
mov edx, dword [edx + 0x94]
mov ecx, dword [ebp - 0x114]
movss xmm7, dword [esi + 0x34]
movss xmm0, dword [edx + edi + 0x10]
comiss xmm7, xmm0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x150], eax
ja 0x100255b5
movss xmm7, dword [esi + 0x38]
minss xmm7, xmm0
mov ecx, dword [ebp - 0x12c]
movaps xmm6, xmm1
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x100255e7
cmp byte [esi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm3
je 0x100255e3
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [ecx + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x1007db34]
movss xmm2, dword [0x1007db34]
movzx eax, word [edx + edi]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
divss xmm3, xmm0
movzx eax, word [edx + edi + 2]
movd xmm0, dword [ecx + 0x20]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x118]
movd xmm4, eax
movzx eax, word [edx + edi + 4]
divss xmm2, xmm0
movd xmm1, eax
movzx eax, word [edx + edi + 6]
cvtdq2ps xmm4, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss xmm2, dword [edx + edi + 8]
mulss xmm1, xmm3
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + edi + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [ebp - 0x13c]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [edx + edi + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [edx + edi + 0x14]
addss xmm0, xmm4
addss xmm3, dword [ebp - 0x13c]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x150]
call fcn.100260b0
mov eax, dword [ebp - 0x114]
add edi, 0x1c
mov edx, dword [ebp - 0x138]
inc eax
movss xmm1, dword [ebp - 0x16c]
movss xmm3, dword [0x1007db04]
mov dword [ebp - 0x114], eax
cmp eax, dword [edx + 0xa4]
jl 0x10025581
mov ecx, dword [ebp - 0x124]
add edx, 0xc4
add ecx, 0x78
sub dword [ebp - 0x110], 1
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x124], ecx
jne 0x100253f0
mov esi, dword [ebp - 0x134]
add esi, 0xb4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10025753
mov eax, dword [0x100881b4]
test eax, eax
je 0x1002574a
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x10025771
mov eax, dword [0x100881b4]
test eax, eax
je 0x10025768
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
add esi, 0xc4
sub dword [ebp - 0x140], 1
jne 0x10025734
mov ecx, dword [ebp - 0x12c]
call fcn.10025840
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x119], 1
test ecx, ecx
je 0x100257b4
mov eax, dword [0x100881b4]
test eax, eax
je 0x100257ab
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x100257d6
mov eax, dword [0x100881b4]
test eax, eax
je 0x100257cd
dec dword [eax + 0x374]
push ecx
call fcn.10048e5d
add esp, 4
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x100257f8
mov eax, dword [0x100881b4]
test eax, eax
je 0x100257ef
dec dword [eax + 0x374]
push edi
call fcn.10048e5d
add esp, 4
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x1002581b
mov ecx, dword [0x100881b4]
test ecx, ecx
je 0x10025812
dec dword [ecx + 0x374]
push eax
call fcn.10048e5d
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x119]
xor ecx, ebp
pop edi
pop esi
call fcn.10041a84
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret