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

Disassembly:
mov eax, 0x3ef0
call fcn.101a8300
mov eax, dword [0x10249010]
xor eax, esp
mov dword [esp + 0x3eec], eax
mov eax, dword [esp + 0x3efc]
push ebx
push ebp
mov ebp, dword [esp + 0x3f08]
push esi
mov esi, dword [esp + 0x3f00]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3f1c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xb0]
lea ebx, [esi + 4]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [eax + 0x218]
mov edi, dword [esi]
push 0x80
mov dword [esp + 0x88], ecx
xor cl, cl
mov eax, dword [eax + 0x220]
shl eax, 0x10
mov dword [esp + 0x78], eax
lea eax, [esp + 0x3e80]
push 0
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x27], cl
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 0x1312d00
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [esp + 0x3e68], 0
xorps xmm0, xmm0
mov dword [esp + 0xa0], eax
push 0x2e08
push eax
mov dword [esp + 0x108], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x144]
push eax
movq qword [esp + 0x3e6c], xmm0
movups xmmword [esp + 0x3e7c], xmm0
mov dword [esp + 0xf0], edi
movq qword [esp + 0x3e8c], xmm0
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0x10
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0xa
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], 0x14
mov dword [esp + 0xe0], 0xa
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x14
mov dword [esp + 0xc0], 0xa
movlpd qword [esp + 0x114], xmm0
movlpd qword [esp + 0x11c], xmm0
movlpd qword [esp + 0x124], xmm0
mov dword [esp + 0x110], ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x84]
movaps xmm0, xmmword [0x101e8fd0]
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x2ea4], edi
mov dword [esp + 0x2ea8], ebx
push 0xf1c
lea eax, [esp + 0x1f8c]
mov dword [esp + 0x2ec0], 0
push 0
push eax
movups xmmword [esp + 0x2eb8], xmm0
mov dword [esp + 0x2ecc], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xa8]
mov bl, byte [esi + 0xb8]
mov dword [esp + 0x1fa4], eax
lea eax, [esp + 0x1f94]
mov dword [esp + 0x1f98], eax
lea eax, [esp + 0x2eb0]
push 0xf1c
mov dword [esp + 0x1fa0], eax
lea eax, [esp + 0x107c]
push 0
push eax
mov byte [esp + 0x1fad], bl
mov dword [esp + 0x1fa0], esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x1094], eax
lea eax, [esp + 0x1fa0]
mov dword [esp + 0x1088], eax
lea eax, [esp + 0x2ebc]
push 0xf1c
mov dword [esp + 0x1090], eax
lea eax, [esp + 0x16c]
push 0
push eax
mov byte [esp + 0x109d], bl
mov dword [esp + 0x1090], esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0xc0]
lea eax, [esp + 0x1fac]
mov dword [esp + 0x178], eax
add esp, 0x3c
lea eax, [esp + 0x2e8c]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2eac], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2eb0], eax
mov eax, dword [ebp]
mov dword [esp + 0x2eb8], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x2ebc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x2ec4], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2ec8], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x2ecc], eax
lea eax, [esi + 0xf0]
mov dword [esp + 0x2ed4], eax
mov al, byte [esi + 0xb9]
mov byte [esp + 0x2ec2], al
mov dword [esp + 0x2eb4], ecx
mov ecx, dword [esi + 0xe4]
mov eax, ecx
cdq
mov ebp, eax
mov dword [esp + 0x138], esi
mov esi, dword [esi + 0xe8]
xor ebp, edx
mov byte [esp + 0x145], bl
sub ebp, edx
mov ebx, dword [esp + 0x3f1c]
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2ed0], ebx
mov dword [esp + 0x2ed8], ecx
mov dword [esp + 0x2edc], esi
test esi, esi
jns 0x1018cac4
neg eax
cmp ebp, eax
jle 0x1018cad0
test ecx, ecx
jns 0x1018cad8
neg ecx
jmp 0x1018cad8
test esi, esi
jns 0x1018cad6
neg esi
mov ecx, esi
mov edx, dword [esp + 0x40]
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2ee0], eax
cmp byte [edx + 9], 0
mov dword [esp + 0x2ee4], 0x199a
mov byte [esp + 0x2ec3], 1
setne byte [esp + 0x1a]
mov word [esp + 0x2ec0], 0
mov byte [esp + 0x2f10], 0
mov eax, dword [ecx + 0x218]
mov eax, dword [eax + 0x21c]
shl eax, 0x10
mov dword [esi], eax
cmp byte [edx + 9], 0
je 0x1018cb45
mov eax, dword [ecx + 0x214]
mov ebp, dword [eax + 0x614]
mov dword [esp + 0x78], ebp
jmp 0x1018cb4d
mov dword [esp + 0x78], 0x30
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 0
push eax
push 0x14
push edi
call fcn.10158780
mov ebp, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x7c], 0
mov esi, eax
mov dword [esp + 0x70], esi
jne 0x1018cb7b
mov dword [esi], edi
mov dword [esi + 4], ebp
lea eax, [esp + 0x7c]
push eax
push 0
push dword [esp + 0x80]
push 0
push 8
push edi
call fcn.10158940
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x7c], 0
je 0x1018cbb4
push esi
push edi
call fcn.101587e0
add esp, 8
xor esi, esi
lea eax, [esi + 0x40]
jmp 0x1018ecf8
mov eax, dword [esp + 0x78]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xd8]
push 0x11
push eax
call fcn.10189540
mov ecx, dword [esp + 0xf4]
add esp, 8
test al, al
mov edx, 0x11
mov eax, dword [esp + 0x3f08]
cmovne ecx, edx
xor edi, edi
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0xf4]
mov edx, ecx
movups xmm0, xmmword [eax]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x10], edx
movups xmmword [ecx], xmm0
mov dword [esp + 0x14], edi
cmp dword [ebp], edi
jne 0x1018f090
mov ebp, dword [esp + 0x3f18]
mov dword [esp + 0x2c], ebp
mov eax, dword [edx + 0xc]
mov ecx, 0xe
cmp eax, dword [edx + 8]
jb 0x1018cc80
test edi, edi
mov eax, 0xb
cmove eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + 8]
mov ch, byte [esp + 0x1b]
test cl, cl
je 0x1018ccfe
test ch, ch
jne 0x1018ccb2
cmp al, 1
je 0x1018ccb2
cmp al, 3
je 0x1018ccb2
cmp al, 0xd
je 0x1018ccb2
cmp al, 0xa
je 0x1018ccb2
cmp al, 0xb
je 0x1018ccb2
cmp al, 0xc
je 0x1018ccb2
cmp al, 0xe
je 0x1018ccb2
cmp al, 0x20
jae 0x1018ccb2
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov cl, byte [eax]
inc eax
mov dword [edx + 0xc], eax
mov al, cl
mov dword [esp + 0x30], eax
cmp al, 0xb
je 0x1018cc94
cmp al, 0xe
jne 0x1018cc41
mov ecx, dword [esp + 0x40]
movzx eax, al
mov dword [esp + 0x34], 0
cmp byte [ecx + 9], 0
cmovne eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
jmp 0x1018cc45
mov edi, dword [esp + 0x58]
test edi, edi
jle 0x1018ccd9
cmp al, 0xa
je 0x1018ccd9
cmp al, 0xb
je 0x1018ccd9
cmp al, 0xc
je 0x1018ccd9
cmp al, 0x20
mov dword [esp + 0x34], 0
cmovb edi, dword [esp + 0x34]
mov dword [esp + 0x58], edi
cmp byte [esp + 0x60], 0
mov edx, dword [esp + 0x10]
je 0x1018ccfe
cmp al, 0x20
jae 0x1018ccfe
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 + 0x64]
cmp dword [edi], 0
jne 0x1018ecf4
sub dword [esp + 0x90], 1
je 0x1018d607
movzx edi, al
cmp edi, 0x1f
ja case.default.0x1018cd25
jmp dword [edi*4 + 0x1018f098]
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x1018cd25.0
cmp byte [ecx + 0x5d], 0
jne 0x1018d607
push esi
call fcn.1018f350
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
js 0x1018ce56
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x1018cd25.0
cmp dword [ecx + 0x60], 0
je 0x1018d607
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 0x1018cdd0
mov ecx, dword [esp + 0x40]
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 + 0x44], eax
test eax, eax
jne 0x1018ecf8
push esi
call fcn.1018f350
add esp, 4
cmp eax, dword [esp + 0x78]
ja 0x1018d607
push eax
push esi
push edi
call fcn.1018a0c0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x1018cc26
test cl, cl
jne 0x1018ce18
cmp byte [esp + 0xfc], cl
jne case.0x1018cd25.0
mov edi, dword [esp + 0x24]
xor eax, eax
jmp 0x1018ce22
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xc4]
push eax
push esi
push dword [esp + 0x54]
call fcn.1018a510
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x1018ecf4
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
test cl, cl
jne 0x1018ce87
cmp byte [esp + 0xfc], cl
jne case.0x1018cd25.0
mov edi, dword [esp + 0x24]
xor eax, eax
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
jmp 0x1018ce33
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1e]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
jmp 0x1018ce33
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x1018ced1
cmp byte [esp + 0x1a], 0
jne 0x1018ced1
push 0
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x1018ecf4
push esi
call fcn.1018f2f0
add esp, 4
add ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
cmp dword [edi + 0x1d4], 0
jne case.0x1018cd25.0
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.1018b760
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, dword [esi + 8]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x34], eax
test eax, eax
je 0x1018cf91
push edi
push esi
call fcn.1018f240
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.1018f240
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.1018b5e0
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x34]
jb 0x1018cf44
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1018cc26
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
cmp al, 6
mov dword [esp + 0x34], ecx
sete byte [esp + 0x23]
xor edi, edi
test ecx, ecx
je 0x1018d011
nop dword [eax]
push edi
push esi
call fcn.1018f240
mov cl, byte [esp + 0x2b]
add esp, 8
test cl, cl
je 0x1018cfdd
add ebp, eax
mov dword [esp + 0x3f18], ebp
jmp 0x1018cfe6
add ebx, eax
mov dword [esp + 0x3f1c], ebx
push ebx
lea eax, [esp + 0x134]
xor cl, 1
push ebp
push eax
mov byte [esp + 0x2f], cl
call fcn.1018b5e0
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x34]
jb 0x1018cfc0
mov edx, dword [esi + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
mov ecx, dword [esi + 0xc]
xor edi, edi
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edi
cmp ecx, 6
jb 0x1018d0f5
nop dword [eax]
push edi
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x44], edi
call fcn.1018f240
mov ecx, dword [esp + 0x2c]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.1018f240
mov ecx, dword [esp + 0x34]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.1018f240
mov ecx, dword [esp + 0x3c]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.1018f240
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 5
push eax
push esi
call fcn.1018f240
add eax, edi
push eax
push dword [esp + 0x60]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x78]
push eax
call fcn.1018b270
mov edi, dword [esp + 0x68]
add esp, 0x4c
mov ebp, dword [esp + 0x2c]
add edi, 6
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [edi + 6]
mov dword [esp + 0x1c], edi
cmp eax, dword [esp + 0x38]
jbe 0x1018d040
mov eax, dword [esp + 0x30]
cmp al, 0x18
jne 0x1018d136
push edi
push esi
call fcn.1018f240
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x3f28], ebp
call fcn.1018f240
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3f38], ebx
call fcn.1018b5e0
add esp, 0x1c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
test cl, cl
je case.0x1018cd25.0
push dword [esp + 0x24]
call fcn.101872e0
mov eax, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x1a], 1
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jg 0x1018d607
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
push eax
call fcn.10189510
mov edx, eax
push esi
mov dword [esp + 0x1c], edx
call fcn.1018f350
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x1018d1d7
mov eax, dword [edi + 0x268]
test eax, eax
je 0x1018d1d7
push eax
push ecx
call fcn.101584a0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x1018d1d4
mov ecx, dword [eax]
jmp 0x1018d1d7
or ecx, 0xffffffff
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
cmp al, 0x1d
je 0x1018d298
mov eax, dword [edi + 0x234]
add eax, ecx
cmp eax, dword [edi + 0x22c]
jae 0x1018d607
lea edx, [eax*4]
mov eax, dword [edi + 0x23c]
mov ecx, dword [edx + eax]
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ecx
cmp byte [edi + 0x30], 0
je 0x1018d27b
mov eax, dword [edi + 0x264]
test eax, eax
je 0x1018d23f
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x10]
add eax, ecx
mov edi, dword [esp + 0x14]
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x1018cc26
mov eax, dword [edi + 0x260]
test eax, eax
mov dword [esp + 0x34], 0
cmovs eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, ecx
mov dword [edx + 8], eax
mov ecx, dword [edx + 4]
mov dword [edx + 0xc], ecx
jmp 0x1018cc26
mov eax, dword [edi + 0x23c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
mov edx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jmp 0x1018cc26
mov edx, dword [edi + 0x238]
add edx, ecx
cmp edx, dword [edi + 0x230]
jae 0x1018d607
mov eax, dword [edi + 0x240]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x240]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edx*4 + 4]
mov edx, ecx
mov dword [edx + 8], eax
jmp 0x1018cc26
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x1018d607
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.10189510
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x1018cc26
push edx
call fcn.10189cd0
mov cl, al
add esp, 4
movzx edx, cl
mov byte [esp + 0x23], cl
lea eax, [edx - 8]
cmp eax, 0x1d
ja case.default.0x1018d32a
movzx ecx, byte [eax + 0x1018f130]
jmp dword [ecx*4 + 0x1018f118]
push 0
push 0x101e89f4
jmp 0x1018d39b
push 0
push 0x101e8a00
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.1018a2c0
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esi + 0xc], eax
jmp 0x1018cc26
push 0
push 0x101e8a0c
jmp 0x1018d39b
push 1
push 0x101e8a18
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.1018a2c0
mov ebx, dword [esp + 0x3f34]
add esp, 0x18
mov ebp, dword [esp + 0x3f18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
jmp 0x1018cc26
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x40]
cmp byte [eax + 9], 0
jne case.0x1018d432.0
cmp cl, 0x26
jae case.0x1018d432.0
mov al, byte [eax + 8]
mov edi, dword [esp + 0x58]
test al, al
je 0x1018d429
test edi, edi
jle 0x1018d429
cmp cl, 0x11
je 0x1018d429
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], 0
mov dword [esi + 0xc], eax
jmp 0x1018cc26
cmp edx, 0x21
ja case.0x1018d432.0
jmp dword [edx*4 + 0x1018f150]
test al, al
je case.0x1018d432.0
push 0
push esi
call fcn.1018f240
push 2
push esi
mov edi, eax
call fcn.1018f240
push 4
push esi
mov ebp, eax
call fcn.1018f240
push 1
push esi
mov ebx, eax
call fcn.1018f240
mov ecx, ebp
sub ecx, edi
sub ecx, eax
push ecx
push 2
push esi
call fcn.1018f420
push 3
push esi
call fcn.1018f240
sub ebx, ebp
sub ebx, eax
push ebx
push 4
push esi
call fcn.1018f420
mov edi, dword [esp + 0x64]
add esp, 0x40
mov cl, byte [esp + 0x23]
mov eax, dword [edi + 0x20]
cmp cl, 1
jne 0x1018d4a2
mov eax, dword [eax]
jmp 0x1018d4a5
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x1e]
cmp cl, 1
push eax
push dword [esp + 0x5c]
lea edx, [esp + 0xc4]
lea eax, [esp + 0xa4]
cmovne eax, edx
push eax
push esi
push dword [esp + 0x54]
call fcn.1018a510
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x1018ecf4
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add esp, 8
test eax, eax
je 0x1018d52e
test edx, edx
je 0x1018d52e
mov eax, 1
push eax
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
xor eax, eax
push eax
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add esp, 8
test eax, eax
jne 0x1018d577
test edx, edx
jne 0x1018d577
push eax
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
mov eax, 1
push eax
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
xor ecx, ecx
test eax, eax
sete cl
push ecx
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
test al, al
je case.0x1018d432.0
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [eax + 4]
call fcn.1018f350
mov edi, eax
push esi
mov dword [esp + 0x3c], edi
call fcn.1018f350
push esi
mov ebp, eax
call fcn.1018f2f0
push esi
mov dword [esp + 0x48], eax
call fcn.1018f2f0
push esi
mov ebx, eax
call fcn.1018f2f0
add esp, 0x14
mov dword [esp + 0x50], eax
cmp byte [esp + 0x3f14], 0
je 0x1018ebdd
mov eax, 0x12
jmp 0x1018ecf8
test al, al
je case.0x1018d432.0
push esi
call fcn.1018f2f0
mov edi, dword [esp + 0x28]
push esi
mov ecx, dword [edi + 0x24]
mov dword [ecx + 4], eax
call fcn.1018f2f0
mov ecx, dword [edi + 0x24]
push esi
mov dword [ecx], eax
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
mov ecx, dword [edi + 0x20]
add esp, 0x10
mov byte [esp + 0x1a], 1
add dword [ecx], eax
mov ecx, dword [edi + 0x20]
add dword [ecx + 4], edx
cmp byte [edi + 0x2f], 0
jne 0x1018ecf4
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
je 0x1018d684
add ebp, eax
add ebx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
push esi
call fcn.1018f2f0
add esp, 4
cmp eax, 0x80000001
jge 0x1018d6be
push 0x7fffffff
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cdq
xor eax, edx
sub eax, edx
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add eax, edx
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
sub eax, edx
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
test al, al
je 0x1018d748
cmp byte [esp + 0x60], 0
je 0x1018d748
push esi
call fcn.1018f350
push esi
mov edx, eax
call fcn.1018f350
mov byte [esp + 0x68], 0
jmp 0x1018d756
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add esp, 8
push edx
push eax
call fcn.10152de0
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
add esp, 4
cmp eax, 0x80000001
jge 0x1018d7a3
mov eax, 0x7fffffff
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
neg eax
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
xor ecx, ecx
cmp eax, edx
sete cl
jmp 0x1018eaab
test al, al
je 0x1018ebd0
push esi
call fcn.1018f350
push esi
mov edi, eax
call fcn.1018f350
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 8]
sub edx, ecx
sar edx, 3
sub edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0
cmp edi, 0x1c
ja case.default.0x1018d824
movzx eax, byte [edi + 0x1018f218]
jmp dword [eax*4 + 0x1018f1d8]
cmp dword [esp + 0x1c], 3
jne 0x1018d607
cmp byte [esp + 0x1b], 0
je 0x1018d85b
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x1d4], 0
je 0x1018d607
cmp dword [edi + 0x1d8], 7
jne 0x1018d607
push ebp
push esi
call fcn.1018f3a0
push ebx
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 2
jmp 0x1018cc26
cmp dword [esp + 0x1c], 0
jne 0x1018d607
cmp byte [esp + 0x1b], 0
je 0x1018ebd0
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
add eax, 6
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x1018d8c5
push 0
push 6
push edx
call fcn.10153640
add esp, 0xc
test eax, eax
jne 0x1018ecf4
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1d4], 1
mov dword [edi + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cmp dword [esp + 0x1c], 0
jne 0x1018d607
cmp byte [esp + 0x1b], 0
je 0x1018ebd0
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1d4], 0
je 0x1018d607
mov edi, dword [ecx + 0x1d8]
lea eax, [edi + 1]
mov dword [ecx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x1018ebd0
mov edx, dword [ecx + 0xc]
movsx eax, word [edx + 0x16]
movsx ecx, word [edx + 0x3a]
inc eax
add eax, ecx
cmp eax, dword [edx + 4]
jbe 0x1018d950
push 0
push 1
push edx
call fcn.10153640
add esp, 0xc
test eax, eax
jne 0x1018d607
cmp edi, 3
lea eax, [edi - 3]
cmovle eax, edi
add eax, eax
mov dword [esp + eax*4 + 0x3e5c], ebp
mov dword [esp + eax*4 + 0x3e60], ebx
cmp edi, 3
je 0x1018d977
cmp edi, 6
jne 0x1018ebd0
push dword [esp + 0x3e78]
lea eax, [esp + 0x134]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push dword [esp + 0x3e78]
push eax
call fcn.1018b270
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cmp dword [esp + 0x1c], 1
jne 0x1018d607
cmp byte [esp + 0x1b], 0
je 0x1018da1a
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1018cc26
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1018d607
xor eax, eax
cmp edi, 0x12
sete al
add eax, 0xfffffff3
add eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x48]
imul eax, ecx
cmp dword [esp + 0x1c], eax
jne 0x1018d607
lea edi, [ecx + edx]
test ecx, ecx
je 0x1018db4a
mov ebp, ecx
mov dword [esp + 0x5c], ecx
nop word [eax + eax]
push edx
push esi
call fcn.1018f240
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax], 1
jbe 0x1018db1a
mov eax, 1
mov ebp, 4
sub eax, edi
mov dword [esp + 0x50], eax
push edi
push esi
call fcn.1018f240
mov dword [esp + 0x3c], eax
add esp, 8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + ebp]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
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 + 0x88], eax
mov ecx, dword [esp + 0x30]
lea ebp, [ebp + 4]
mov eax, dword [esp + 0x50]
inc edi
add ebx, dword [esp + 0x88]
add eax, edi
cmp eax, dword [ecx]
jb 0x1018dab5
mov ebp, dword [esp + 0x5c]
push ebx
push dword [esp + 0x40]
push esi
call fcn.1018f420
mov edx, dword [esp + 0x48]
add esp, 0xc
inc edx
sub ebp, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
jne 0x1018da90
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push esi
call fcn.1018f2b0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cmp dword [esp + 0x1c], 1
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x284]
jne 0x1018d607
test edi, edi
je 0x1018d607
push esi
call fcn.1018f350
mov edx, eax
add esp, 4
test edx, edx
js 0x1018d607
mov eax, dword [edi]
mov esi, dword [esp + 0x24]
lea ecx, [edx + eax]
cmp ecx, dword [esi + 0x28c]
mov esi, dword [esp + 0x70]
ja 0x1018d607
lea ecx, [eax*4]
mov eax, dword [esp + 0x24]
push ecx
push dword [edi + 0x88]
mov eax, dword [eax + 0x288]
lea eax, [eax + edx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cmp dword [esp + 0x1c], 2
jne 0x1018d607
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add eax, edx
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
cmp dword [esp + 0x1c], 2
jne 0x1018d607
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
sub eax, edx
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
cmp dword [esp + 0x1c], 2
jne 0x1018d607
push esi
call fcn.1018f2f0
push esi
mov dword [esp + 0x40], eax
call fcn.1018f2f0
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
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 + 0x8c], eax
push dword [esp + 0x8c]
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
cmp dword [esp + 0x1c], 2
jne 0x1018d607
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
add esp, 8
test edx, edx
je 0x1018d607
push edx
push eax
call fcn.10152de0
push eax
push esi
call fcn.1018f3a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
cmp dword [esp + 0x1c], 2
jne 0x1018d607
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x1018d607
push esi
call fcn.1018f350
mov edx, eax
add esp, 4
test edx, edx
js 0x1018d607
cmp edx, dword [edi + 0x28c]
jae 0x1018d607
push esi
call fcn.1018f2f0
mov ecx, dword [edi + 0x288]
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
cmp dword [esp + 0x1c], 1
jne 0x1018d607
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x1018d607
push esi
call fcn.1018f350
add esp, 4
test eax, eax
js 0x1018d607
cmp eax, dword [edi + 0x28c]
jae 0x1018d607
mov ecx, dword [edi + 0x288]
push dword [ecx + eax*4]
jmp 0x1018dca7
cmp dword [esp + 0x1c], 4
jne 0x1018d607
push esi
call fcn.1018f2f0
push esi
mov ebx, eax
call fcn.1018f2f0
push esi
mov edi, eax
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.1018f3a0
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x1018cc26
cmp dword [esp + 0x1c], 0
jne 0x1018d607
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
push eax
jmp 0x1018dca7
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x1018d607
test edi, edi
js 0x1018d607
cmp eax, 3
mov ecx, eax
mov eax, 3
cmovg ecx, eax
mov dword [esp + 0x58], ecx
cmp ecx, 1
jl 0x1018ebd0
lea edx, [esp + ecx*4 + 0x3e50]
mov edi, ecx
nop word [eax + eax]
push esi
call fcn.1018f2f0
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x1018de80
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
test al, al
je 0x1018ebd0
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x1018dec2
mov edi, dword [esp + 0x14]
dec ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
jmp 0x1018cc26
test edi, edi
je 0x1018d607
push dword [esp + edi*4 + 0x3e50]
dec edi
push esi
mov dword [esp + 0x60], edi
call fcn.1018f3a0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f350
push esi
mov edx, eax
call fcn.1018f2f0
add esp, 8
cmp edx, 0x1f
ja 0x1018ebd0
mov edi, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x3e7c], eax
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f350
add esp, 4
cmp eax, 0x1f
ja 0x1018ebd0
push dword [esp + eax*4 + 0x3e7c]
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov ebx, eax
call fcn.1018f2f0
push esi
mov edi, eax
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.1018f3a0
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x218]
mov edx, dword [edi + 0x288]
mov ecx, edx
mov eax, ecx
shl eax, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
mov dword [edi + 0x288], eax
movzx eax, dx
inc eax
jmp 0x1018e08a
push esi
call fcn.1018f2f0
push esi
mov dword [esp + 0x40], eax
call fcn.1018f2f0
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
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 + 0x68], eax
push dword [esp + 0x68]
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jle 0x1018e088
mov edi, eax
cmp eax, 0xa
jl 0x1018e044
sar edi, 1
push edi
push eax
call fcn.10152de0
inc eax
add esp, 8
add eax, edi
sar eax, 1
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x1018e08a
mov ebp, dword [esp + 0x34]
mov esi, eax
push esi
push ebp
mov edi, esi
call fcn.10152de0
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x1018e061
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
jmp 0x1018e08a
xor eax, eax
push eax
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
mov edi, eax
push edi
push esi
call fcn.1018f3a0
push edi
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f2f0
push esi
mov edx, eax
call fcn.1018f2f0
push edx
push esi
mov edi, eax
call fcn.1018f3a0
push edi
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f350
mov ecx, dword [esi + 0xc]
add esp, 4
sub ecx, dword [esi + 8]
sar ecx, 3
test ecx, ecx
je 0x1018ebd0
test eax, eax
js 0x1018e11d
cmp eax, ecx
jb 0x1018e11b
xor ecx, ecx
jmp 0x1018e11e
sub ecx, eax
dec ecx
push ecx
push esi
call fcn.1018f240
push eax
push esi
call fcn.1018f3a0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push esi
call fcn.1018f350
push esi
mov edx, eax
call fcn.1018f350
mov edi, eax
mov dword [esp + 0x44], 0
add esp, 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], 2
cmp edi, 2
jl 0x1018ebd0
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp edi, ecx
jbe 0x1018e1a0
mov eax, dword [esi + 4]
test eax, eax
je 0x1018ebd0
cmp dword [eax], 0
jne 0x1018ebd0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x1018cc26
test edx, edx
jns 0x1018e1b5
neg edx
mov eax, edx
cdq
idiv edi
mov ecx, edx
neg ecx
mov dword [esp + 0x5c], ecx
jmp 0x1018e1c0
mov eax, edx
cdq
idiv edi
mov ecx, edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x1018ebd0
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test eax, eax
jle 0x1018ebd0
mov ebx, dword [esp + 0x34]
lea edx, [edi - 7]
shl ecx, 3
lea ebp, [eax*8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
nop dword [eax + eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
cmp ebx, edi
jne 0x1018e226
inc ebx
mov esi, dword [ecx + ebx*8]
lea edx, [ebx*8]
mov dword [esp + 0x3c], esi
mov edi, ebx
mov esi, dword [ecx + edx + 4]
mov dword [esp + 0x30], esi
jmp 0x1018e22a
mov dword [esp + 0x1c], ecx
add edi, dword [esp + 0x5c]
add edx, dword [esp + 0x4c]
cmp edi, eax
jl 0x1018e23c
sub edi, eax
sub edx, ebp
jmp 0x1018e244
test edi, edi
jns 0x1018e244
add edi, eax
add edx, ebp
sub dword [esp + 0x50], 1
mov eax, dword [edx + ecx]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov ecx, dword [edx + ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [edx + ebp], esi
mov esi, dword [esp + 0x30]
mov dword [edx + ebp + 4], esi
mov esi, dword [esp + 0x70]
lea ebp, [eax*8]
mov dword [esp + 0x30], ecx
jne 0x1018e200
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
test al, al
je case.0x1018d432.0
cmp byte [esp + 0x1b], 0
je case.0x1018d432.0
push esi
call fcn.1018f2f0
mov ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.1018f2f0
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [eax + 0x1d4], 0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
test cl, cl
je case.0x1018cd25.0
push esi
call fcn.1018f2f0
mov edx, dword [esp + 0x28]
push esi
mov ecx, dword [edx + 0x24]
mov dword [ecx], eax
mov eax, dword [edx + 0x24]
mov dword [eax + 4], 0
call fcn.1018f2f0
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1a], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x1018ecf4
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x1018ce56
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esi + 0xc], eax
jmp 0x1018cc26
test cl, cl
je 0x1018ef33
test ch, ch
jne 0x1018ef33
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.1018b760
mov edi, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [esp + 0x70]
add esp, 0xc
mov byte [esp + 0x1b], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xcc], 0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0xf8], eax
mov word [esp + 0xfc], 0x100
test edi, edi
jle 0x1018e401
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.10189510
add esp, 8
mov edx, eax
mov dword [esp + 0x10], edx
test edi, edi
jg 0x1018e3d0
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x1018e432
cmp byte [esp + 0xfc], 0
jne case.0x1018cd25.0
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x1a]
push 0
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xa4]
push eax
push esi
push edi
call fcn.1018a510
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x1018ecf4
mov eax, dword [esp + 0x30]
cmp al, 0x13
jne 0x1018e4a2
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xcc]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
call fcn.1018c670
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
push dword [esp + 0x84]
lea eax, [esp + 0x2e90]
push eax
lea eax, [esp + 0x1f78]
push eax
lea eax, [esp + 0x2f44]
push edi
push eax
call fcn.1018c2e0
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0xe0]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x130]
movlpd qword [esp + 0x134], xmm0
push eax
movlpd qword [esp + 0x140], xmm0
movlpd qword [esp + 0x148], xmm0
call fcn.1018c670
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.1018bee0
mov eax, dword [esi + 8]
add esp, 0x38
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x1018e57c
cmp byte [esp + 0x1a], 0
jne 0x1018e57c
push 0
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x1018ecf4
push esi
call fcn.1018f2f0
add ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.1018f2f0
add esp, 8
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1018cefd
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x1018e5ee
cmp byte [esp + 0x1a], 0
jne 0x1018e5ee
push 0
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1a], 1
cmp byte [edi + 0x224], 0
jne 0x1018ecf4
push esi
call fcn.1018f2f0
add esp, 4
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1018cefd
mov ecx, dword [esi + 0xc]
xor eax, eax
sub ecx, dword [esi + 8]
sar ecx, 3
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
cmp ecx, 6
jbe 0x1018e693
lea edi, [eax + 6]
nop word [eax + eax]
push eax
push esi
call fcn.1018f240
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.1018f240
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.1018b5e0
mov eax, dword [esp + 0x54]
add edi, 2
mov ecx, dword [esp + 0x6c]
add eax, 2
add esp, 0x1c
mov dword [esp + 0x38], eax
cmp edi, ecx
jb 0x1018e640
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
cmp eax, ecx
jae 0x1018e753
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 2]
push eax
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x24]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x5c], edi
call fcn.1018f240
push dword [esp + 0x2c]
push esi
lea ebp, [ebx + eax]
call fcn.1018f240
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.1018f240
mov ecx, dword [esp + 0x3c]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.1018f240
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 3
push eax
push esi
call fcn.1018f240
add eax, edi
push eax
push dword [esp + 0x60]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push edi
push ebx
push ebp
push dword [esp + 0x90]
push eax
call fcn.1018b270
mov ecx, dword [esp + 0x68]
add esp, 0x4c
mov ebp, dword [esp + 0x2c]
add ecx, 6
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
lea eax, [ecx - 2]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x50]
jb 0x1018e6a2
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x1018cc26
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edi
cmp edi, eax
jae 0x1018ea83
sub eax, edi
test al, 1
je 0x1018e7a5
push edi
push esi
call fcn.1018f240
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x1018e7a9
mov dword [esp + 0x3c], ebp
push edi
push esi
call fcn.1018f240
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x30]
push ecx
push esi
call fcn.1018f240
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x4c]
push eax
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x48]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.1018f240
add eax, edi
push eax
push ebp
push edi
push ebp
push ebx
push dword [esp + 0x70]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x168]
push eax
call fcn.1018b270
mov edi, dword [esp + 0x6c]
add esp, 0x3c
mov eax, dword [esp + 0x4c]
add edi, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x30], edi
cmp edi, eax
jb 0x1018e788
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1018cc22
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
mov eax, edi
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edi
cmp edi, eax
jae 0x1018ea83
nop
sub eax, edi
test al, 1
je 0x1018e87d
push edi
push esi
call fcn.1018f240
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x1018e881
mov dword [esp + 0x3c], ebx
push edi
push esi
call fcn.1018f240
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.1018f240
mov ebp, dword [esp + 0x40]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.1018f240
add eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.1018f240
lea ebp, [edi + eax]
mov eax, dword [esp + 0x48]
push eax
push ebp
push eax
push edi
push dword [esp + 0x6c]
lea eax, [esp + 0x164]
push ebx
push eax
call fcn.1018b270
mov edi, dword [esp + 0x6c]
add esp, 0x3c
mov eax, dword [esp + 0x4c]
add edi, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f18], ebp
mov dword [esp + 0x3f1c], ebx
mov dword [esp + 0x30], edi
cmp edi, eax
jb 0x1018e860
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1018cc22
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub edi, ecx
sar edi, 3
cmp al, 0x1f
mov eax, edi
sete byte [esp + 0x23]
and eax, 0xfffffffd
sub edi, eax
mov dword [esp + 0x34], eax
cmp edi, eax
jae 0x1018ea83
nop dword [eax]
push edi
push esi
call fcn.1018f240
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], eax
call fcn.1018f240
lea ecx, [edi + 2]
mov dword [esp + 0x60], eax
push ecx
push esi
call fcn.1018f240
lea ecx, [edi + 3]
mov dword [esp + 0x74], eax
push ecx
push esi
call fcn.1018f240
mov edx, dword [esp + 0x54]
add esp, 0x20
sub edx, edi
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x23], 0
je 0x1018e9e9
mov eax, dword [esp + 0x38]
mov ecx, ebx
add ecx, dword [esp + 0x5c]
add eax, ebp
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
add ebx, ecx
add eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp edx, 5
jne 0x1018e9d8
lea eax, [edi + 4]
push eax
push esi
call fcn.1018f240
mov edi, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x30]
add ebp, eax
mov byte [esp + 0x23], 0
jmp 0x1018ea3d
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 0
jmp 0x1018ea3d
mov ecx, dword [esp + 0x38]
mov eax, ebp
add eax, dword [esp + 0x50]
add ecx, ebx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
add ebp, eax
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp edx, 5
jne 0x1018ea2e
lea eax, [edi + 4]
push eax
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x38]
add esp, 8
mov edi, dword [esp + 0x2c]
lea ebx, [ecx + eax]
jmp 0x1018ea34
mov ebx, ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 1
push ebx
push ebp
push ecx
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x144]
push dword [esp + 0x3c]
push eax
call fcn.1018b270
add edi, 4
mov dword [esp + 0x3f34], ebp
add esp, 0x1c
mov dword [esp + 0x3f1c], ebx
cmp edi, dword [esp + 0x34]
jb 0x1018e940
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x1018cc26
push edx
call fcn.10189cd0
push dword [esp + 0x14]
mov edi, eax
call fcn.10189cd0
shl edi, 8
movsx ecx, ax
movsx eax, di
or ecx, eax
push ecx
push esi
call fcn.1018f3e0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x1018cc26
cmp al, 0xf6
ja 0x1018eae3
lea eax, [edi - 0x8b]
push eax
push esi
call fcn.1018f3e0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push edx
call fcn.10189cd0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
cmp al, 0xfa
ja 0x1018eb1c
lea eax, [ecx - 0xf694]
shl edi, 8
add eax, edi
push eax
push esi
call fcn.1018f3e0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
cmp al, 0xfe
ja 0x1018eb43
shl edi, 8
mov eax, 0xfa94
sub eax, edi
sub eax, ecx
push eax
push esi
call fcn.1018f3e0
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
mov edi, dword [esp + 0x10]
push edi
call fcn.10189cd0
push edi
mov ebx, eax
call fcn.10189cd0
push dword [esp + 0x18]
mov edi, eax
call fcn.10189cd0
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x4c]
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x40]
cmp byte [eax + 8], 0
je 0x1018ebc2
cmp ecx, 0x7d00
jg 0x1018eb92
cmp ecx, 0xffff8300
jge 0x1018eba7
mov edx, dword [esp + 0x60]
test dl, dl
movzx eax, dl
mov edx, 1
cmove eax, edx
mov byte [esp + 0x60], al
push ecx
push esi
call fcn.1018f3e0
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
push ecx
push esi
call fcn.1018f3a0
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1018cc26
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2f], 0
je 0x1018ebf1
mov eax, 0x12
jmp 0x1018ecf8
cmp dword [ecx + 0x244], 0
jne 0x1018ec10
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x1018ec10
mov eax, 0x12
jmp 0x1018ecf8
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x1018ec41
push ebp
push ecx
call fcn.1018f9f0
push edi
push dword [esp + 0x30]
mov ebp, eax
call fcn.1018f9f0
mov ecx, dword [esp + 0x34]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
test ebp, ebp
js 0x1018d607
test edi, edi
js 0x1018d607
cmp byte [ecx + 0x2e], 0
je 0x1018ee13
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
push 2
mov eax, dword [eax + 0x9c]
mov edi, dword [eax]
push edi
mov dword [esp + 0x70], edi
call fcn.101537c0
add esp, 8
test eax, eax
jne 0x1018ecf8
mov edi, dword [edi + 0x58]
mov eax, 0x202
sub ebx, dword [esp + 0x50]
push ebx
mov word [edi + 4], ax
mov eax, dword [esp + 0x38]
mov dword [edi], ebp
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], eax
mov eax, 2
mov word [edi + 0x24], ax
call fcn.10156430
push dword [esp + 0x3c]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.10156430
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [esp + 0x68]
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 + 0x44]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x1018ed07
cmp dword [edx], 0
jne 0x1018ed07
mov dword [edx], eax
push dword [esp + 0x2ea8]
mov dword [esp + 0x2e9c], 0
push dword [esp + 0x2e90]
mov dword [esp + 0x2ea8], 0
mov dword [esp + 0x2eac], 0
call fcn.101587e0
push dword [esp + 0xbc]
mov dword [esp + 0x2eb4], 0
push dword [esp + 0xa4]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
call fcn.101587e0
push dword [esp + 0xe4]
mov dword [esp + 0xc8], 0
push dword [esp + 0xcc]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
call fcn.101587e0
push dword [esp + 0xac]
mov dword [esp + 0xf0], 0
push dword [esp + 0xf4]
call fcn.101587e0
add esp, 0x20
test esi, esi
je 0x1018edfa
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.101587e0
push esi
push edi
mov dword [esi + 8], 0
call fcn.101587e0
add esp, 0x10
mov ecx, dword [esp + 0x3efc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1015164c
add esp, 0x3ef0
ret
push dword [ecx + 0xc]
call fcn.101538c0
lea eax, [esp + 0x3e58]
push eax
push ebp
mov ebp, dword [esp + 0x30]
push ebp
call fcn.1018abc0
add esp, 0x10
test eax, eax
jne 0x1018ecf8
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 1
push dword [esp + 0x90]
lea eax, [esp + 0x3e68]
push dword [esp + 0x80]
push eax
push dword [esp + 0x5c]
call fcn.1018c6f0
lea eax, [esp + 0x3e74]
push eax
push ebp
call fcn.1018aa80
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx], 0
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x20]
mov dword [eax + 4], 0
lea eax, [esp + 0x3e7c]
push eax
push edi
mov edi, dword [esp + 0x54]
push edi
call fcn.1018abc0
add esp, 0x34
test eax, eax
jne 0x1018ecf8
sub ebx, dword [esp + 0x50]
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x3e5c]
push ebx
push 1
push dword [esp + 0x90]
push dword [esp + 0x80]
push eax
push dword [esp + 0x5c]
call fcn.1018c6f0
lea eax, [esp + 0x3e74]
push eax
push edi
call fcn.1018aa80
mov eax, dword [edi + 0x20]
add esp, 0x28
mov ecx, dword [esp + 0x4c]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
jmp 0x1018ecf4
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x1018ef46
cmp eax, 5
jne 0x1018ef62
cmp byte [esp + 0x1a], 0
jne 0x1018ef62
push 0
push esi
call fcn.1018f240
mov ecx, dword [esp + 0x5c]
add esp, 8
add eax, dword [esp + 0x74]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x224], 0
jne 0x1018ecf4
lea eax, [esp + 0x130]
push eax
call fcn.1018ac40
mov eax, dword [esp + 0x44]
add esp, 4
cmp byte [eax + 9], 0
jne 0x1018ecf4
cmp byte [eax + 8], 0
jne 0x1018ecf4
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x1018ecf4
cmp byte [esp + 0x3f14], 0
je 0x1018efc1
mov eax, 0x12
jmp 0x1018ecf8
push esi
call fcn.1018f350
push esi
mov edx, eax
call fcn.1018f350
push esi
mov edi, eax
call fcn.1018f2f0
push esi
mov ebx, eax
call fcn.1018f2f0
mov ebp, eax
lea eax, [esp + 0x3e64]
push eax
push edx
push dword [esp + 0x3c]
call fcn.1018ab00
add esp, 0x1c
test eax, eax
jne 0x1018ecf8
lea eax, [esp + 0x4c]
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x3e60]
push 1
push dword [esp + 0x90]
push dword [esp + 0x80]
push eax
push ebp
call fcn.1018c6f0
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.1018aa50
lea eax, [esp + 0x3e7c]
push eax
push edi
push ebx
call fcn.1018ab00
add esp, 0x34
test eax, eax
jne 0x1018ecf8
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 1
push dword [esp + 0x90]
lea eax, [esp + 0x3e68]
push dword [esp + 0x80]
push eax
push ebp
call fcn.1018c6f0
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.1018aa50
add esp, 0x28
jmp 0x1018ecf4
xor eax, eax
jmp 0x1018ecf8