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

Disassembly:
mov eax, 0x3ef8
call fcn.10184de0
mov eax, dword [0x102a67c0]
xor eax, esp
mov dword [esp + 0x3ef4], eax
mov eax, dword [esp + 0x3f04]
push ebx
push ebp
mov ebp, dword [esp + 0x3f04]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3f20]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xb0]
lea ebx, [ebp + 4]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 8], eax
push esi
mov eax, dword [eax + 0x218]
mov esi, dword [esp + 0x3f14]
push edi
mov edi, dword [ebp]
mov eax, dword [eax + 0x220]
shl eax, 0x10
push 0x80
mov dword [esp + 0x88], eax
lea eax, [esp + 0x3e88]
push 0
push eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x5c], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0xa8], 0x1312d00
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x3e70], 0
push 0x2e08
lea eax, [esp + 0x148]
movq qword [esp + 0x3e6c], xmm0
push 0
push eax
movups xmmword [esp + 0x3e84], xmm0
mov dword [esp + 0xf8], edi
movq qword [esp + 0x3e94], xmm0
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], 0x10
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0xa
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], 0x14
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0xa
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 0x14
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xa
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
movlpd qword [esp + 0x11c], xmm0
movlpd qword [esp + 0x124], xmm0
movlpd qword [esp + 0x12c], xmm0
mov dword [esp + 0x118], ebx
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [0x101b44c0]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x150], ebp
mov dword [esp + 0x154], eax
mov dword [esp + 0x2eac], edi
mov dword [esp + 0x2eb0], ebx
movups xmmword [esp + 0x2eb4], xmm0
mov dword [esp + 0x2ec4], 0
mov dword [esp + 0x2ec8], 0
push 0xf1c
lea eax, [esp + 0x1f94]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xa4]
mov bl, byte [ebp + 0xb8]
mov dword [esp + 0x1fac], eax
lea eax, [esp + 0x1f9c]
mov dword [esp + 0x1fa0], eax
lea eax, [esp + 0x2eb8]
push 0xf1c
mov dword [esp + 0x1fa8], eax
lea eax, [esp + 0x1084]
push 0
push eax
mov byte [esp + 0x1fb5], bl
mov dword [esp + 0x1fa8], ebp
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x109c], eax
lea eax, [esp + 0x1fa8]
mov dword [esp + 0x1090], eax
lea eax, [esp + 0x2ec4]
push 0xf1c
mov dword [esp + 0x1098], eax
lea eax, [esp + 0x174]
push 0
push eax
mov byte [esp + 0x10a5], bl
mov dword [esp + 0x1098], ebp
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x1fb4]
mov dword [esp + 0x180], eax
add esp, 0x3c
lea eax, [esp + 0x2e94]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x148], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x2eb4], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x2eb8], eax
mov eax, dword [esi]
mov dword [esp + 0x2ec0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x2ecc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x2ed0], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x2ed4], eax
lea eax, [ebp + 0xf0]
mov dword [esp + 0x2edc], eax
mov al, byte [ebp + 0xb9]
mov dword [esp + 0x2ebc], ecx
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0xe4]
mov byte [esp + 0x2eca], al
mov eax, esi
cdq
mov dword [esp + 0x2ec4], ecx
mov ecx, eax
xor ecx, edx
mov dword [esp + 0x140], ebp
mov ebp, dword [ebp + 0xe8]
sub ecx, edx
mov eax, ebp
mov byte [esp + 0x14d], bl
mov ebx, dword [esp + 0x3f24]
cdq
xor eax, edx
mov dword [esp + 0x3c], ebx
sub eax, edx
mov dword [esp + 0x2ed8], ebx
mov dword [esp + 0x2ee0], esi
mov dword [esp + 0x2ee4], ebp
cmp ecx, eax
jle 0x10165539
test esi, esi
jmp 0x1016553d
mov esi, ebp
test ebp, ebp
jns 0x10165541
neg esi
mov ecx, dword [esp + 0x10]
lea eax, [esi + esi]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x2ee8], eax
mov dword [esp + 0x2eec], 0x199a
cmp byte [edx + 9], 0
mov byte [esp + 0x2ecb], 1
mov word [esp + 0x2ec8], 0
setne byte [esp + 0x1f]
mov byte [esp + 0x2f18], 0
mov eax, dword [ecx + 0x218]
mov eax, dword [eax + 0x21c]
shl eax, 0x10
mov dword [esi], eax
cmp byte [edx + 9], 0
je 0x101655aa
mov eax, dword [ecx + 0x214]
mov ebp, dword [eax + 0x614]
jmp 0x101655af
mov ebp, 0x30
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ebp
push eax
push 0x14
push edi
mov dword [esp + 0x88], 0
call fcn.10130dd0
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x68], esi
jne 0x101655e4
mov eax, dword [esp + 0x6c]
mov dword [esi], edi
mov dword [esi + 4], eax
lea eax, [esp + 0x7c]
push eax
push 0
push ebp
push 0
push 8
push edi
call fcn.10130f90
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x7c], 0
je 0x10165619
push esi
push edi
call fcn.10130e30
xor esi, esi
add esp, 8
xor ebp, ebp
lea eax, [esi + 0x40]
jmp 0x10168361
mov dword [esi + 0xc], eax
lea eax, [esp + 0xe0]
push 0x11
push eax
mov dword [esi + 0x10], ebp
call fcn.10161f90
mov ebp, dword [esp + 0x104]
add esp, 8
mov ecx, dword [esp + 0xf4]
test al, al
mov eax, dword [esp + 0x3f10]
mov edx, 0x11
cmovne ecx, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x98], ecx
mov edi, ebp
xor ecx, ecx
mov dword [esp + 0x14], edi
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
movups xmmword [ebp], xmm0
cmp dword [eax], ecx
jne 0x10168767
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0x3f20]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x10]
jmp 0x101656c0
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
nop dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jb 0x1016571a
test ecx, ecx
mov eax, 0xb
mov ecx, 0xe
cmove eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov cl, byte [ecx + 8]
mov ch, byte [esp + 0x2e]
test cl, cl
je 0x10165798
test ch, ch
jne 0x1016574c
cmp al, 1
je 0x1016574c
cmp al, 3
je 0x1016574c
cmp al, 0xd
je 0x1016574c
cmp al, 0xa
je 0x1016574c
cmp al, 0xb
je 0x1016574c
cmp al, 0xc
je 0x1016574c
cmp al, 0xe
je 0x1016574c
cmp al, 0x20
jae 0x1016574c
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101656b9
mov cl, byte [eax]
inc eax
mov dword [edi + 0xc], eax
mov al, cl
mov dword [esp + 0x34], eax
cmp al, 0xb
je 0x1016572e
cmp al, 0xe
jne 0x101656db
mov ecx, dword [esp + 0x48]
movzx eax, al
mov dword [esp + 0x20], 0
cmp byte [ecx + 9], 0
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
jmp 0x101656df
mov edi, dword [esp + 0x58]
test edi, edi
jle 0x10165773
cmp al, 0xa
je 0x10165773
cmp al, 0xb
je 0x10165773
cmp al, 0xc
je 0x10165773
cmp al, 0x20
mov dword [esp + 0x20], 0
cmovb edi, dword [esp + 0x20]
mov dword [esp + 0x58], edi
cmp byte [esp + 0x60], 0
mov edx, dword [esp + 0x10]
je 0x10165798
cmp al, 0x20
jae 0x10165798
mov edx, dword [esp + 0x60]
xor edi, edi
movzx edx, dl
cmp al, 0xc
cmovne edx, edi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
cmp dword [edi], 0
jne 0x10168359
sub dword [esp + 0x9c], 1
je 0x10166207
movzx edi, al
cmp edi, 0x1f
ja case.default.0x101657bf
jmp dword [edi*4 + 0x10168770]
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 9], 0
je case.0x101657bf.0
cmp byte [ecx + 0x5d], 0
jne 0x10166207
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x1016580c
mov eax, dword [esi + 4]
test eax, eax
je 0x101657f4
cmp dword [eax], 0
jne 0x101657f4
mov dword [eax], 0xa1
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
cmp dword [eax - 4], 2
je 0x1016583c
mov eax, dword [esi + 4]
test eax, eax
je 0x10165824
cmp dword [eax], 0
jne 0x10165824
mov dword [eax], 0xa0
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov eax, dword [eax]
test eax, eax
js case.0x101657bf.0
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 9], 0
je case.0x101657bf.0
cmp dword [ecx + 0x60], 0
je 0x10166207
push dword [ecx + 0x80]
mov eax, dword [ecx + 0x224]
lea edi, [ecx + 0x5c]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 0x10
test al, al
je 0x101658bf
mov ecx, dword [esp + 0x48]
push dword [ecx + 0x80]
mov eax, dword [ecx + 0x224]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov eax, dword [eax + 0x10]
push edi
call eax
add esp, 0x10
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x1016835d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x101658dd
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x101658d9
cmp dword [ecx], 0
jne 0x101658d9
mov dword [ecx], 0xa1
xor eax, eax
jmp 0x10165901
cmp dword [eax - 4], 2
je 0x101658f9
mov eax, dword [esi + 4]
test eax, eax
je 0x101658f5
cmp dword [eax], 0
jne 0x101658f5
mov dword [eax], 0xa0
xor eax, eax
jmp 0x10165901
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov eax, dword [eax]
cmp eax, dword [esp + 0x74]
ja 0x10166207
push eax
push esi
push edi
call fcn.10162ad0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x101656b5
test cl, cl
jne 0x1016593c
cmp byte [esp + 0x104], cl
jne case.0x101657bf.0
xor eax, eax
jmp 0x10165942
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0xc8]
push dword [esp + 0x64]
push eax
push esi
push dword [esp + 0x5c]
call fcn.10162f50
mov edx, dword [esp + 0x28]
add esp, 0x18
cmp byte [edx + 0x224], 0
jne 0x10168359
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
test cl, cl
jne 0x101659a7
cmp byte [esp + 0x104], cl
jne case.0x101657bf.0
xor eax, eax
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0xa8]
jmp 0x1016594f
mov eax, dword [edx + 0x20]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0xa8]
jmp 0x1016594f
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x101659ec
cmp byte [esp + 0x1f], 0
jne 0x101659ec
push 0
push esi
call fcn.10168910
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
cmp byte [edx + 0x224], 0
mov byte [esp + 0x1f], 1
jne 0x10168359
push esi
call fcn.10168980
add esp, 4
add ebx, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x3f24], ebx
cmp dword [edx + 0x1d4], 0
jne case.0x101657bf.0
push ebx
lea eax, [esp + 0x13c]
push ebp
push eax
call fcn.10164190
mov edi, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101656c0
mov eax, dword [esi + 0xc]
xor edi, edi
sub eax, dword [esi + 8]
sar eax, 3
mov dword [esp + 0x20], eax
test eax, eax
je 0x10167ea4
push edi
push esi
call fcn.10168910
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f30], ebp
call fcn.10168910
add ebx, eax
lea eax, [esp + 0x148]
push ebx
push ebp
push eax
mov dword [esp + 0x3f40], ebx
call fcn.10164010
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x20]
jb 0x10165a61
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
mov dword [esi + 0xc], eax
jmp 0x101656b5
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp al, 6
mov dword [esp + 0x20], ecx
sete byte [esp + 0x2f]
xor edi, edi
test ecx, ecx
je 0x10167ea4
push edi
push esi
call fcn.10168910
mov cl, byte [esp + 0x37]
add esp, 8
test cl, cl
je 0x10165af1
add ebp, eax
mov dword [esp + 0x3f20], ebp
jmp 0x10165afa
add ebx, eax
mov dword [esp + 0x3f24], ebx
push ebx
lea eax, [esp + 0x13c]
xor cl, 1
push ebp
push eax
mov byte [esp + 0x3b], cl
call fcn.10164010
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x20]
jb 0x10165ad4
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
mov dword [esi + 0xc], eax
jmp 0x101656b5
mov ecx, dword [esi + 0xc]
xor edi, edi
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edi
cmp ecx, 6
jb 0x10165c05
nop dword [eax]
push edi
push esi
call fcn.10168910
mov ecx, dword [esp + 0x30]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x30], edi
call fcn.10168910
mov ecx, dword [esp + 0x38]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.10168910
mov ecx, dword [esp + 0x40]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10168910
mov ecx, dword [esp + 0x48]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10168910
add eax, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
add eax, 5
push eax
push esi
call fcn.10168910
add eax, edi
push eax
push dword [esp + 0x64]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x170]
push edi
push ebx
push ebp
push dword [esp + 0x64]
push eax
call fcn.10163cb0
mov edi, dword [esp + 0x74]
add esp, 0x4c
mov ebp, dword [esp + 0x30]
add edi, 6
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3f24], ebx
lea eax, [edi + 6]
mov dword [esp + 0x28], edi
cmp eax, dword [esp + 0x44]
jbe 0x10165b50
mov eax, dword [esp + 0x34]
cmp al, 0x18
jne 0x10167ea4
push edi
push esi
call fcn.10168910
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3f30], ebp
call fcn.10168910
add ebx, eax
lea eax, [esp + 0x148]
push ebx
push ebp
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3f40], ebx
call fcn.10164010
mov eax, dword [esi + 8]
add esp, 0x1c
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101656b5
test cl, cl
je case.0x101657bf.0
push edx
call fcn.1015f800
mov eax, dword [esi + 8]
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1f], 1
mov dword [esi + 0xc], eax
jmp 0x101656c0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x10
jg 0x10166207
inc ecx
cmp ecx, dword [esp + 0x98]
jb 0x10165cb5
mov eax, dword [esp + 0x94]
test eax, eax
je 0x10165cb3
cmp dword [eax], 0
jne 0x10165cb3
mov dword [eax], 0x82
xor ecx, ecx
mov edi, dword [esp + 0x8c]
mov eax, dword [esi + 0xc]
imul edi, ecx
add edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
cmp eax, dword [esi + 8]
jne 0x10165ce5
mov eax, dword [esi + 4]
test eax, eax
je 0x10165ce1
cmp dword [eax], 0
jne 0x10165ce1
mov dword [eax], 0xa1
xor eax, eax
jmp 0x10165d09
cmp dword [eax - 4], 2
je 0x10165d01
mov eax, dword [esi + 4]
test eax, eax
je 0x10165cfd
cmp dword [eax], 0
jne 0x10165cfd
mov dword [eax], 0xa0
xor eax, eax
jmp 0x10165d09
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 8], 0
je 0x10165d36
mov ecx, dword [edx + 0x268]
test ecx, ecx
je 0x10165d36
push ecx
push eax
call fcn.10130ae0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10165d33
mov eax, dword [eax]
jmp 0x10165d36
or eax, 0xffffffff
cmp byte [esp + 0x34], 0x1d
xorps xmm0, xmm0
movups xmmword [edi], xmm0
je 0x10165dce
mov ecx, dword [edx + 0x234]
add ecx, eax
cmp ecx, dword [edx + 0x22c]
jb 0x10165d61
mov eax, 1
jmp 0x10165e03
mov eax, dword [edx + 0x23c]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
mov dword [edi + 4], edx
cmp byte [eax + 0x30], 0
je 0x10165daa
mov eax, dword [eax + 0x264]
test eax, eax
je 0x10165d88
mov eax, dword [eax + ecx*4]
add eax, edx
jmp 0x10165db4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x260]
test eax, eax
cmovs eax, dword [esp + 0x20]
add eax, edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x23c]
mov eax, dword [eax + ecx*4 + 4]
mov edx, edi
mov edi, 8
mov dword [edi + edx], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 4]
mov dword [edi + 0xc], eax
jmp 0x10165e01
mov ecx, dword [edx + 0x238]
add ecx, eax
cmp ecx, dword [edx + 0x230]
jb 0x10165de5
mov eax, 1
jmp 0x10165e03
mov eax, dword [edx + 0x240]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0xc], eax
mov dword [edi + 4], eax
mov eax, dword [edx + 0x240]
mov eax, dword [eax + ecx*4 + 4]
mov dword [edi + 8], eax
xor eax, eax
test eax, eax
jne 0x10166207
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
jmp 0x101656c0
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jl 0x10166207
dec ecx
mov eax, ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x98]
jb 0x10165e4e
mov eax, dword [esp + 0x94]
test eax, eax
je 0x10165e4c
cmp dword [eax], 0
jne 0x10165e4c
mov dword [eax], 0x82
xor eax, eax
mov edi, dword [esp + 0x8c]
imul edi, eax
add edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jmp 0x101656c0
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jae 0x10165e79
mov cl, byte [eax]
inc eax
mov dword [edi + 0xc], eax
jmp 0x10165e8c
mov eax, dword [edi]
test eax, eax
je 0x10165e8a
cmp dword [eax], 0
jne 0x10165e8a
mov dword [eax], 0x55
xor cl, cl
movzx edx, cl
mov byte [esp + 0x2f], cl
lea eax, [edx - 8]
cmp eax, 0x1d
ja case.0x10165ea6.9
movzx eax, byte [eax + 0x10168808]
jmp dword [eax*4 + 0x101687f0]
push 0
push 0x101b413c
jmp 0x10165f17
push 0
push 0x101b4234
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x3f30]
push eax
lea eax, [esp + 0x3f30]
push eax
push esi
call fcn.10162d00
mov ebx, dword [esp + 0x3f3c]
add esp, 0x18
mov ebp, dword [esp + 0x3f20]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
mov dword [esi + 0xc], eax
jmp 0x101656c0
push 0
push 0x101b4240
jmp 0x10165f17
push 1
push 0x101b424c
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x3f30]
push eax
lea eax, [esp + 0x3f30]
push eax
push esi
call fcn.10162d00
mov ebx, dword [esp + 0x3f3c]
add esp, 0x18
mov ebp, dword [esp + 0x3f20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
jmp 0x101656b5
mov eax, dword [esp + 0x48]
cmp byte [eax + 9], 0
jne case.0x10165fa1.0
cmp cl, 0x26
jae case.0x10165fa1.0
mov al, byte [eax + 8]
test al, al
je 0x10165f98
cmp dword [esp + 0x58], 0
jle 0x10165f98
cmp cl, 0x11
je 0x10165f98
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], 0
mov dword [esi + 0xc], eax
jmp 0x101656c0
cmp edx, 0x21
ja case.0x10165fa1.0
jmp dword [edx*4 + 0x10168828]
test al, al
je case.0x10165fa1.0
push 0
push esi
call fcn.10168910
push 2
push esi
mov edi, eax
call fcn.10168910
push 4
push esi
mov dword [esp + 0x58], eax
call fcn.10168910
push 1
push esi
mov dword [esp + 0x40], eax
call fcn.10168910
mov ecx, dword [esp + 0x60]
add esp, 0x20
mov edx, dword [esi + 8]
sub ecx, edi
sub ecx, eax
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 3
cmp eax, 2
jae 0x10166009
mov eax, dword [esi + 4]
test eax, eax
je 0x10166016
cmp dword [eax], 0
jne 0x10166016
mov dword [eax], 0x82
jmp 0x10166016
mov dword [edx + 0x10], ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x14], 0
push 3
push esi
call fcn.10168910
mov ecx, dword [esp + 0x28]
add esp, 8
sub ecx, dword [esp + 0x40]
mov edx, dword [esi + 8]
sub ecx, eax
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 3
cmp eax, 4
jae 0x1016604f
mov eax, dword [esi + 4]
test eax, eax
je 0x1016605c
cmp dword [eax], 0
jne 0x1016605c
mov dword [eax], 0x82
jmp 0x1016605c
mov dword [edx + 0x20], ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x24], 0
cmp byte [esp + 0x2f], 1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
jne 0x10166088
mov eax, dword [eax]
lea edx, [esp + 0xc0]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0xa8]
cmovne eax, edx
jmp 0x1016594f
mov eax, dword [eax + 4]
lea edx, [esp + 0xc0]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0xa8]
cmovne eax, edx
jmp 0x1016594f
push esi
call fcn.10168980
push esi
mov edx, eax
call fcn.10168980
add esp, 8
test eax, eax
je 0x101660c7
test edx, edx
je 0x101660c7
mov edx, 1
jmp 0x101660c9
xor edx, edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10167f54
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
push esi
mov edx, eax
call fcn.10168980
add esp, 8
test eax, eax
jne 0x10166119
test edx, edx
je 0x1016611e
mov edx, 1
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10167f54
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 4
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10166195
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
xor eax, eax
cmp dword [esp + 0x20], eax
sete al
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 2
add dword [esi + 0xc], 8
jmp 0x101656b5
test al, al
je case.0x10165fa1.0
mov eax, dword [esp + 0x10]
push esi
mov edx, dword [eax + 4]
call fcn.101689e0
mov edi, eax
push esi
mov dword [esp + 0x28], edi
call fcn.101689e0
push esi
mov ebp, eax
call fcn.10168980
push esi
mov dword [esp + 0x54], eax
call fcn.10168980
push esi
mov ebx, eax
call fcn.10168980
add esp, 0x14
mov dword [esp + 0x74], eax
cmp byte [esp + 0x3f1c], 0
je 0x1016823f
mov eax, 0x12
jmp 0x1016835d
test al, al
je case.0x10165fa1.0
push esi
call fcn.10168980
mov edx, dword [esp + 0x14]
push esi
mov ecx, dword [edx + 0x24]
mov dword [ecx + 4], eax
call fcn.10168980
mov ecx, dword [edx + 0x24]
push esi
mov dword [ecx], eax
call fcn.10168980
push esi
mov edx, eax
call fcn.10168980
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov byte [esp + 0x1f], 1
mov ecx, dword [ecx + 0x20]
add dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x20]
add dword [ecx + 4], edx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x2f], 0
jne 0x10168359
cmp byte [esp + 0x2e], 0
je 0x1016628c
add ebp, eax
add ebx, edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x3f24], ebx
mov eax, dword [esi + 8]
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
push esi
call fcn.10168980
add esp, 4
cmp eax, 0x80000001
jge 0x101662e7
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
mov edx, dword [esi + 0xc]
cmp edx, eax
jne 0x101662dc
mov eax, dword [esi + 4]
test eax, eax
je 0x101656b5
cmp dword [eax], 0
jne 0x101656b5
mov dword [eax], 0x82
jmp 0x101656b5
mov dword [edx], 0x7fffffff
jmp 0x101656a7
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi + 0x10]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10167403
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x44], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x1016636d
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x44]
jmp 0x10167403
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x101663c0
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
sub eax, dword [esp + 0x20]
jmp 0x10167403
test al, al
je 0x10166476
cmp byte [esp + 0x60], 0
je 0x10166476
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x101663ff
mov eax, dword [esi + 4]
test eax, eax
je 0x101663fb
cmp dword [eax], 0
jne 0x101663fb
mov dword [eax], 0xa1
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x10166426
cmp dword [eax - 4], 2
je 0x1016641e
mov eax, dword [esi + 4]
test eax, eax
je 0x1016641a
cmp dword [eax], 0
jne 0x1016641a
mov dword [eax], 0xa0
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x10166426
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, ecx
jne 0x10166447
mov eax, dword [esi + 4]
test eax, eax
je 0x1016643f
cmp dword [eax], 0
jne 0x1016643f
mov dword [eax], 0xa1
xor eax, eax
mov byte [esp + 0x60], al
jmp 0x10166487
cmp dword [eax - 4], 2
je 0x10166467
mov eax, dword [esi + 4]
test eax, eax
je 0x1016645f
cmp dword [eax], 0
jne 0x1016645f
mov dword [eax], 0xa0
xor eax, eax
mov byte [esp + 0x60], al
jmp 0x10166487
add eax, 0xfffffff8
mov byte [esp + 0x60], 0
mov dword [esi + 0xc], eax
mov eax, dword [eax]
jmp 0x10166487
push esi
call fcn.10168980
push esi
mov edx, eax
call fcn.10168980
add esp, 8
push edx
push eax
call fcn.1012b230
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10167403
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
mov ecx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [esi + 8]
add esp, 4
lea eax, [eax + ecx*8]
cmp edx, 0x80000001
jl 0x101662b6
mov edi, dword [esi + 0xc]
cmp edi, eax
jne 0x10166512
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
neg edx
mov dword [edi], edx
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
jmp 0x101656b5
push esi
call fcn.10168980
push esi
mov dword [esp + 0x4c], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10166577
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, dword [esp + 0x44]
sete al
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 2
add dword [esi + 0xc], 8
jmp 0x101656b5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test al, al
je 0x101656c0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x101665d0
mov eax, dword [esi + 4]
test eax, eax
je 0x101665cc
cmp dword [eax], 0
jne 0x101665cc
mov dword [eax], 0xa1
mov ecx, dword [esi + 8]
xor edi, edi
jmp 0x101665f7
cmp dword [eax - 4], 2
je 0x101665ef
mov eax, dword [esi + 4]
test eax, eax
je 0x101665eb
cmp dword [eax], 0
jne 0x101665eb
mov dword [eax], 0xa0
mov ecx, dword [esi + 8]
xor edi, edi
jmp 0x101665f7
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], edi
cmp eax, ecx
jne 0x10166621
mov eax, dword [esi + 4]
test eax, eax
je 0x10166617
cmp dword [eax], 0
jne 0x10166617
mov dword [eax], 0xa1
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], 0
jmp 0x10166652
cmp dword [eax - 4], 2
je 0x10166646
mov eax, dword [esi + 4]
test eax, eax
je 0x1016663c
cmp dword [eax], 0
jne 0x1016663c
mov dword [eax], 0xa0
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], 0
jmp 0x10166652
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov edx, dword [esi + 0xc]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x50], 0
sar eax, 3
sub eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 0
cmp edi, 0x1c
ja case.0x10166684.4
movzx eax, byte [edi + 0x101688f0]
jmp dword [eax*4 + 0x101688b0]
cmp dword [esp + 0x28], 3
jne 0x10166207
cmp byte [esp + 0x2e], 0
je 0x101666bb
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1d4], 0
je 0x10166207
cmp dword [eax + 0x1d8], 7
jne 0x10166207
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*8]
cmp edx, eax
jne 0x101666d9
mov eax, dword [esi + 4]
test eax, eax
je 0x101666ec
cmp dword [eax], 0
jne 0x101666ec
mov dword [eax], 0x82
jmp 0x101666e9
mov dword [edx], ebp
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x1016671c
mov eax, dword [esi + 4]
test eax, eax
je 0x1016672c
cmp dword [eax], 0
jne 0x1016672c
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 2
jmp 0x101656b5
mov dword [edx], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], 2
jmp 0x101656b5
cmp dword [esp + 0x28], 0
jne 0x10166207
cmp byte [esp + 0x2e], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
je 0x101656c0
mov eax, edx
mov edx, dword [eax + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
add eax, 6
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x1016678b
push 0
push 6
push edx
call fcn.1012bb20
add esp, 0xc
test eax, eax
jne 0x10168359
mov edx, dword [esp + 0x10]
mov dword [edx + 0x1d4], 1
mov dword [edx + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x101656b9
cmp dword [esp + 0x28], 0
jne 0x10166207
cmp byte [esp + 0x2e], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
je 0x101656c0
cmp dword [edx + 0x1d4], 0
je 0x10166207
mov edi, dword [edx + 0x1d8]
lea eax, [edi + 1]
mov dword [edx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x101667a3
mov edx, dword [edx + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
inc eax
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x1016681a
push 0
push 1
push edx
call fcn.1012bb20
add esp, 0xc
test eax, eax
jne 0x10166207
lea eax, [edi - 3]
cmp edi, 3
jg 0x10166824
mov eax, edi
add eax, eax
mov dword [esp + eax*4 + 0x3e64], ebp
mov dword [esp + eax*4 + 0x3e68], ebx
cmp edi, 3
je 0x10166842
cmp edi, 6
jne 0x10168236
push dword [esp + 0x3e80]
lea eax, [esp + 0x13c]
push dword [esp + 0x3e80]
push dword [esp + 0x3e80]
push dword [esp + 0x3e80]
push dword [esp + 0x3e80]
push dword [esp + 0x3e80]
push eax
call fcn.10163cb0
mov edi, dword [esp + 0x30]
add esp, 0x1c
jmp 0x101656b5
cmp dword [esp + 0x28], 1
jne 0x10166207
cmp byte [esp + 0x2e], 0
je 0x101668e1
mov eax, dword [esp + 0x6c]
xorps xmm0, xmm0
movups xmmword [esp + 0x100], xmm0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xd4], 0
movq qword [esp + 0x110], xmm0
mov dword [esp + 0x118], 0
mov dword [esp + 0x100], eax
mov word [esp + 0x104], 0x100
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x101656b5
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x284]
mov dword [esp + 0x40], edi
test edi, edi
je 0x10166207
mov esi, dword [esp + 0x54]
xor eax, eax
cmp esi, 0x12
sete al
add esi, 0xfffffff3
add esi, eax
mov eax, dword [edi]
imul eax, esi
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x28], eax
jne 0x10166207
mov edi, dword [esp + 0x50]
add edi, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10166a3a
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
push ebx
push esi
call fcn.10168910
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x40]
cmp dword [eax], 1
jbe 0x101669e5
mov eax, 1
mov ebx, 4
sub eax, edi
mov dword [esp + 0x38], eax
nop dword [eax]
push edi
push esi
call fcn.10168910
mov dword [esp + 0x28], eax
add esp, 8
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x88]
mov eax, dword [ebx + eax]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x40]
lea ebx, [ebx + 4]
mov eax, dword [esp + 0x38]
inc edi
add ebp, dword [esp + 0x90]
add eax, edi
cmp eax, dword [ecx]
jb 0x10166980
mov ebx, dword [esp + 0x34]
mov edx, dword [esi + 0xc]
mov eax, edx
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp ebx, eax
jbe 0x10166a0a
mov eax, dword [esi + 4]
test eax, eax
je 0x10166a1e
cmp dword [eax], 0
jne 0x10166a1e
mov dword [eax], 0x82
jmp 0x10166a18
mov dword [ecx + ebx*8], ebp
mov eax, dword [esi + 8]
mov dword [eax + ebx*8 + 4], 0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
inc ebx
sub dword [esp + 0x54], 1
mov dword [esp + 0x34], ebx
jne 0x10166958
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
sub edi, eax
mov eax, edx
sub eax, ecx
sar eax, 3
cmp edi, eax
jbe 0x10166a6e
mov eax, dword [esi + 4]
test eax, eax
je 0x10167eaa
cmp dword [eax], 0
jne 0x10167eaa
mov edi, dword [esp + 0x14]
mov dword [eax], 0xa1
jmp 0x101656b5
lea eax, [edi*8]
mov edi, dword [esp + 0x14]
sub edx, eax
mov dword [esi + 0xc], edx
jmp 0x101656b5
cmp dword [esp + 0x28], 1
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x284]
jne 0x10166207
test edi, edi
je 0x10166207
cmp edx, ecx
jne 0x10166aba
mov eax, dword [esi + 4]
test eax, eax
je 0x10166ab6
cmp dword [eax], 0
jne 0x10166ab6
mov dword [eax], 0xa1
xor ecx, ecx
jmp 0x10166ae6
cmp dword [edx - 4], 2
je 0x10166ad6
mov eax, dword [esi + 4]
test eax, eax
je 0x10166ad2
cmp dword [eax], 0
jne 0x10166ad2
mov dword [eax], 0xa0
xor ecx, ecx
jmp 0x10166ae6
lea eax, [edx - 8]
mov dword [esi + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
js 0x10166207
mov edx, dword [edi]
mov esi, dword [esp + 0x10]
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x28c]
mov esi, dword [esp + 0x68]
ja 0x10166207
lea eax, [edx*4]
push eax
mov eax, dword [esp + 0x14]
push dword [edi + 0x88]
mov eax, dword [eax + 0x288]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x101656b5
cmp dword [esp + 0x28], 2
jne 0x10166207
push esi
call fcn.10168980
push esi
mov dword [esp + 0x40], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10166b81
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], 1
jmp 0x101656b5
cmp dword [esp + 0x28], 2
jne 0x10166207
push esi
call fcn.10168980
push esi
mov dword [esp + 0x40], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10166bfb
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
sub eax, dword [esp + 0x38]
jmp 0x10166b89
cmp dword [esp + 0x28], 2
jne 0x10166207
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
add esp, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x78], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10166c84
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov eax, dword [esp + 0x78]
mov dword [edx], eax
jmp 0x10166b8b
cmp dword [esp + 0x28], 2
jne 0x10166207
push esi
call fcn.10168980
push esi
mov edx, eax
call fcn.10168980
add esp, 8
test edx, edx
je 0x10166207
push edx
push eax
call fcn.1012b230
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10166b89
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
cmp dword [esp + 0x28], 2
jne 0x10166207
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x284], 0
je 0x10166207
cmp edx, ecx
jne 0x10166d32
mov eax, dword [esi + 4]
test eax, eax
je 0x10166d2e
cmp dword [eax], 0
jne 0x10166d2e
mov dword [eax], 0xa1
xor edx, edx
jmp 0x10166d5e
cmp dword [edx - 4], 2
je 0x10166d4e
mov eax, dword [esi + 4]
test eax, eax
je 0x10166d4a
cmp dword [eax], 0
jne 0x10166d4a
mov dword [eax], 0xa0
xor edx, edx
jmp 0x10166d5e
lea eax, [edx - 8]
mov dword [esi + 0xc], eax
mov edx, dword [eax]
test edx, edx
js 0x10166207
cmp edx, dword [edi + 0x28c]
jae 0x10166207
push esi
call fcn.10168980
mov ecx, dword [edi + 0x288]
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
jmp 0x101656b5
cmp dword [esp + 0x28], 1
jne 0x10166207
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x284], 0
je 0x10166207
cmp edx, ecx
jne 0x10166dbb
mov eax, dword [esi + 4]
test eax, eax
je 0x10166db7
cmp dword [eax], 0
jne 0x10166db7
mov dword [eax], 0xa1
xor ecx, ecx
jmp 0x10166de7
cmp dword [edx - 4], 2
je 0x10166dd7
mov eax, dword [esi + 4]
test eax, eax
je 0x10166dd3
cmp dword [eax], 0
jne 0x10166dd3
mov dword [eax], 0xa0
xor ecx, ecx
jmp 0x10166de7
lea eax, [edx - 8]
mov dword [esi + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
js 0x10166207
cmp ecx, dword [edi + 0x28c]
jae 0x10166207
mov eax, dword [edi + 0x288]
mov edx, dword [esi + 0xc]
mov edi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10166e37
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov dword [edx], edi
jmp 0x10166b8b
cmp dword [esp + 0x28], 4
jne 0x10166207
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
push esi
mov dword [esp + 0x44], eax
call fcn.10168980
push esi
mov edi, eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 0x10
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp eax, ecx
jne 0x10166ead
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x20]
cmovle edi, dword [esp + 0x44]
mov dword [eax], edi
jmp 0x10166b8b
cmp dword [esp + 0x28], 0
jne 0x10166207
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x218]
mov ecx, dword [edx + 0x288]
mov eax, ecx
shl eax, 0xd
movzx edi, cx
xor ecx, eax
mov eax, ecx
inc edi
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edx + 0x288], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10166e37
mov eax, dword [esi + 4]
test eax, eax
je 0x10166b99
cmp dword [eax], 0
jne 0x10166b99
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
mov dword [esp + 0x50], 1
jmp 0x101656b5
mov eax, dword [esp + 0x28]
test eax, eax
js 0x10166207
test edi, edi
js 0x10166207
mov edi, dword [esp + 0x14]
cmp eax, 3
mov edx, dword [esp + 0x10]
mov ecx, 3
mov dword [esp + 0x58], eax
cmovg eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
cmp eax, 1
jb 0x101656c0
lea edx, [esp + eax*4 + 0x3e58]
mov edi, eax
nop
push esi
call fcn.10168980
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x10166f80
mov edi, dword [esp + 0x14]
jmp 0x101656b5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test al, al
je 0x101656c0
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x10166fbe
dec eax
mov dword [esp + 0x50], eax
jmp 0x101656b9
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10166207
mov edi, dword [esp + eax*4 + 0x3e58]
dec eax
mov dword [esp + 0x58], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10168226
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
push esi
call fcn.10168980
add esp, 4
jmp 0x101656b5
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x10167041
mov eax, dword [esi + 4]
test eax, eax
je 0x1016703d
cmp dword [eax], 0
jne 0x1016703d
mov dword [eax], 0xa1
xor edx, edx
jmp 0x10167065
cmp dword [eax - 4], 2
je 0x1016705d
mov eax, dword [esi + 4]
test eax, eax
je 0x10167059
cmp dword [eax], 0
jne 0x10167059
mov dword [eax], 0xa0
xor edx, edx
jmp 0x10167065
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov edx, dword [eax]
push esi
call fcn.10168980
add esp, 4
cmp edx, 0x1f
ja 0x101656b5
mov dword [esp + edx*4 + 0x3e84], eax
jmp 0x101656b5
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x101670a1
mov eax, dword [esi + 4]
test eax, eax
je 0x1016709d
cmp dword [eax], 0
jne 0x1016709d
mov dword [eax], 0xa1
xor eax, eax
jmp 0x101670d6
cmp dword [eax - 4], 2
je 0x101670bd
mov eax, dword [esi + 4]
test eax, eax
je 0x101670b9
cmp dword [eax], 0
jne 0x101670b9
mov dword [eax], 0xa0
xor eax, eax
jmp 0x101670d6
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov eax, dword [eax]
test eax, eax
js 0x101656b5
cmp eax, 0x20
jge 0x101656b5
mov edi, dword [esp + eax*4 + 0x3e84]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10168226
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
push esi
mov dword [esp + 0x44], eax
call fcn.10168980
push esi
mov edi, eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 0x10
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp eax, ecx
jne 0x10167178
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x20]
cmovle edi, dword [esp + 0x44]
mov dword [eax], edi
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
jmp 0x101656b5
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x218]
mov ecx, dword [edx + 0x288]
mov eax, ecx
shl eax, 0xd
movzx edi, cx
xor ecx, eax
mov eax, ecx
inc edi
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edx + 0x288], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x10168226
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
push esi
mov dword [esp + 0x28], eax
call fcn.10168980
add esp, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
je 0x101662bd
mov eax, dword [esp + 0x64]
mov dword [edx], eax
jmp 0x101656a7
push esi
call fcn.10168980
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jle 0x101672c7
mov edi, eax
cmp eax, 0xa
jl 0x1016727a
sar edi, 1
push edi
push eax
call fcn.1012b230
lea edx, [edi + 1]
add esp, 8
add edx, eax
sar edx, 1
mov dword [esp + 0x40], edx
cmp edx, edi
je 0x101672c9
mov ebx, dword [esp + 0x38]
mov esi, edx
nop dword [eax]
push esi
push ebx
mov edi, esi
call fcn.1012b230
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x101672a0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
jmp 0x101672c9
xor edx, edx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10166514
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
push esi
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 4
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x38], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10167331
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10167344
cmp dword [ecx], 0
jne 0x10167344
mov dword [ecx], 0x82
jmp 0x10167341
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10167374
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
mov eax, dword [esp + 0x38]
jmp 0x10167403
push esi
call fcn.10168980
push esi
mov dword [esp + 0x40], eax
call fcn.10168980
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x101673b8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x101673cf
cmp dword [ecx], 0
jne 0x101673cf
mov dword [ecx], 0x82
jmp 0x101673cc
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x101673ff
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
jne 0x10168236
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101656b5
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
jmp 0x101656b5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x1016743f
mov eax, dword [esi + 4]
test eax, eax
je 0x1016743b
cmp dword [eax], 0
jne 0x1016743b
mov dword [eax], 0xa1
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x10167466
cmp dword [eax - 4], 2
je 0x1016745e
mov eax, dword [esi + 4]
test eax, eax
je 0x1016745a
cmp dword [eax], 0
jne 0x1016745a
mov dword [eax], 0xa0
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x10167466
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 3
test eax, eax
je 0x101656a1
test edx, edx
js 0x10167488
cmp edx, eax
jb 0x10167486
xor eax, eax
jmp 0x10167489
sub eax, edx
dec eax
push eax
push esi
call fcn.10168910
mov edx, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [ecx + edx*8]
cmp edi, ecx
jne 0x10167403
mov eax, dword [esi + 4]
test eax, eax
je 0x10168236
cmp dword [eax], 0
je 0x101660f1
mov edi, dword [esp + 0x14]
jmp 0x101656b5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x101674e7
mov eax, dword [esi + 4]
test eax, eax
je 0x101674e3
cmp dword [eax], 0
jne 0x101674e3
mov dword [eax], 0xa1
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x1016750e
cmp dword [eax - 4], 2
je 0x10167506
mov eax, dword [esi + 4]
test eax, eax
je 0x10167502
cmp dword [eax], 0
jne 0x10167502
mov dword [eax], 0xa0
mov ecx, dword [esi + 8]
xor edx, edx
jmp 0x1016750e
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, ecx
jne 0x1016752b
mov eax, dword [esi + 4]
test eax, eax
je 0x10167527
cmp dword [eax], 0
jne 0x10167527
mov dword [eax], 0xa1
xor ecx, ecx
jmp 0x1016754f
cmp dword [eax - 4], 2
je 0x10167547
mov eax, dword [esi + 4]
test eax, eax
je 0x10167543
cmp dword [eax], 0
jne 0x10167543
mov dword [eax], 0xa0
xor ecx, ecx
jmp 0x1016754f
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], 2
cmp ecx, 2
jl 0x101656b5
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp ecx, eax
jbe 0x101675a0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
test edx, edx
jns 0x101675b5
neg edx
mov eax, edx
cdq
idiv ecx
mov ecx, edx
neg ecx
mov dword [esp + 0x28], ecx
jmp 0x101675c0
mov eax, edx
cdq
idiv ecx
mov ecx, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x101656b9
mov eax, dword [esp + 0x34]
or ebp, 0xffffffff
or edi, ebp
mov dword [esp + 0x20], eax
shl ecx, 3
mov dword [esp + 0x38], ecx
lea edx, [ebp - 7]
lea ebx, [eax*8]
nop word [eax + eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], ecx
cmp ebp, edi
jne 0x10167616
inc ebp
mov esi, dword [ecx + ebp*8]
lea edx, [ebp*8]
mov dword [esp + 0x40], esi
mov edi, ebp
mov esi, dword [ecx + edx + 4]
mov dword [esp + 0x54], esi
jmp 0x1016761a
mov dword [esp + 0x44], ecx
add edi, dword [esp + 0x28]
add edx, dword [esp + 0x38]
cmp edi, eax
jl 0x1016762c
sub edi, eax
sub edx, ebx
jmp 0x10167634
test edi, edi
jns 0x10167634
add edi, eax
add edx, ebx
sub dword [esp + 0x20], 1
mov eax, dword [edx + ecx]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ecx, dword [edx + ecx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [edx + ebx], esi
mov esi, dword [esp + 0x54]
mov dword [edx + ebx + 4], esi
mov esi, dword [esp + 0x68]
lea ebx, [eax*8]
mov dword [esp + 0x54], ecx
jne 0x101675f0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
jmp 0x101656b5
test al, al
je case.0x10165fa1.0
test ch, ch
je case.0x10165fa1.0
push esi
call fcn.10168980
mov ebx, eax
push esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3f2c], ebx
call fcn.10168980
mov edx, dword [esp + 0x18]
mov ebp, eax
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3f20], ebp
mov dword [edx + 0x1d4], 0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101656c0
test cl, cl
je case.0x101657bf.0
push esi
call fcn.10168980
mov ecx, dword [edx + 0x24]
push esi
mov dword [ecx], eax
mov eax, dword [edx + 0x24]
mov dword [eax + 4], 0
call fcn.10168980
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1f], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x10168359
cmp byte [esp + 0x2e], 0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
je 0x10165a3f
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3f20], ebp
mov dword [esi + 0xc], eax
jmp 0x101656c0
test cl, cl
je 0x10168593
test ch, ch
jne 0x10168593
push ebx
lea eax, [esp + 0x13c]
push ebp
push eax
call fcn.10164190
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
mov eax, dword [esp + 0x78]
add esp, 0xc
mov byte [esp + 0x2e], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0xd4], 0
movq qword [esp + 0x110], xmm0
mov dword [esp + 0x118], 0
movups xmmword [esp + 0x100], xmm0
mov dword [esp + 0x100], eax
mov word [esp + 0x104], 0x100
test ecx, ecx
jle 0x10167802
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x24]
lea eax, [ecx - 1]
cmp eax, edx
jb 0x101677dd
test ebp, ebp
je 0x101677db
cmp dword [ebp], 0
jne 0x101677db
mov dword [ebp], 0x82
xor eax, eax
mov esi, dword [esp + 0x8c]
dec ecx
imul esi, eax
add esi, ebx
mov dword [esp + 0x14], esi
test ecx, ecx
jg 0x101677c3
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101656c0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10167837
cmp byte [esp + 0x104], 0
jne case.0x101657bf.0
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x1f]
push 0
push eax
push dword [esp + 0x64]
lea eax, [esp + 0xac]
push eax
push esi
push edi
call fcn.10162f50
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x10168359
cmp byte [esp + 0x34], 0x13
jne 0x101678a7
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0xd4]
mov edi, dword [esp + 0x14]
push eax
lea eax, [esp + 0x104]
push edi
push eax
call fcn.101650c0
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
push 0xf1c
lea eax, [esp + 0x2f44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov al, byte [edi + 0xb8]
xorps xmm0, xmm0
mov byte [esp + 0x2f59], al
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x2f5c], eax
lea eax, [esp + 0x1f84]
mov dword [esp + 0x2f50], eax
lea eax, [esp + 0x2ea0]
mov dword [esp + 0x2f54], eax
lea eax, [edi + 4]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0xe0]
push eax
mov dword [esp + 0x2f50], edi
lea eax, [esp + 0x12c]
mov edi, dword [esp + 0x24]
push edi
push eax
movlpd qword [esp + 0x138], xmm0
movlpd qword [esp + 0x140], xmm0
movlpd qword [esp + 0x148], xmm0
call fcn.101650c0
push 0
push 0
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x2f6c]
push eax
call fcn.10164940
mov eax, dword [esi + 8]
add esp, 0x30
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
jmp 0x101656c0
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x101679b2
cmp byte [esp + 0x1f], 0
jne 0x101679b2
push 0
push esi
call fcn.10168910
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
cmp byte [edx + 0x224], 0
mov byte [esp + 0x1f], 1
jne 0x10168359
push esi
call fcn.10168980
add ebx, eax
push esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3f2c], ebx
call fcn.10168980
add esp, 8
add ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3f20], ebp
jmp 0x10165a14
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10167a23
cmp byte [esp + 0x1f], 0
jne 0x10167a23
push 0
push esi
call fcn.10168910
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
cmp byte [edx + 0x224], 0
mov byte [esp + 0x1f], 1
jne 0x10168359
push esi
call fcn.10168980
add esp, 4
add ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3f20], ebp
jmp 0x10165a14
mov ecx, dword [esi + 0xc]
xor eax, eax
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], eax
cmp ecx, 6
jbe 0x10167ac3
lea edi, [eax + 6]
nop dword [eax + eax]
push eax
push esi
call fcn.10168910
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f30], ebp
call fcn.10168910
add ebx, eax
lea eax, [esp + 0x148]
push ebx
push ebp
push eax
mov dword [esp + 0x3f40], ebx
call fcn.10164010
mov eax, dword [esp + 0x3c]
add edi, 2
mov ecx, dword [esp + 0x60]
add eax, 2
add esp, 0x1c
mov dword [esp + 0x20], eax
cmp edi, ecx
jb 0x10167a70
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
cmp eax, ecx
jae 0x10167ea4
lea ecx, [eax + 2]
mov dword [esp + 0x28], ecx
lea eax, [ecx - 2]
push eax
push esi
call fcn.10168910
mov ecx, dword [esp + 0x30]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x48], edi
call fcn.10168910
push dword [esp + 0x38]
push esi
lea ebp, [ebx + eax]
call fcn.10168910
mov ecx, dword [esp + 0x40]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10168910
mov ecx, dword [esp + 0x48]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10168910
add eax, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
add eax, 3
push eax
push esi
call fcn.10168910
add eax, edi
push eax
push dword [esp + 0x64]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x170]
push edi
push ebx
push ebp
push dword [esp + 0x7c]
push eax
call fcn.10163cb0
mov ecx, dword [esp + 0x74]
add esp, 0x4c
mov ebp, dword [esp + 0x30]
add ecx, 6
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3f24], ebx
lea eax, [ecx - 2]
mov dword [esp + 0x28], ecx
cmp eax, dword [esp + 0x44]
jb 0x10167ad2
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101656b5
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 8]
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
cmp edi, eax
jae 0x10167ea4
nop
sub eax, edi
test al, 1
je 0x10167bcd
push edi
push esi
call fcn.10168910
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edi
jmp 0x10167bd1
mov dword [esp + 0x40], ebp
push edi
push esi
call fcn.10168910
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x44]
push ecx
push esi
call fcn.10168910
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x50]
push eax
push esi
call fcn.10168910
mov ecx, dword [esp + 0x4c]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.10168910
add eax, edi
push eax
push ebp
push edi
push ebp
push ebx
push dword [esp + 0x74]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x170]
push eax
call fcn.10163cb0
mov edi, dword [esp + 0x70]
add esp, 0x3c
mov eax, dword [esp + 0x38]
add edi, 4
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3f24], ebx
mov dword [esp + 0x34], edi
cmp edi, eax
jb 0x10167bb0
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], ebp
mov dword [esi + 0xc], eax
jmp 0x101656b5
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 8]
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
cmp edi, eax
jae 0x10167ea4
sub eax, edi
test al, 1
je 0x10167ca1
push edi
push esi
call fcn.10168910
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edi
jmp 0x10167ca5
mov dword [esp + 0x40], ebx
push edi
push esi
call fcn.10168910
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.10168910
mov ebp, dword [esp + 0x44]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.10168910
add eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.10168910
lea ebp, [edi + eax]
mov eax, dword [esp + 0x5c]
push eax
push ebp
push eax
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x16c]
push ebx
push eax
call fcn.10163cb0
mov edi, dword [esp + 0x70]
add esp, 0x3c
mov eax, dword [esp + 0x38]
add edi, 4
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3f24], ebx
mov dword [esp + 0x34], edi
cmp edi, eax
jb 0x10167c84
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], ebp
mov dword [esi + 0xc], eax
jmp 0x101656b5
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 8]
sar edi, 3
cmp al, 0x1f
mov edx, edi
sete cl
and edx, 0xfffffffd
sub edi, edx
mov dword [esp + 0x38], edx
cmp edi, edx
jae 0x10167ea4
nop dword [eax]
sub edx, edi
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
push edi
push esi
test cl, cl
je 0x10167ded
call fcn.10168910
push dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x4c], ebx
push esi
mov dword [esp + 0x64], eax
call fcn.10168910
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x64]
push eax
push esi
mov dword [esp + 0x48], ebp
call fcn.10168910
add eax, ebx
mov dword [esp + 0x4c], eax
lea eax, [edi + 3]
push eax
push esi
call fcn.10168910
mov ebx, eax
add esp, 0x20
add ebx, dword [esp + 0x34]
cmp dword [esp + 0x20], 5
jne 0x10167de1
lea eax, [edi + 4]
push eax
push esi
call fcn.10168910
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x38]
add esp, 8
add ebp, eax
xor cl, cl
mov byte [esp + 0x2f], cl
jmp 0x10167e5c
mov eax, dword [esp + 0x30]
xor cl, cl
mov byte [esp + 0x2f], cl
jmp 0x10167e5c
mov dword [esp + 0x5c], ebp
call fcn.10168910
push dword [esp + 0x30]
add eax, ebx
push esi
mov dword [esp + 0x50], eax
call fcn.10168910
lea ebx, [eax + ebp]
lea eax, [edi + 2]
mov dword [esp + 0x40], ebx
push eax
push esi
call fcn.10168910
add eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
lea eax, [edi + 3]
push eax
push esi
call fcn.10168910
add esp, 0x20
cmp dword [esp + 0x20], 5
lea ebp, [ebx + eax]
jne 0x10167e4f
lea eax, [edi + 4]
push eax
push esi
call fcn.10168910
mov edi, dword [esp + 0x30]
mov ebx, eax
add esp, 8
add ebx, dword [esp + 0x34]
jmp 0x10167e53
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x2f], 1
push ebx
push ebp
push dword [esp + 0x3c]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x14c]
push dword [esp + 0x68]
push eax
call fcn.10163cb0
mov edx, dword [esp + 0x54]
add edi, 4
mov cl, byte [esp + 0x4b]
add esp, 0x1c
mov dword [esp + 0x3f20], ebp
mov dword [esp + 0x3f24], ebx
cmp edi, edx
jb 0x10167d60
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edi, dword [esp + 0x14]
jmp 0x101656b5
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
cmp edx, ecx
jae 0x10167ecc
mov al, byte [edx]
inc edx
mov dword [edi + 0xc], edx
movzx edi, al
jmp 0x10167ee5
mov eax, dword [edi]
test eax, eax
je 0x10167ee3
cmp dword [eax], 0
jne 0x10167ee3
mov dword [eax], 0x55
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
xor edi, edi
cmp edx, ecx
jae 0x10167efa
mov cl, byte [edx]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
movzx eax, cl
jmp 0x10167f11
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10167f0f
cmp dword [eax], 0
jne 0x10167f0f
mov dword [eax], 0x55
xor eax, eax
mov ecx, dword [esi + 0x10]
shl edi, 8
movsx edx, di
mov edi, dword [esi + 0xc]
or edx, eax
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10167f54
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
mov dword [edi], edx
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 2
jmp 0x101656b1
cmp al, 0xf6
ja 0x10167fb2
mov ecx, dword [esi + 0x10]
add edi, 0xffffff75
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x1016820d
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp al, 0xfa
ja 0x10168035
shl edi, 8
cmp edx, ecx
jae 0x10167fd8
mov cl, byte [edx]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
movzx eax, cl
jmp 0x10167fef
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10167fed
cmp dword [eax], 0
jne 0x10167fed
mov dword [eax], 0x55
xor eax, eax
mov ecx, dword [esi + 0x10]
add eax, 0xffff096c
mov edx, dword [esi + 0xc]
add edi, eax
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x1016820d
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
cmp al, 0xfe
ja 0x101680b0
shl edi, 8
cmp edx, ecx
jae 0x10168051
mov cl, byte [edx]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
movzx eax, cl
jmp 0x10168068
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10168066
cmp dword [eax], 0
jne 0x10168066
mov dword [eax], 0x55
xor eax, eax
mov ecx, dword [esi + 0x10]
mov edx, 0xfa94
sub edx, edi
mov edi, dword [esi + 0xc]
sub edx, eax
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
cmp edi, eax
jne 0x10167f54
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
mov edi, dword [esp + 0x14]
cmp edx, ecx
jae 0x101680c3
mov al, byte [edx]
inc edx
mov dword [edi + 0xc], edx
movzx edi, al
jmp 0x101680dc
mov eax, dword [edi]
test eax, eax
je 0x101680da
cmp dword [eax], 0
jne 0x101680da
mov dword [eax], 0x55
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
xor edi, edi
cmp edx, ecx
jae 0x101680f7
mov ebx, dword [esp + 0x14]
mov al, byte [edx]
inc edx
movzx eax, al
mov dword [esp + 0x20], eax
mov dword [ebx + 0xc], edx
mov ebx, dword [esp + 0x3c]
jmp 0x1016811e
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10168116
cmp dword [eax], 0
jne 0x10168116
mov dword [eax], 0x55
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], 0
cmp edx, ecx
jae 0x10168139
mov ebp, dword [esp + 0x14]
mov al, byte [edx]
inc edx
movzx eax, al
mov dword [esp + 0x44], eax
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x30]
jmp 0x10168160
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x10168158
cmp dword [eax], 0
jne 0x10168158
mov dword [eax], 0x55
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], 0
cmp edx, ecx
jae 0x10168175
mov cl, byte [edx]
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
movzx eax, cl
jmp 0x1016818c
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x1016818a
cmp dword [eax], 0
jne 0x1016818a
mov dword [eax], 0x55
xor eax, eax
shl edi, 8
or edi, dword [esp + 0x20]
shl edi, 8
or edi, dword [esp + 0x44]
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x48]
cmp byte [eax + 8], 0
je 0x10166fd6
cmp edi, 0x7d00
jg 0x101681bd
cmp edi, 0xffff8300
jge 0x101681d2
mov ecx, dword [esp + 0x60]
test cl, cl
movzx eax, cl
mov ecx, 1
cmove eax, ecx
mov byte [esp + 0x60], al
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [eax + ecx*8]
cmp edx, eax
jne 0x1016820d
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x101656c0
cmp dword [eax], 0
jne 0x101656c0
mov dword [eax], 0x82
jmp 0x101656b9
mov dword [edx], edi
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov dword [eax + 4], 2
add dword [esi + 0xc], 8
jmp 0x101656b5
mov dword [edx], edi
mov eax, dword [esi + 0xc]
mov dword [eax + 4], 0
add dword [esi + 0xc], 8
mov edi, dword [esp + 0x14]
jmp 0x101656b5
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x2f], 0
je 0x10168253
mov eax, 0x12
jmp 0x1016835d
cmp dword [ecx + 0x244], 0
jne 0x10168272
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x10168272
mov eax, 0x12
jmp 0x1016835d
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x101682a3
push ebp
push ecx
call fcn.10168f90
push edi
push dword [esp + 0x1c]
mov ebp, eax
call fcn.10168f90
mov ecx, dword [esp + 0x20]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x20], edi
test ebp, ebp
js 0x10166207
test edi, edi
js 0x10166207
cmp byte [ecx + 0x2e], 0
je 0x10168476
mov eax, dword [ecx + 8]
mov dword [esp + 0x64], eax
push 2
mov eax, dword [eax + 0x9c]
mov edi, dword [eax]
push edi
mov dword [esp + 0x80], edi
call fcn.1012bca0
add esp, 8
test eax, eax
jne 0x1016835d
mov edi, dword [edi + 0x58]
mov eax, 0x202
sub ebx, dword [esp + 0x74]
push ebx
mov word [edi + 4], ax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
mov eax, 2
mov dword [edi], ebp
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov word [edi + 0x24], ax
call fcn.1012e8d0
push dword [esp + 0x48]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.1012e8d0
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edx, dword [esp + 0x78]
sar eax, 0x10
mov dword [edi + 0x2c], eax
mov dword [ecx + 0x80], 2
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x48], 0x636f6d70
mov dword [edx + 0x54], 2
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x10168370
cmp dword [ecx], 0
jne 0x10168370
mov dword [ecx], eax
push dword [esp + 0x2eb0]
mov dword [esp + 0x2ea4], 0
push dword [esp + 0x2e98]
mov dword [esp + 0x2eb0], 0
mov dword [esp + 0x2eb4], 0
call fcn.10130e30
push dword [esp + 0xc4]
mov dword [esp + 0x2ebc], 0
push dword [esp + 0xac]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
call fcn.10130e30
push dword [esp + 0xec]
mov dword [esp + 0xd0], 0
push dword [esp + 0xd4]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
call fcn.10130e30
push ebp
push dword [esp + 0xfc]
mov dword [esp + 0xfc], 0
call fcn.10130e30
add esp, 0x20
test esi, esi
je 0x1016845d
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.10130e30
push esi
push edi
mov dword [esi + 8], 0
call fcn.10130e30
add esp, 0x10
mov ecx, dword [esp + 0x3f04]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10184b39
add esp, 0x3ef8
ret
push dword [ecx + 0xc]
call fcn.1012bdf0
lea eax, [esp + 0x3e60]
push eax
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.10163610
add esp, 0x10
test eax, eax
jne 0x1016835d
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 1
push dword [esp + 0x98]
lea eax, [esp + 0x3e70]
push dword [esp + 0x84]
push eax
push dword [esp + 0x64]
call fcn.10165140
lea eax, [esp + 0x3e7c]
push eax
push ebp
call fcn.101634d0
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx], 0
mov dword [esp + 0xa0], edx
mov eax, dword [eax + 0x20]
mov dword [eax + 4], 0
lea eax, [esp + 0x3e84]
push eax
push edi
mov edi, dword [esp + 0x40]
push edi
call fcn.10163610
add esp, 0x34
test eax, eax
jne 0x1016835d
sub ebx, dword [esp + 0x74]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x3e64]
push ebx
push 1
push dword [esp + 0x98]
push dword [esp + 0x84]
push eax
push dword [esp + 0x64]
call fcn.10165140
lea eax, [esp + 0x3e7c]
push eax
push edi
call fcn.101634d0
mov eax, dword [edi + 0x20]
add esp, 0x28
mov ecx, dword [esp + 0x64]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
jmp 0x10168359
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x101685a6
cmp eax, 5
jne 0x101685c5
cmp byte [esp + 0x1f], 0
jne 0x101685c5
push 0
push esi
call fcn.10168910
mov ecx, dword [esp + 0x64]
add esp, 8
add eax, dword [esp + 0x84]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x224], 0
jne 0x10168359
cmp byte [esp + 0x2ec8], 0
je 0x1016865a
push dword [esp + 0x2f14]
lea eax, [esp + 0x13c]
mov byte [esp + 0x2ecd], 1
push dword [esp + 0x2f14]
push eax
call fcn.10164010
add esp, 0xc
cmp byte [esp + 0x2f18], 0
je 0x10168640
push 1
push dword [esp + 0x2f00]
lea eax, [esp + 0x2ef8]
push dword [esp + 0x2f00]
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.101642e0
add esp, 0x18
mov byte [esp + 0x2ecb], 1
mov word [esp + 0x2ec8], 0
mov byte [esp + 0x2f18], 0
mov eax, dword [esp + 0x48]
cmp byte [eax + 9], 0
jne 0x10168359
cmp byte [eax + 8], 0
jne 0x10168359
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10168359
cmp byte [esp + 0x3f1c], 0
je 0x10168698
mov eax, 0x12
jmp 0x1016835d
push esi
call fcn.101689e0
push esi
mov edx, eax
call fcn.101689e0
push esi
mov edi, eax
call fcn.10168980
push esi
mov ebx, eax
call fcn.10168980
mov ebp, eax
lea eax, [esp + 0x3e6c]
push eax
push edx
push dword [esp + 0x28]
call fcn.10163550
add esp, 0x1c
test eax, eax
jne 0x1016835d
lea eax, [esp + 0x64]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x3e68]
push 1
push dword [esp + 0x98]
push dword [esp + 0x84]
push eax
push ebp
call fcn.10165140
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x3e7c]
push eax
push ebx
call fcn.101634a0
lea eax, [esp + 0x3e84]
push eax
push edi
push ebx
call fcn.10163550
add esp, 0x34
test eax, eax
jne 0x1016835d
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 1
push dword [esp + 0x98]
lea eax, [esp + 0x3e70]
push dword [esp + 0x84]
push eax
push ebp
call fcn.10165140
lea eax, [esp + 0x3e7c]
push eax
push ebx
call fcn.101634a0
add esp, 0x28
jmp 0x10168359
xor eax, eax
jmp 0x10168361