Function at 0x10026210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101302ac
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x103b0024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x170], ecx
cmp dword [edi + 0x460], 0
jge 0x100262d6
test byte [edi], 2
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1dc], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
push eax
mov dword [ebp - 0x1e0], 0x1b00f5
je 0x100262c7
mov dword [ebp - 0x1e0], 0x20002
call fcn.100255c0
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x10026343
test byte [edi], 4
jne 0x10026343
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1dc], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1e0], 0x400041
call fcn.100255c0
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10022b30
xor eax, eax
mov byte [ebp - 0x15d], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1e8], edi
mov eax, dword [ebp - 0x164]
mov byte [ebp - 4], 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x16c], 8
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x180], ecx
test edx, edx
jle 0x1002642a
cmp edx, 8
mov esi, edx
cmovl esi, dword [ebp - 0x16c]
test esi, esi
jle 0x1002642a
mov eax, dword [0x103ca828]
test eax, eax
je 0x100263fd
inc dword [eax + 0xb0]
imul eax, esi, 0x54
push eax
call ecx
mov ecx, dword [ebp - 0x180]
add esp, 4
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1f8], esi
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x188], eax
test eax, eax
jle 0x10026488
cmp eax, 8
mov esi, eax
cmovl esi, dword [ebp - 0x16c]
test esi, esi
jle 0x10026488
mov eax, dword [0x103ca828]
test eax, eax
je 0x1002645c
inc dword [eax + 0xb0]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call ecx
mov edx, dword [ebp - 0x1a0]
mov edi, eax
mov eax, dword [ebp - 0x188]
add esp, 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x1ec], esi
mov esi, dword [ebp - 0x194]
imul ecx, edx, 0x54
mov dword [ebp - 0x1f0], eax
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x188]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x164]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1a4], eax
cmp dword [edx + 0x4c], 0
jle 0x1002661e
xor eax, eax
add esi, 0x34
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x18c], esi
mov ecx, dword [edx + 0x54]
xor edx, edx
add ecx, eax
mov dword [esi - 4], 0xffffffff
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp - 0x164]
cmp dword [ecx + 0x34], edx
jle 0x10026695
mov edi, dword [ebp - 0x18c]
or esi, 0xffffffff
nop dword [eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002654d
mov eax, dword [ebp - 0x17c]
or esi, esi
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002653f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x34]
jl 0x10026520
mov edi, dword [ebp - 0x190]
cmp eax, 0xffffffff
je 0x10026695
push dword [ebx + 8]
mov esi, dword [ebp - 0x18c]
push dword [ebp - 0x17c]
push dword [ebp - 0x170]
lea ecx, [esi - 0x34]
call fcn.100257d0
test al, al
je 0x10026695
mov ecx, dword [ebp - 0x17c]
mov edx, 0x103908e0
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x15d], al
mov eax, dword [esi - 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100265d2
movzx eax, word [edx + 2]
test ax, ax
je 0x100265d2
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100265b7
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x178]
inc dword [edi + edx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0x54
mov dword [edi + edx*8 + 4], ecx
add eax, 0x78
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x164]
inc ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x178], eax
cmp ecx, dword [edx + 0x4c]
jl 0x100264f1
mov eax, dword [ebp - 0x1a0]
xor esi, esi
mov dword [ebp - 0x184], esi
test eax, eax
jle 0x10026a44
mov edx, dword [ebp - 0x194]
add edx, 0x44
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x174], edx
nop dword [eax]
mov eax, dword [edx - 0x14]
mov ecx, dword [edx - 0x10]
add ecx, 0x20
sar ecx, 5
lea esi, [eax + eax*2]
mov dword [ebp - 0x1b8], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x170], eax
cmp ecx, eax
jle 0x100266e3
test eax, eax
je 0x100266a1
cdq
sub eax, edx
mov edx, dword [ebp - 0x174]
sar eax, 1
add eax, dword [ebp - 0x170]
mov dword [ebp - 0x16c], eax
jmp 0x100266ab
mov byte [ebp - 0x15d], 0
jmp 0x1002772b
mov dword [ebp - 0x16c], 8
cmp dword [ebp - 0x16c], ecx
lea eax, [edx - 8]
mov dword [ebp - 0x178], eax
mov eax, ecx
cmovg eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x178]
push eax
call fcn.1001cf80
mov edx, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x178]
jmp 0x100266e6
lea eax, [edx - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi*8 + 0xc]
add esp, 0xc
add ecx, edi
mov dword [ebp - 0x16c], ecx
cmp dword [ecx], 0
jne 0x1002676f
mov esi, dword [edi + esi*8 + 4]
mov eax, dword [ecx + 4]
add esi, 0x20
sar esi, 5
mov dword [ebp - 0x170], eax
cmp esi, eax
jle 0x10026758
test eax, eax
je 0x1002673a
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x170]
jmp 0x1002673f
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x16c]
push eax
call fcn.1001cf80
mov ecx, dword [ebp - 0x16c]
lea eax, [esi*4]
mov dword [ecx], esi
push eax
push 0
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x174]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x18c], eax
cmp word [eax], 0
je 0x10026867
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10026861
movzx edi, word [eax]
cmp edi, ecx
ja 0x10026848
nop dword [eax + eax]
mov eax, dword [ebp - 0x17c]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x190]
sar esi, 5
mov dword [ebp - 0x170], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1002682f
mov eax, dword [ebp - 0x174]
push edi
push dword [eax - 0x2c]
call fcn.100ae5c0
mov edx, dword [ebp - 0x174]
add esp, 8
test eax, eax
je 0x10026835
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x190]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x190]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x17c]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x184]
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x18c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100267b0
mov eax, dword [ebp - 0x18c]
add eax, 4
mov dword [ebp - 0x18c], eax
cmp word [eax], 0
jne 0x10026790
mov edi, dword [ebp - 0x190]
add edx, 0x54
sub dword [ebp - 0x1ac], 1
mov dword [ebp - 0x174], edx
jne 0x10026650
mov esi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x1a0]
add esi, 0x50
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x178], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x10026905
mov eax, dword [0x103ca828]
test eax, eax
je 0x100268af
inc dword [eax + 0xb0]
mov eax, edi
shl eax, 5
push eax
call dword [ebp - 0x180]
mov edx, dword [esi]
add esp, 4
mov dword [ebp - 0x170], eax
test edx, edx
je 0x10026900
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x100268f0
mov eax, dword [0x103ca828]
test eax, eax
je 0x100268f0
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x170]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x16c], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c0], eax
cmp ecx, eax
jae 0x100269eb
nop word [eax + eax]
mov eax, dword [edx]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x100269d6
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x170], eax
je 0x100269cc
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0x1d4], xmm0
mov dword [ebp - 0x1cc], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x100269ab
inc ecx
test eax, eax
je 0x1002698f
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x10026994
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.100278d0
mov edx, dword [ebp - 0x16c]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
mov ecx, dword [ebp - 0x17c]
shl eax, 5
add eax, dword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1d4]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, ecx
inc edi
cmp edi, 0x20
jb 0x10026942
add edx, 4
mov dword [ebp - 0x16c], edx
cmp edx, dword [ebp - 0x1c0]
jb 0x10026930
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x10026a20
mov eax, dword [0x103ca828]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x10026a0f
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 0x1a4]
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [ebp - 0x178], 1
mov dword [ebp - 0x17c], esi
jne 0x10026898
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x184]
jmp 0x10026a4c
xor esi, esi
mov dword [ebp - 0x184], esi
cmp dword [ebp - 0x188], 0
jle 0x10026abf
mov esi, dword [ebp - 0x1a4]
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x188]
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x10026aa5
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x103ca828]
test eax, eax
je 0x10026a93
dec dword [eax + 0xb0]
push ecx
call esi
mov eax, dword [ebp - 0x16c]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x16c], eax
sub edi, 1
jne 0x10026a70
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x184]
test edi, edi
je 0x10026afe
mov eax, dword [0x103ca828]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1f0], 0
test eax, eax
je 0x10026ae6
dec dword [eax + 0xb0]
push edi
call dword [ebp - 0x1a4]
add esp, 4
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1e8], eax
xor eax, eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x210], eax
test esi, esi
jle 0x10026b5c
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10026b5c
mov eax, dword [0x103ca828]
test eax, eax
je 0x10026b3a
inc dword [eax + 0xb0]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], edi
lea ecx, [esi + esi*2]
mov dword [ebp - 0x218], esi
shl ecx, 3
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov edi, dword [ebp - 0x180]
mov byte [ebp - 4], 7
mov eax, dword [0x103ca828]
push 0x40000
test eax, eax
je 0x10026ba6
inc dword [eax + 0xb0]
call edi
mov esi, eax
add esp, 4
mov eax, dword [0x103ca828]
test eax, eax
je 0x10026bbc
inc dword [eax + 0xb0]
push 0x20
call edi
movss xmm0, dword [0x103a2784]
xor ecx, ecx
mov dword [ebp - 0x17c], eax
xor edi, edi
mov dword [ebp - 0x11c], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x1b0], edi
test eax, eax
jle 0x10026f58
mov esi, dword [ebp - 0x194]
xor edx, edx
mov dword [ebp - 0x1c4], eax
add esi, 0x48
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x19c], edx
nop
mov ecx, dword [eax + 0x54]
add ecx, edx
cmp dword [esi - 0x10], 0
je 0x10026f25
mov edx, dword [ebp - 0x16c]
lea eax, [edi + edi*2]
add edi, dword [esi - 0x10]
mov dword [ebp - 0x1b0], edi
lea eax, [edx + eax*8]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
movss dword [ebp - 0x170], xmm1
lahf
test ah, 0x44
jnp 0x10026cc0
mov byte [ebp - 0x165], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103a2da0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10124900
movss xmm1, dword [ebp - 0x170]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x10026c76
jmp 0x10026cc7
mov byte [ebp - 0x165], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1bc], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1ac], eax
jle 0x10026f1f
xor ecx, ecx
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x1a8], ecx
nop dword [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.100ae5c0
add esp, 8
test eax, eax
je 0x10026ef4
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.100aef20
add esp, 0xc
test eax, eax
jne 0x10026ef4
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x178], eax
je 0x10026d53
push eax
call fcn.100b62b0
mov eax, dword [ebp - 0x178]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x10026d62
push eax
call fcn.100b63b0
add esp, 4
mov eax, dword [ebp - 0x178]
add eax, 0x18
je 0x10026ef4
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x170], eax
call fcn.100b1400
add esp, 8
test eax, eax
jne 0x10026ef4
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [ebp - 0x178], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [ebp - 0x184], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x188]
sar eax, 6
movd xmm0, eax
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [ebp - 0x184]
imul eax, ecx
shl eax, 2
mov dword [ebp - 0x184], eax
add eax, edx
cmp eax, 0x40000
jle 0x10026e7c
xor eax, eax
mov dword [ebp - 0x188], eax
mov eax, dword [0x103ca828]
test eax, eax
je 0x10026e36
inc dword [eax + 0xb0]
push 0x40000
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0x124]
push eax
call fcn.1001d0d0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x18c], ecx
jmp 0x10026e88
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x18c]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
xor edx, edx
cmp byte [ebp - 0x165], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x178]
call fcn.100259d0
mov edx, dword [ebp - 0x174]
mov eax, dword [esi - 0x20]
mov ecx, dword [edi]
add ecx, dword [ebp - 0x1ac]
mov dword [edx + eax + 4], ecx
mov eax, dword [esi - 0x20]
mov ecx, dword [edi + 4]
add ecx, dword [ebp - 0x1ac]
mov dword [edx + eax + 8], ecx
mov ecx, dword [esi - 0x20]
mov eax, dword [edx + ecx + 8]
imul eax, dword [edx + ecx + 4]
add dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1a8]
inc eax
add dword [ebp - 0x174], 0x18
add ecx, 0x20
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1a8], ecx
cmp eax, dword [esi]
jl 0x10026d00
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x19c]
add esi, 0x54
movss xmm0, dword [0x103a2784]
add edx, 0x78
sub dword [ebp - 0x1c4], 1
mov edi, dword [ebp - 0x1b0]
mov dword [ebp - 0x19c], edx
jne 0x10026c30
mov ecx, dword [ebp - 0x198]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.100022c0
mov edi, dword [ebp - 0x164]
cvttss2si eax, xmm0
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x10026fb8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x103a28e8]
jb 0x10026f94
mov esi, 0x1000
jmp 0x10026fb8
comiss xmm0, dword [0x103a28e4]
jb 0x10026fa4
mov esi, 0x800
jmp 0x10026fb8
comiss xmm0, dword [0x103a28d8]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor eax, eax
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x1002701a
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x10027014
mov eax, dword [0x103ca828]
test eax, eax
je 0x10026ff8
inc dword [eax + 0xb0]
lea eax, [edi + edi*2]
shl eax, 2
push eax
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x208], edi
mov edi, dword [ebp - 0x164]
mov edx, dword [edi + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x20c], esi
call fcn.10025ea0
add esp, 0xc
lea edx, [ebp - 0x15c]
mov ecx, edi
call fcn.10023340
mov eax, dword [ebp - 0x1a0]
test eax, eax
jle 0x100270bc
mov esi, dword [ebp - 0x194]
add esi, 0x38
mov dword [ebp - 0x1b0], eax
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x100270aa
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x15c]
push eax
call fcn.10026030
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100270aa
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0x14], 0
je 0x100270a2
mov ecx, dword [edx + eax + 0x10]
add ecx, dword [edx + eax + 8]
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x18
cmp edi, dword [esi]
jl 0x10027080
add esi, 0x54
sub dword [ebp - 0x1b0], 1
jne 0x10027060
mov edi, dword [ebp - 0x164]
test byte [edi], 1
mov esi, dword [edi + 0x20]
jne 0x100270e9
lea ecx, [esi - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov esi, ecx
sar esi, 0x10
or esi, ecx
mov eax, dword [edi + 0x1c]
inc esi
movss xmm2, dword [0x103a2784]
movaps xmm1, xmm2
mov dword [edi + 0x20], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [ebp - 0x15d], 0
divss xmm2, xmm0
mov eax, dword [0x103ca828]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm2
je 0x10027145
shl esi, 2
test eax, eax
je 0x10027139
inc dword [eax + 0xb0]
push esi
call dword [ebp - 0x180]
mov dword [edi + 0x18], eax
jmp 0x10027159
test eax, eax
je 0x1002714f
inc dword [eax + 0xb0]
push esi
call dword [ebp - 0x180]
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x1a0]
xor al, al
add esp, 0xc
mov byte [ebp - 0x165], al
test ecx, ecx
jle 0x100275a8
mov eax, dword [ebp - 0x194]
xor edx, edx
add eax, 8
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x170], ecx
nop dword [eax + eax]
cmp dword [eax + 0x30], 0
je 0x10027581
mov ecx, dword [edi + 0x54]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [ebp - 0x1c0], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x1b0], ecx
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x1c4], edx
movss dword [ebp - 0x1b4], xmm0
lea esi, [edx + 0x38]
lea edi, [edx + 0x48]
jne 0x10027226
mov ecx, edx
call fcn.10023be0
mov edx, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1b0]
movss xmm0, dword [ebp - 0x1c0]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x1b4]
mov word [esi], ax
mov eax, dword [ebp - 0x164]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x30], eax
movss dword [edx + 0x4c], xmm0
movss xmm0, dword [edi]
addss xmm0, dword [0x103a2744]
inc word [esi]
mov edi, dword [ebp - 0x164]
movss xmm2, dword [ecx + 0x28]
movss dword [ebp - 0x174], xmm2
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x1c0], 0
movd xmm1, eax
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm1, xmm1
cmp dword [eax + 0x30], 0
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x188], xmm1
jle 0x1002756e
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1ac], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp dword [eax + 4], 0
jne 0x100272ad
cmp dword [eax + 8], 0
je 0x10027532
mov edx, dword [eax + 0xc]
sub esp, 0x20
movd xmm0, dword [edi + 8]
add edx, esi
mov esi, dword [eax + 0x10]
mov eax, dword [edi]
add esi, dword [ebp - 0x180]
movd xmm7, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x19c], esi
mov esi, dword [ebp - 0x164]
mov dword [ebp - 0x1a8], edx
movd xmm6, eax
add eax, edx
addss xmm0, xmm2
movd xmm4, edx
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm6, xmm6
addss xmm7, xmm1
movss dword [ebp - 0x1b4], xmm0
movd xmm1, dword [esi + 0x1c]
addss xmm6, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x19c]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
lea eax, [ecx + esi]
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
divss xmm4, xmm1
divss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
movd xmm3, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp - 0x1c4]
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
movd xmm5, ecx
mov ecx, esi
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
addss xmm5, xmm7
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebp - 0x1b4]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push dword [ebp - 0x1b0]
call fcn.10024210
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x100273c1
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x165], 1
mov ecx, dword [ebp - 0x164]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [ebp - 0x184], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1b4], eax
imul eax, dword [ebp - 0x19c]
mov dword [ebp - 0x19c], 0
test ecx, ecx
je 0x10027472
add eax, ecx
add eax, dword [ebp - 0x1a8]
cmp dword [edi + 4], 0
mov dword [ebp - 0x198], eax
jle 0x1002751c
lea ecx, [edx*4]
mov dword [ebp - 0x1a8], ecx
xor ecx, ecx
test edx, edx
jle 0x10027443
add esi, 3
mov edx, dword [ebp - 0x198]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x10027421
mov eax, dword [ebp - 0x198]
mov esi, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x19c]
add eax, dword [ebp - 0x1b4]
inc ecx
add esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x184], esi
cmp ecx, dword [edi + 4]
jl 0x10027418
jmp 0x1002751c
mov ecx, dword [ebp - 0x1a8]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x198], ecx
jle 0x1002751c
mov eax, dword [ebp - 0x1b4]
shl eax, 2
mov dword [ebp - 0x1a8], eax
lea eax, [edx*4]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x184]
xor esi, esi
test edx, edx
jle 0x100274f2
sub eax, dword [ebp - 0x198]
mov dword [ebp - 0x1b4], eax
nop word [eax + eax]
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x1b4]
cmp esi, edx
jl 0x100274d0
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x198]
mov esi, dword [ebp - 0x19c]
add ecx, dword [ebp - 0x1a8]
inc esi
add eax, dword [ebp - 0x200]
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x184], eax
cmp esi, dword [edi + 4]
jl 0x100274b8
mov esi, dword [ebp - 0x180]
movss xmm2, dword [ebp - 0x174]
movss xmm1, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x178]
inc ecx
add dword [ebp - 0x1ac], 0x20
add dword [ebp - 0x1bc], 0x18
mov edx, dword [ebp - 0x1ac]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c0], ecx
mov ecx, dword [ebp - 0x1bc]
jl 0x10027293
mov edi, dword [ebp - 0x164]
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x170]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x170], ecx
jne 0x100271a0
mov al, byte [ebp - 0x165]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [ebp - 0x18c], esi
jle 0x100275ef
mov edi, dword [ebp - 0x17c]
nop dword [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100275d6
mov eax, dword [0x103ca828]
test eax, eax
je 0x100275d6
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 0x1a4]
inc esi
add esp, 4
cmp esi, dword [ebp - 0x18c]
jl 0x100275c0
mov edi, dword [ebp - 0x164]
mov eax, dword [ebp - 0x1a0]
test eax, eax
jle 0x1002766b
mov esi, dword [ebp - 0x194]
mov edi, dword [ebp - 0x1a4]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10027624
mov eax, dword [0x103ca828]
test eax, eax
je 0x1002761e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10027640
mov eax, dword [0x103ca828]
test eax, eax
je 0x1002763a
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x10027659
push eax
call fcn.100ae140
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [ebp - 0x1a0], 1
jne 0x10027608
mov edi, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x194]
test ecx, ecx
je 0x100276b4
mov eax, dword [0x103ca828]
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
test eax, eax
je 0x10027698
dec dword [eax + 0xb0]
mov esi, dword [ebp - 0x1a4]
push ecx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1f4], eax
jmp 0x100276ba
mov esi, dword [ebp - 0x1a4]
mov ecx, edi
call fcn.10023850
mov byte [ebp - 0x15d], 1
mov ecx, dword [ebp - 0x204]
test ecx, ecx
je 0x100276e7
mov eax, dword [0x103ca828]
test eax, eax
je 0x100276e1
dec dword [eax + 0xb0]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
je 0x10027706
mov eax, dword [0x103ca828]
test eax, eax
je 0x10027700
dec dword [eax + 0xb0]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x10027725
mov eax, dword [0x103ca828]
test eax, eax
je 0x1002771f
dec dword [eax + 0xb0]
push ecx
call esi
add esp, 4
mov edi, dword [ebp - 0x190]
test edi, edi
je 0x1002774c
mov eax, dword [0x103ca828]
test eax, eax
je 0x1002773e
dec dword [eax + 0xb0]
mov esi, dword [ebp - 0x1a4]
push edi
call esi
add esp, 4
jmp 0x10027752
mov esi, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x194]
test eax, eax
je 0x10027772
mov ecx, dword [0x103ca828]
test ecx, ecx
je 0x1002776c
dec dword [ecx + 0xb0]
push eax
call esi
add esp, 4
mov al, byte [ebp - 0x15d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101238be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret