Function at 0x10028530
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x1015a368]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
mov esi, edx
mov dword [esp + 0x38], ecx
push edi
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.10026170
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.10024780
mov ecx, dword [esi + 0x54]
xor edi, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
lea edx, [edi + 8]
test ecx, ecx
jle 0x100285e7
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x100285e7
mov ecx, dword [0x10223950]
test ecx, ecx
je 0x100285cc
inc dword [ecx + 0x374]
push dword [0x10223948]
imul eax, eax, 0x54
push eax
call fcn.100086c0
add esp, 8
mov dword [esp + 0x38], eax
mov edx, 8
mov esi, dword [esi + 0x3c]
mov dword [esp + 0x40], esi
test esi, esi
jle 0x10028628
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x10028628
mov eax, dword [0x10223950]
test eax, eax
je 0x1002860d
inc dword [eax + 0x374]
push dword [0x10223948]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.100086c0
add esp, 8
mov dword [esp + 0x34], eax
mov edi, eax
imul ecx, dword [esp + 0x30], 0x54
push ecx
push 0
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x1c], 0
cmp dword [ecx + 0x54], 0
jle 0x10028750
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x48], eax
add esi, 0x34
jmp 0x10028675
mov ecx, edx
mov edi, dword [ecx + 0x5c]
xor edx, edx
add edi, eax
mov dword [esi - 4], 0xffffffff
cmp dword [ecx + 0x3c], edx
jle 0x100287a4
or eax, 0xffffffff
nop
cmp eax, 0xffffffff
jne 0x100286bd
mov ecx, dword [ecx + 0x44]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100286a7
mov dword [esi - 4], edx
mov eax, edx
jmp 0x100286aa
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0xc]
inc edx
cmp edx, dword [ecx + 0x3c]
jl 0x10028690
cmp eax, 0xffffffff
je 0x100287a4
push ecx
push edi
push dword [esp + 0x44]
lea ecx, [esi - 0x34]
call fcn.100281b0
test al, al
je 0x100287a4
mov eax, dword [esi - 4]
mov edx, 0x101542ec
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [esp + 0x14], ecx
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x10028712
movzx eax, word [edx + 2]
test ax, ax
je 0x1002870e
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100286f3
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add eax, 0x78
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], eax
cmp ecx, dword [edx + 0x54]
jl 0x10028673
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x28], esi
test eax, eax
jle 0x10028a64
mov edx, dword [esp + 0x38]
add edx, 0x44
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
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 [esp + 0x20], esi
mov dword [esp + 0x3c], eax
cmp edi, eax
jle 0x100287c7
test eax, eax
je 0x100287ae
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x3c]
jmp 0x100287b3
mov byte [esp + 0xb], 0
jmp 0x100297d7
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [edx - 8]
push eax
call fcn.100199f0
mov edx, dword [esp + 0x10]
lea eax, [edi*4]
mov dword [edx - 8], edi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x1002883a
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x10028822
test eax, eax
je 0x1002880d
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10028812
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100199f0
lea eax, [esi*4]
mov dword [edi + 0xc], esi
push eax
push 0
push dword [edi + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0x18]
mov dword [esp + 0x2c], eax
movzx ecx, word [eax]
test cx, cx
je 0x10028901
movzx eax, word [eax + 2]
test ax, ax
je 0x10028901
movzx edi, cx
cmp edi, eax
ja 0x100288ea
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [esp + 0x34]
sar esi, 5
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100288d9
mov eax, dword [esp + 0x10]
push edi
push dword [eax - 0x2c]
call fcn.100d9f00
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100288dd
inc dword [edx - 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
or dword [eax + esi*4], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10028870
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
movzx ecx, word [eax]
test cx, cx
jne 0x10028851
add edx, 0x54
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], edx
jne 0x10028771
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add esi, 0x48
mov edi, eax
mov dword [esp + 0x1c], eax
push dword [esi - 0x10]
mov ecx, esi
call fcn.10029960
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x54], eax
cmp ecx, eax
jae 0x10028a16
nop dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10028a01
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x3c], eax
je 0x100289f7
mov eax, edx
xorps xmm0, xmm0
sub eax, dword [esp + 0x18]
mov edx, dword [esi + 4]
shl eax, 3
and eax, 0xffffffe0
movq qword [esp + 0xa0], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0xa4], eax
mov eax, dword [esi]
cmp eax, edx
jne 0x100289ca
lea ecx, [eax + 1]
test edx, edx
je 0x100289b3
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100289b8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10029960
mov eax, dword [esi]
xorps xmm0, xmm0
mov edx, dword [esp + 0x14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
inc edi
cmp edi, 0x20
jl 0x10028960
add edx, 4
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x54]
jb 0x10028950
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10028a50
mov eax, dword [0x10223950]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x10028a3a
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov dword [esi - 4], 0
add esi, 0x54
sub edi, 1
mov dword [esp + 0x1c], edi
jne 0x10028924
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x40], 0
jle 0x10028abe
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x10028ab2
mov eax, dword [0x10223950]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x10028a99
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
mov eax, dword [esp + 0x48]
add esp, 8
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [esp + 0x40], eax
jne 0x10028a76
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10028aec
mov eax, dword [0x10223950]
test eax, eax
je 0x10028ad5
dec dword [eax + 0x374]
push dword [0x10223948]
push edi
call fcn.100086e0
add esp, 8
mov dword [esp + 0x34], 0
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 0
call fcn.10027dd0
mov eax, dword [esp + 0x80]
shl eax, 4
push eax
mov eax, dword [esp + 0x8c]
push 0
push eax
mov dword [esp + 0x48], eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov eax, dword [0x10223950]
test eax, eax
je 0x10028b65
inc dword [eax + 0x374]
push dword [0x10223948]
push 0x40000
call fcn.100086c0
add esp, 8
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x80]
push eax
call fcn.10019a90
mov ecx, dword [esp + 0x30]
xor eax, eax
movss xmm0, dword [0x10155c80]
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
test ecx, ecx
jle 0x1002907d
mov eax, dword [esp + 0x88]
xor edx, edx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x40], eax
add edi, 0x48
mov eax, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ecx
nop dword [eax]
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [edi - 0x10]
test edx, edx
je 0x10029056
mov eax, esi
add esi, edx
shl eax, 4
add eax, dword [esp + 0x3c]
mov dword [edi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x18], esi
movss dword [esp + 0x64], xmm1
lahf
test ah, 0x44
jnp 0x10028c68
mov byte [esp + 0x25], 1
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10156520]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10130900
movss xmm1, dword [esp + 0x64]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xe8], dl
inc esi
cmp esi, 0x100
jb 0x10028c20
jmp 0x10028c6d
mov byte [esp + 0x25], 0
cmp dword [edi], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], 0
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x18]
mov dword [esp + 0x6c], ecx
movss dword [esp + 0x7c], xmm0
jle 0x1002904e
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], ecx
nop dword [eax + eax]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x4c], eax
push dword [eax + 0x14]
push dword [edi - 0x30]
call fcn.100d9f00
add esp, 8
test eax, eax
je 0x10029027
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.100da870
add esp, 0xc
test eax, eax
jne 0x10029027
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
mov eax, dword [edi - 0x2c]
test al, 0x20
je 0x10028cff
push esi
call fcn.100e1770
mov eax, dword [edi - 0x2c]
add esp, 4
test al, 0x40
je 0x10028d0c
push esi
call fcn.100e1870
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x10029023
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x58], eax
call fcn.100dcb00
add esp, 8
test eax, eax
je 0x10028d42
mov eax, dword [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
jmp 0x10028da9
mov eax, dword [edi - 0x30]
mov edx, dword [esp + 0x1c]
mov edi, dword [eax + 0x54]
mov eax, dword [esp + 0x4c]
add edi, 0x4c
mov dword [esp + 0x44], edi
mov esi, dword [edi + 4]
mov dword [eax], esi
mov ecx, dword [edi]
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov eax, dword [edx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [edx - 0x30]
mov edx, edi
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
mov eax, edi
mov edi, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov edx, dword [esp + 0x28]
imul ecx, esi
mov dword [esp + 0x60], ecx
lea eax, [ecx + edx]
cmp eax, 0x40000
jle 0x10028e1b
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [0x10223950]
test eax, eax
je 0x10028dd3
inc dword [eax + 0x374]
push dword [0x10223948]
push 0x40000
call fcn.100086c0
add esp, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x80]
push eax
call fcn.10019a90
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], eax
jmp 0x10028e1f
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov esi, dword [eax + esi*4 - 4]
mov eax, dword [esp + 0x4c]
add esi, edx
add edx, ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], edx
lea ecx, [esp + 0xe8]
xor edx, edx
cmp byte [esp + 0x25], dl
mov dword [eax + 0x18], esi
mov eax, dword [eax]
cmove ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
je 0x10028f22
sub dword [esp + 0x60], 1
jne 0x10028fc2
test ecx, ecx
jne 0x10028ec6
test edx, edx
je 0x10028fc2
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [esp + 0x50]
add esp, 0xc
add esi, dword [esp + 0x20]
sub dword [esp + 0x10], 1
mov eax, dword [esp + 0x5c]
jne 0x10028ea3
jmp 0x10028fc2
test edx, edx
je 0x10028fc2
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x10028f06
mov ecx, esi
sub edi, esi
mov esi, dword [esp + 0x50]
mov edx, eax
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10028ee0
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, dword [esp + 0x44]
add esi, ecx
sub edx, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], edx
jne 0x10028ed2
jmp 0x10028fc2
test ecx, ecx
je 0x10028f3c
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x27], cl
jmp 0x10028f46
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0xff
test edx, edx
je 0x10028fc2
mov ecx, dword [esp + 0x10]
xor edx, edx
mov byte [esp + 0xb], 0
test eax, eax
je 0x10028fa5
nop dword [eax]
mov esi, edx
and esi, 7
jne 0x10028f6d
mov al, byte [edi]
mov byte [esp + 0xb], al
cmp byte [esp + 0xb], 0
movzx eax, byte [esp + 0x27]
movzx ecx, byte [esp + 0x26]
cmovl ecx, eax
mov eax, dword [esp + 0x58]
shl byte [esp + 0xb], 1
mov byte [edx + eax], cl
inc edx
test esi, esi
lea eax, [edi + 1]
cmovne eax, edi
mov edi, eax
mov eax, dword [esp + 0x5c]
cmp edx, eax
jb 0x10028f60
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
add edi, dword [esp + 0x44]
add esi, dword [esp + 0x20]
sub ecx, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], ecx
jne 0x10028f52
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov eax, dword [edx]
add eax, dword [esp + 0x6c]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x78]
cvttss2si ecx, xmm0
mov word [esi + eax + 4], cx
mov eax, dword [edx + 4]
add eax, dword [esp + 0x6c]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x7c]
cvttss2si ecx, xmm0
mov word [esi + eax + 6], cx
mov eax, dword [edi - 0x20]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
imul ecx, eax
add dword [esp + 0x14], ecx
jmp 0x10029027
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
add esi, 0x10
mov ecx, dword [esp + 0x64]
inc eax
add ecx, 0x1c
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], esi
cmp eax, dword [edi]
jl 0x10028cb0
mov eax, dword [esp + 0xc]
movss xmm0, dword [0x10155c80]
mov edx, dword [esp + 0x68]
add edi, 0x54
mov esi, dword [esp + 0x18]
add edx, 0x78
sub dword [esp + 0x54], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], edx
jne 0x10028be0
mov eax, dword [esp + 0x14]
jmp 0x10029093
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x74], ecx
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
test esi, esi
jg 0x100290f0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10155f70]
jb 0x100290cc
mov esi, 0x1000
jmp 0x100290f0
comiss xmm0, dword [0x10155f6c]
jb 0x100290dc
mov esi, 0x800
jmp 0x100290f0
comiss xmm0, dword [0x10155f48]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x24], esi
xor ecx, ecx
sub esi, dword [edi + 0x10]
mov dword [esp + 0x5c], ecx
test esi, esi
jle 0x10029139
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x10029139
mov ecx, dword [0x10223950]
test ecx, ecx
je 0x10029121
inc dword [ecx + 0x374]
push dword [0x10223948]
shl eax, 3
push eax
call fcn.100086c0
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
mov edx, dword [edi + 0x24]
push esi
push ecx
push ecx
lea ecx, [esp + 0xc4]
call fcn.100283b0
add esp, 0xc
lea edx, [esp + 0xb8]
mov ecx, edi
call fcn.100261e0
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x100291e3
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add esi, 0x38
mov dword [esp + 0x18], eax
mov eax, dword [esi]
test eax, eax
je 0x100291d1
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xb8]
push eax
call fcn.1001a6b0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100291d1
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x100291c9
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x28]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100291a0
add esi, 0x54
sub dword [esp + 0x18], 1
jne 0x10029177
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x10029211
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x24]
inc eax
movss xmm1, dword [0x10155c80]
movaps xmm2, xmm1
mov dword [edi + 0x28], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x10223950]
movss dword [edi + 0x2c], xmm2
divss xmm1, xmm0
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x10029255
inc dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086c0
mov ecx, dword [edi + 0x28]
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
test esi, esi
jle 0x100296a2
mov ecx, dword [esp + 0x38]
xor eax, eax
movss xmm3, dword [0x10155c24]
add ecx, 8
mov edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], edx
nop
cmp dword [ecx + 0x30], 0
je 0x10029687
mov edi, dword [edi + 0x5c]
movss xmm0, dword [ecx - 4]
add edi, eax
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [ecx]
mov dword [esp + 0x64], edi
cmp byte [edi + 0x3c], 0
mov esi, dword [edi + 0x74]
mov dword [esp + 0x10], esi
movss dword [esp + 0x78], xmm0
jne 0x10029310
mov ecx, esi
call fcn.10026630
mov eax, dword [edi + 0x10]
movss xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x78]
movss xmm3, dword [0x10155c24]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], eax
movss dword [esi + 0x4c], xmm0
movss dword [esi + 0x50], xmm1
jmp 0x10029315
movss xmm0, dword [esi + 0x4c]
inc word [esi + 0x40]
addss xmm0, xmm3
cmp dword [ecx + 0x30], 0
movss xmm4, dword [edi + 0x28]
movss dword [esp + 0x44], xmm4
mov dword [esp + 0x50], 0
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edi + 0x2c]
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x10]
movss dword [esp + 0x2c], xmm5
mov dword [esp + 0x7c], eax
jle 0x10029678
add esi, 0x20
mov dword [esp + 0x70], esi
xor esi, esi
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x1c], edx
nop
mov eax, dword [ecx + 0x20]
mov edi, dword [ecx + 0x48]
mov dword [esp + 0x68], edi
movzx ecx, word [eax + esi + 8]
movzx eax, word [eax + esi + 0xa]
add eax, dword [esp + 0x7c]
add ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + edx]
mov dword [esp + 0x20], ecx
mov esi, dword [eax + 0x24]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + edx + 0x18]
mov edi, dword [edi + edx + 4]
mov dword [esp + 0x54], esi
imul esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
add esi, dword [ecx + 0x1c]
add esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
test edi, edi
jle 0x10029422
nop word [eax + eax]
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
dec edi
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add esi, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x18], eax
test edi, edi
jg 0x100293d0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
movss xmm3, dword [0x10155c24]
movss xmm4, dword [esp + 0x44]
movss xmm5, dword [esp + 0x2c]
mov eax, dword [esi + edx]
mov edi, dword [esi + edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x24]
jmp 0x1002942a
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
movss xmm2, dword [esi + edx + 0x10]
movss xmm0, dword [eax + 0x34]
comiss xmm0, xmm2
movss dword [esp + 0x18], xmm0
ja 0x10029463
movss xmm0, dword [eax + 0x38]
movaps xmm1, xmm4
minss xmm0, xmm2
ucomiss xmm2, xmm0
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jnp 0x10029483
mov eax, dword [esp + 0x64]
cmp byte [eax + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
je 0x1002947f
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm4
movd xmm0, dword [esi + edx + 8]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0xc]
addss xmm0, xmm1
movss xmm1, dword [0x10155c80]
movss dword [esp + 0x78], xmm0
movd xmm0, dword [esi + edx + 0xc]
cvtdq2ps xmm0, xmm0
movzx esi, word [esi + edx + 0x14]
addss xmm0, xmm5
movss dword [esp + 0x54], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x70]
divss xmm1, xmm0
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
inc eax
push eax
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [0x10155c80]
divss xmm1, xmm0
movss dword [esp + 0x50], xmm1
call fcn.10027e90
mov ecx, dword [esp + 0x70]
movss xmm1, dword [esp + 0x78]
movss xmm2, dword [esp + 0x54]
movss xmm3, dword [0x10155c24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x8c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
mov word [ecx + edx*8 - 0x28], si
mov esi, dword [esp + 0x6c]
movss dword [ecx + edx*8 - 0x20], xmm1
movd xmm0, eax
add eax, esi
cvtdq2ps xmm0, xmm0
movss dword [ecx + edx*8 - 0x1c], xmm2
addss xmm0, xmm1
movss dword [ecx + edx*8 - 0x18], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movss dword [ecx + edx*8 - 0x14], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x68]
movss dword [ecx + edx*8 - 0x10], xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x4c]
movss dword [ecx + edx*8 - 0xc], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
add eax, edi
mulss xmm0, dword [esp + 0x68]
movss dword [ecx + edx*8 - 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x4c]
movss dword [ecx + edx*8 - 4], xmm0
mov eax, dword [esi + 0x3c]
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [eax + 0x20]
movss dword [ecx + edx*8 - 0x24], xmm0
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1c], 0
je 0x100295e0
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + edx*8 - 0x24], xmm0
mov eax, dword [esi + 0x38]
mov byte [esi + 0x58], 1
movss xmm1, dword [ecx + edx*8 - 8]
subss xmm1, dword [ecx + edx*8 - 0x10]
movd xmm0, dword [eax + 0x24]
cvtdq2ps xmm0, xmm0
movss xmm4, dword [esp + 0x44]
mulss xmm1, xmm0
movss xmm5, dword [esp + 0x2c]
addss xmm1, dword [0x10155cc8]
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x28]
mov eax, dword [esp + 0x8c]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + edx*8 - 4]
subss xmm0, dword [eax + edx*8 - 0xc]
mov edx, dword [esp + 0x1c]
add edx, 0x1c
mov dword [esp + 0x1c], edx
mulss xmm1, xmm0
addss xmm1, dword [0x10155cc8]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
add dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
add esi, 0x10
mov dword [esp + 0x60], esi
cmp eax, dword [ecx + 0x30]
jl 0x10029370
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x20], 0
add ecx, 0x54
add eax, 0x78
sub edx, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], edx
jne 0x100292a0
xor esi, esi
cmp dword [esp + 0x74], esi
jle 0x100296e0
mov edi, dword [esp + 0x40]
nop
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100296c6
mov eax, dword [0x10223950]
test eax, eax
je 0x100296c6
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
inc esi
add esp, 8
cmp esi, dword [esp + 0x74]
jl 0x100296b0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x10029759
mov esi, dword [esp + 0x38]
add esi, 0x18
nop
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10029715
mov eax, dword [0x10223950]
test eax, eax
je 0x10029706
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1002973a
mov eax, dword [0x10223950]
test eax, eax
je 0x1002972b
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov eax, dword [esi]
test eax, eax
je 0x1002974f
push eax
call fcn.100d9a80
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x30], 1
jne 0x100296f0
mov ecx, edi
call fcn.100262e0
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0xb], 1
test ecx, ecx
je 0x1002978b
mov eax, dword [0x10223950]
test eax, eax
je 0x1002977c
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100297b1
mov eax, dword [0x10223950]
test eax, eax
je 0x100297a2
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100297d7
mov eax, dword [0x10223950]
test eax, eax
je 0x100297c8
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100297fd
mov eax, dword [0x10223950]
test eax, eax
je 0x100297ee
dec dword [eax + 0x374]
push dword [0x10223948]
push ecx
call fcn.100086e0
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10029824
mov ecx, dword [0x10223950]
test ecx, ecx
je 0x10029815
dec dword [ecx + 0x374]
push dword [0x10223948]
push eax
call fcn.100086e0
add esp, 8
mov ecx, dword [esp + 0x1ec]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.100d8158
mov esp, ebp
pop ebp
ret