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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f8
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0x1f4], eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.10026e20
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.100252a0
mov ecx, dword [edi + 0x54]
xor esi, esi
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ecx
lea eax, [esi + 8]
mov dword [esp + 0x44], edx
test ecx, ecx
jle 0x10028f66
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x10028f64
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x10028f4c
inc dword [ecx + 0x374]
imul eax, eax, 0x54
push eax
call edx
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x38], eax
mov eax, 8
jmp 0x10028f66
mov eax, ecx
mov edi, dword [edi + 0x3c]
mov dword [esp + 0x24], edi
test edi, edi
jle 0x10028f9e
cmp edi, 8
mov ecx, edi
cmovl ecx, eax
test ecx, ecx
jle 0x10028f9e
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x10028f8c
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x34], eax
mov esi, 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, [edi + edi*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x54], 0
jle 0x100290dd
mov edi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x3c], eax
add edi, 0x34
mov ecx, dword [ecx + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x3c], edx
jle 0x10029133
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002903b
mov eax, dword [esp + 0x1c]
or esi, esi
mov ecx, dword [ecx + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002902f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [esp + 0x14]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x10029012
cmp eax, 0xffffffff
je 0x10029133
mov esi, dword [esp + 0x1c]
push ecx
push esi
push dword [esp + 0x18]
lea ecx, [edi - 0x34]
call fcn.10028b20
test al, al
je 0x10029133
mov eax, dword [edi - 4]
mov edx, 0x10154238
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x1c], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1002909f
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1002909b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10029080
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
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 [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], eax
cmp esi, dword [ecx + 0x54]
jl 0x10028ff0
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x20], esi
test eax, eax
jle 0x100293eb
mov edx, dword [esp + 0x38]
add edx, 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 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 [esp + 0x64], esi
mov dword [esp + 0x10], eax
cmp edi, eax
jle 0x10029162
test eax, eax
je 0x1002913d
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x10]
jmp 0x10029142
mov byte [esp + 0xf], 0
jmp 0x1002a149
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [esp + 0x10], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100198b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x10029165
lea eax, [edx - 8]
mov dword [eax], edi
lea eax, [edi*4]
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 0x100291d7
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x100291bf
test eax, eax
je 0x100291aa
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100291af
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100198b0
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 + 0x18]
mov eax, dword [edx - 0x18]
mov dword [esp + 0x60], eax
cmp word [eax], 0
je 0x10029293
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10029293
movzx edi, word [eax]
cmp edi, ecx
ja 0x1002927e
mov eax, dword [esp + 0x64]
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 + 0x10], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1002926d
mov eax, dword [esp + 0x18]
push edi
push dword [eax - 0x2c]
call fcn.100d9770
mov edx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x10029271
inc dword [edx - 0xc]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
or dword [eax + esi*4], ecx
mov eax, dword [esp + 0x64]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10029204
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x60], eax
cmp word [eax], 0
jne 0x100291f0
add edx, 0x54
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], edx
jne 0x10029100
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add esi, 0x48
mov edi, eax
mov dword [esp + 0x28], eax
push dword [esi - 0x10]
mov ecx, esi
call fcn.1002a280
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x1c], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x74], eax
cmp ecx, eax
jae 0x100293a2
nop
mov eax, dword [edx]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002938d
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x10], eax
je 0x10029383
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [esp + 0x5c]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [esp + 0xb0], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x10029358
inc ecx
test eax, eax
je 0x1002933f
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x10029344
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002a280
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov eax, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
inc edi
cmp edi, 0x20
jl 0x100292f0
add edx, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x74]
jb 0x100292e0
mov edi, dword [esp + 0x28]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100293d5
mov eax, dword [0x1020f4d8]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100293c6
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x44]
add esp, 4
mov dword [esi - 4], 0
add esi, 0x54
sub edi, 1
mov dword [esp + 0x28], edi
jne 0x100292b6
mov esi, dword [esp + 0x20]
jmp 0x100293f1
xor esi, esi
mov dword [esp + 0x20], esi
cmp dword [esp + 0x24], 0
jle 0x1002944a
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add edi, 0x14
mov esi, dword [esp + 0x40]
mov ecx, dword [edi]
test ecx, ecx
je 0x1002943a
mov eax, dword [0x1020f4d8]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1002942a
dec dword [eax + 0x374]
push ecx
call esi
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [esp + 0x24], eax
jne 0x10029407
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10029472
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x10029462
dec dword [ecx + 0x374]
push eax
call dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x34], 0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x100294b2
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x100294b2
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x1002949d
inc dword [ecx + 0x374]
mov edi, dword [esp + 0x44]
shl eax, 4
push eax
call edi
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
jmp 0x100294b6
mov edi, dword [esp + 0x44]
shl esi, 4
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x68], eax
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x100294da
inc dword [eax + 0x374]
push 0x40000
call edi
mov ecx, dword [0x1020f4d8]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x100294f6
inc dword [ecx + 0x374]
push 0x20
call edi
movss xmm0, dword [0x10155bc0]
xor ecx, ecx
mov dword [esp + 0x68], eax
add esp, 4
mov dword [esp + 0x9c], eax
mov dword [eax], esi
mov eax, 1
mov dword [esp + 0x60], eax
xor esi, esi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], esi
test eax, eax
jle 0x100299fa
mov edi, dword [esp + 0x38]
xor edx, edx
add edi, 0x48
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x3c], edi
nop
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [edi - 0x10]
test edx, edx
je 0x100299d5
mov eax, esi
add esi, edx
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [edi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x10], esi
movss dword [esp + 0x70], xmm1
lahf
test ah, 0x44
jnp 0x100295e8
mov byte [esp + 0x2d], 1
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10156210]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10130170
movss xmm1, dword [esp + 0x70]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xf8], dl
inc esi
cmp esi, 0x100
jb 0x100295a0
jmp 0x100295ed
mov byte [esp + 0x2d], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], 0
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x18]
mov dword [esp + 0x84], ecx
movss dword [esp + 0x88], xmm0
jle 0x100299cd
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], ecx
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x24], eax
push dword [eax + 0x14]
push dword [edi - 0x30]
call fcn.100d9770
add esp, 8
test eax, eax
je 0x100299a0
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.100da0e0
add esp, 0xc
test eax, eax
jne 0x100299a0
test byte [edi - 0x2c], 0x20
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
je 0x1002967f
push esi
call fcn.100e0fe0
add esp, 4
test byte [edi - 0x2c], 0x40
je 0x1002968e
push esi
call fcn.100e10e0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002999c
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov esi, dword [eax + 0x54]
push esi
call fcn.100dc370
mov edx, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x100296b7
xor edi, edi
jmp 0x1002970a
mov eax, dword [edi - 0x30]
mov ecx, dword [esp + 0x3c]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [edx], eax
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ecx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edx + 8], eax
mov eax, dword [ecx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x24]
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm0
mov eax, dword [edx + 4]
imul eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
add eax, ecx
cmp eax, 0x40000
jle 0x1002977b
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002973a
inc dword [eax + 0x374]
push 0x40000
call dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x94]
push eax
call fcn.10019930
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
jmp 0x1002977f
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov esi, dword [eax + esi*4 - 4]
xor eax, eax
add esi, ecx
add ecx, dword [esp + 0x58]
cmp byte [esp + 0x2d], al
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0xf8]
cmove ecx, eax
mov dword [edx + 0x18], esi
mov eax, dword [edx]
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
je 0x10029888
sub dword [esp + 0x58], 1
jne 0x10029932
test ecx, ecx
jne 0x10029824
test edx, edx
je 0x10029932
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [esp + 0x60]
add esp, 0xc
add esi, dword [esp + 0x50]
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
jne 0x10029801
jmp 0x10029932
test edx, edx
je 0x10029932
mov ecx, dword [esp + 0x50]
test eax, eax
je 0x1002986c
mov edx, dword [esp + 0x20]
sub edi, esi
mov ecx, esi
mov dword [esp + 0x58], edi
mov esi, edi
mov edi, dword [esp + 0x6c]
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + edi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10029846
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
add edi, dword [esp + 0x54]
add esi, ecx
sub edx, 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edx
jne 0x10029830
jmp 0x10029932
test ecx, ecx
je 0x100298a2
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2f], cl
jmp 0x100298ac
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], 0xff
test edx, edx
je 0x10029932
mov ecx, dword [esp + 0x18]
nop dword [eax + eax]
xor edx, edx
mov byte [esp + 0xf], 0
test eax, eax
je 0x10029915
nop dword [eax + eax]
mov esi, edx
and esi, 7
jne 0x100298dd
mov al, byte [edi]
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
movzx eax, byte [esp + 0x2f]
movzx ecx, byte [esp + 0x2e]
cmovl ecx, eax
mov eax, dword [esp + 0x48]
shl byte [esp + 0xf], 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 + 0x20]
cmp edx, eax
jb 0x100298d0
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x54]
add esi, dword [esp + 0x50]
sub ecx, 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], ecx
jne 0x100298c0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x7c]
mov eax, dword [edx]
add eax, dword [esp + 0x84]
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 + 0x84]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x88]
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 + 0x28], ecx
jmp 0x100299a0
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
add esi, 0x10
mov ecx, dword [esp + 0x70]
inc eax
add ecx, 0x1c
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], esi
cmp eax, dword [edi]
jl 0x10029634
mov eax, dword [esp + 0x14]
movss xmm0, dword [0x10155bc0]
mov edx, dword [esp + 0x74]
add edi, 0x54
mov esi, dword [esp + 0x10]
add edx, 0x78
sub dword [esp + 0x5c], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x74], edx
jne 0x10029560
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
test esi, esi
jg 0x10029a57
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10155e74]
jb 0x10029a33
mov esi, 0x1000
jmp 0x10029a57
comiss xmm0, dword [0x10155e70]
jb 0x10029a43
mov esi, 0x800
jmp 0x10029a57
comiss xmm0, dword [0x10155e58]
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 + 0x24], ecx
test esi, esi
jle 0x10029a99
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x10029a99
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x10029a88
inc dword [ecx + 0x374]
shl eax, 3
push eax
call dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, eax
mov edx, dword [edi + 0x24]
push esi
push ecx
push ecx
lea ecx, [esp + 0xd4]
call fcn.10028d20
add esp, 0xc
lea edx, [esp + 0xc8]
mov ecx, edi
call fcn.10026e90
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x10029b32
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add esi, 0x38
mov dword [esp + 0x10], eax
mov eax, dword [esi]
test eax, eax
je 0x10029b20
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xc8]
push eax
call fcn.1001a510
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x10029b20
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x10029b18
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x28], ecx
cmovge ecx, dword [eax + 0x28]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10029af4
add esi, 0x54
sub dword [esp + 0x10], 1
jne 0x10029ad3
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x10029b60
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 [0x10155bc0]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], 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 [0x1020f4d8]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x10029ba6
inc dword [eax + 0x374]
push ecx
call dword [esp + 0x48]
mov ecx, dword [edi + 0x28]
add esp, 4
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jle 0x1002a039
mov ecx, dword [esp + 0x38]
xor eax, eax
movss xmm3, dword [0x10155b64]
add ecx, 8
mov edx, esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], edx
nop dword [eax + eax]
cmp dword [ecx + 0x30], 0
je 0x1002a01e
mov edi, dword [edi + 0x5c]
movss xmm0, dword [ecx - 4]
add edi, eax
movss dword [esp + 0x88], xmm0
movss xmm0, dword [ecx]
mov dword [esp + 0x20], edi
cmp byte [edi + 0x3c], 0
mov esi, dword [edi + 0x74]
mov dword [esp + 0x90], esi
movss dword [esp + 0x10], xmm0
lea edx, [esi + 0x3c]
mov dword [esp + 0x50], edx
lea eax, [esi + 0x4c]
lea edx, [esi + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], edx
jne 0x10029c83
mov ecx, esi
call fcn.10027300
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x88]
movss xmm3, dword [0x10155b64]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esi + 0x50], xmm0
jmp 0x10029c8f
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], edx
movss xmm0, dword [eax]
inc word [esi + 0x40]
addss xmm0, xmm3
movss xmm4, dword [edi + 0x28]
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x58], xmm4
mov dword [esp + 0x80], 0
cvttss2si eax, xmm0
cmp dword [ecx + 0x30], 0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edi + 0x2c]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x10]
movss dword [esp + 0x7c], xmm5
mov dword [esp + 0x88], eax
jle 0x1002a00f
add esi, 0x20
xor edx, edx
xor eax, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x84], eax
nop dword [eax]
mov edi, dword [ecx + 0x48]
add edi, eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x48], edi
movzx ecx, word [eax + edx + 8]
movzx eax, word [eax + edx + 0xa]
add eax, dword [esp + 0x88]
add ecx, dword [esp + 0x88]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [esp + 0x78], edx
add esi, dword [esp + 0x70]
add esi, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
test edi, edi
jle 0x10029d9e
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x68]
dec edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add esi, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x5c], eax
test edi, edi
jg 0x10029d61
mov eax, dword [esp + 0x14]
movss xmm3, dword [0x10155b64]
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0x7c]
mov edx, dword [eax + 0x24]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
movss xmm2, dword [ecx + 0x10]
movss xmm0, dword [esi + 0x34]
comiss xmm0, xmm2
movss dword [esp + 0x10], xmm0
ja 0x10029ddf
movss xmm0, dword [esi + 0x38]
movaps xmm1, xmm4
minss xmm0, xmm2
ucomiss xmm2, xmm0
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x8c], xmm0
lahf
test ah, 0x44
jnp 0x10029dff
cmp byte [esi + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
je 0x10029dfb
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm4
movd xmm0, dword [ecx + 8]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov edi, dword [ecx]
movzx esi, word [ecx + 0x14]
addss xmm0, xmm1
movss xmm1, dword [0x10155bc0]
movss dword [esp + 0x78], xmm0
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x74]
addss xmm0, xmm5
movss dword [esp + 0x48], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
inc eax
push eax
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x10155bc0]
divss xmm1, xmm0
movss dword [esp + 0x90], xmm1
call fcn.10028830
mov ecx, dword [esp + 0x74]
movss xmm1, dword [esp + 0x78]
movss xmm2, dword [esp + 0x48]
movd xmm0, edi
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x44]
movss xmm3, dword [0x10155b64]
addss xmm0, xmm1
mov dword [esp + 0x5c], eax
mov word [eax + edx*8 - 0x28], si
mov esi, eax
mov eax, dword [esp + 0x70]
movss dword [esi + edx*8 - 0x18], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x20], xmm1
addss xmm0, xmm2
movss dword [esi + edx*8 - 0x1c], xmm2
movss dword [esi + edx*8 - 0x14], xmm0
movd xmm0, eax
add eax, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
movss dword [esi + edx*8 - 0x10], xmm0
movd xmm0, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
movss dword [esi + edx*8 - 0xc], xmm0
movd xmm0, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
add eax, ecx
mov ecx, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x18]
movss dword [esi + edx*8 - 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
movss dword [esi + edx*8 - 4], xmm0
mov eax, dword [ecx]
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ecx]
cmp byte [eax + 0x1c], 0
je 0x10029f68
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x90]
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0x7c]
mov eax, dword [eax]
mov byte [edi + 0x58], 1
movss xmm1, dword [esi + edx*8 - 4]
subss xmm1, dword [esi + edx*8 - 0xc]
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 8]
subss xmm0, dword [esi + edx*8 - 0x10]
addss xmm1, dword [0x10155c00]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
inc esi
add edx, 0x10
mov dword [esp + 0x80], esi
mov dword [esp + 0x6c], edx
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x10155c00]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [esp + 0x84]
add eax, 0x1c
mov dword [esp + 0x84], eax
add dword [edi + 0x54], ecx
mov ecx, dword [esp + 0x4c]
cmp esi, dword [ecx + 0x30]
jl 0x10029d00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov dword [ecx + 0x20], 0
add ecx, 0x54
add eax, 0x78
sub edx, 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], edx
jne 0x10029bf0
xor esi, esi
cmp dword [esp + 0x60], esi
jle 0x1002a06e
mov edi, dword [esp + 0x64]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1002a05b
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a05b
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x44]
inc esi
add esp, 4
cmp esi, dword [esp + 0x60]
jl 0x1002a045
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x1002a0dc
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1002a09d
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a097
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1002a0b9
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a0b3
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002a0ce
push eax
call fcn.100d92f0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x30], 1
jne 0x1002a081
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.10026fb0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xf], 1
test ecx, ecx
je 0x1002a10b
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a0ff
dec dword [eax + 0x374]
mov esi, dword [esp + 0x40]
push ecx
call esi
add esp, 4
jmp 0x1002a10f
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x1002a12c
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a126
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1002a149
mov eax, dword [0x1020f4d8]
test eax, eax
je 0x1002a143
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002a16d
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x1002a161
dec dword [ecx + 0x374]
mov esi, dword [esp + 0x40]
push eax
call esi
add esp, 4
jmp 0x1002a171
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1002a18f
mov ecx, dword [0x1020f4d8]
test ecx, ecx
je 0x1002a189
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x1fc]
mov al, byte [esp + 0xf]
pop edi
pop esi
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret