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

Disassembly:
mov eax, 0x3ef0
call fcn.101a3d80
mov eax, dword [0x104cdec0]
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 [0x1022a9a0]
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 0x10185364
neg eax
cmp ebp, eax
jle 0x10185370
test ecx, ecx
jns 0x10185378
neg ecx
jmp 0x10185378
test esi, esi
jns 0x10185376
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 0x101853e5
mov eax, dword [ecx + 0x214]
mov ebp, dword [eax + 0x614]
mov dword [esp + 0x78], ebp
jmp 0x101853ed
mov dword [esp + 0x78], 0x30
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 0
push eax
push 0x14
push edi
call fcn.101510b0
mov ebp, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x7c], 0
mov esi, eax
mov dword [esp + 0x70], esi
jne 0x1018541b
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.10151270
add esp, 0x18
mov dword [esi + 8], eax
cmp dword [esp + 0x7c], 0
je 0x10185454
push esi
push edi
call fcn.10151110
add esp, 8
xor esi, esi
lea eax, [esi + 0x40]
jmp 0x10187598
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.10181de0
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 0x10187930
mov ebp, dword [esp + 0x3f18]
mov dword [esp + 0x2c], ebp
mov eax, dword [edx + 0xc]
mov ecx, 0xe
cmp eax, dword [edx + 8]
jb 0x10185520
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 0x1018559e
test ch, ch
jne 0x10185552
cmp al, 1
je 0x10185552
cmp al, 3
je 0x10185552
cmp al, 0xd
je 0x10185552
cmp al, 0xa
je 0x10185552
cmp al, 0xb
je 0x10185552
cmp al, 0xc
je 0x10185552
cmp al, 0xe
je 0x10185552
cmp al, 0x20
jae 0x10185552
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101854c6
mov cl, byte [eax]
inc eax
mov dword [edx + 0xc], eax
mov al, cl
mov dword [esp + 0x30], eax
cmp al, 0xb
je 0x10185534
cmp al, 0xe
jne 0x101854e1
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 0x101854e5
mov edi, dword [esp + 0x58]
test edi, edi
jle 0x10185579
cmp al, 0xa
je 0x10185579
cmp al, 0xb
je 0x10185579
cmp al, 0xc
je 0x10185579
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 0x1018559e
cmp al, 0x20
jae 0x1018559e
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 0x10187594
sub dword [esp + 0x90], 1
je 0x10185ea7
movzx edi, al
cmp edi, 0x1f
ja case.default.0x101855c5
jmp dword [edi*4 + 0x10187938]
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x101855c5.0
cmp byte [ecx + 0x5d], 0
jne 0x10185ea7
push esi
call fcn.10187bf0
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
js 0x101856f6
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101854c6
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 9], 0
je case.0x101855c5.0
cmp dword [ecx + 0x60], 0
je 0x10185ea7
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 0x10185670
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 0x10187598
push esi
call fcn.10187bf0
add esp, 4
cmp eax, dword [esp + 0x78]
ja 0x10185ea7
push eax
push esi
push edi
call fcn.10182960
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov byte [eax + 0x5d], 1
jmp 0x101854c6
test cl, cl
jne 0x101856b8
cmp byte [esp + 0xfc], cl
jne case.0x101855c5.0
mov edi, dword [esp + 0x24]
xor eax, eax
jmp 0x101856c2
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.10182db0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x10187594
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp 0x101854c6
test cl, cl
jne 0x10185727
cmp byte [esp + 0xfc], cl
jne case.0x101855c5.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 0x101856d3
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 0x101856d3
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10185771
cmp byte [esp + 0x1a], 0
jne 0x10185771
push 0
push esi
call fcn.10187ae0
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 0x10187594
push esi
call fcn.10187b90
add esp, 4
add ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3f1c], ebx
cmp dword [edi + 0x1d4], 0
jne case.0x101855c5.0
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.10184000
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101854c6
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 0x10185831
push edi
push esi
call fcn.10187ae0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.10187ae0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.10183e80
add edi, 2
add esp, 0x1c
cmp edi, dword [esp + 0x34]
jb 0x101857e4
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 0x101854c6
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 0x101858b1
nop dword [eax]
push edi
push esi
call fcn.10187ae0
mov cl, byte [esp + 0x2b]
add esp, 8
test cl, cl
je 0x1018587d
add ebp, eax
mov dword [esp + 0x3f18], ebp
jmp 0x10185886
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.10183e80
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x34]
jb 0x10185860
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 0x101854c6
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 0x10185995
nop dword [eax]
push edi
push esi
call fcn.10187ae0
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x44], edi
call fcn.10187ae0
mov ecx, dword [esp + 0x2c]
add ecx, 2
push ecx
push esi
lea ebp, [ebx + eax]
call fcn.10187ae0
mov ecx, dword [esp + 0x34]
add ecx, 3
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10187ae0
mov ecx, dword [esp + 0x3c]
add ecx, 4
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10187ae0
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 5
push eax
push esi
call fcn.10187ae0
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.10183b10
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 0x101858e0
mov eax, dword [esp + 0x30]
cmp al, 0x18
jne 0x101859d6
push edi
push esi
call fcn.10187ae0
add ebp, eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x3f28], ebp
call fcn.10187ae0
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.10183e80
add esp, 0x1c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101854c6
test cl, cl
je case.0x101855c5.0
push dword [esp + 0x24]
call fcn.1017fb80
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 0x101854c6
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jg 0x10185ea7
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
push eax
call fcn.10181db0
mov edx, eax
push esi
mov dword [esp + 0x1c], edx
call fcn.10187bf0
mov edi, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x10185a77
mov eax, dword [edi + 0x268]
test eax, eax
je 0x10185a77
push eax
push ecx
call fcn.10150dd0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10185a74
mov ecx, dword [eax]
jmp 0x10185a77
or ecx, 0xffffffff
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
cmp al, 0x1d
je 0x10185b38
mov eax, dword [edi + 0x234]
add eax, ecx
cmp eax, dword [edi + 0x22c]
jae 0x10185ea7
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 0x10185b1b
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10185adf
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 0x101854c6
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 0x101854c6
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 0x101854c6
mov edx, dword [edi + 0x238]
add edx, ecx
cmp edx, dword [edi + 0x230]
jae 0x10185ea7
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 0x101854c6
mov edi, dword [esp + 0x14]
cmp edi, 1
jl 0x10185ea7
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.10181db0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
jmp 0x101854c6
push edx
call fcn.10182570
mov cl, al
add esp, 4
movzx edx, cl
mov byte [esp + 0x23], cl
lea eax, [edx - 8]
cmp eax, 0x1d
ja case.default.0x10185bca
movzx ecx, byte [eax + 0x101879d0]
jmp dword [ecx*4 + 0x101879b8]
push 0
push 0x1022a3bc
jmp 0x10185c3b
push 0
push 0x1022a3c8
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.10182b60
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 0x101854c6
push 0
push 0x1022a3d4
jmp 0x10185c3b
push 1
push 0x1022a3e0
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x3f28]
push eax
lea eax, [esp + 0x3f28]
push eax
push esi
call fcn.10182b60
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 0x101854c6
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x40]
cmp byte [eax + 9], 0
jne case.0x10185cd2.0
cmp cl, 0x26
jae case.0x10185cd2.0
mov al, byte [eax + 8]
mov edi, dword [esp + 0x58]
test al, al
je 0x10185cc9
test edi, edi
jle 0x10185cc9
cmp cl, 0x11
je 0x10185cc9
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 0x101854c6
cmp edx, 0x21
ja case.0x10185cd2.0
jmp dword [edx*4 + 0x101879f0]
test al, al
je case.0x10185cd2.0
push 0
push esi
call fcn.10187ae0
push 2
push esi
mov edi, eax
call fcn.10187ae0
push 4
push esi
mov ebp, eax
call fcn.10187ae0
push 1
push esi
mov ebx, eax
call fcn.10187ae0
mov ecx, ebp
sub ecx, edi
sub ecx, eax
push ecx
push 2
push esi
call fcn.10187cc0
push 3
push esi
call fcn.10187ae0
sub ebx, ebp
sub ebx, eax
push ebx
push 4
push esi
call fcn.10187cc0
mov edi, dword [esp + 0x64]
add esp, 0x40
mov cl, byte [esp + 0x23]
mov eax, dword [edi + 0x20]
cmp cl, 1
jne 0x10185d42
mov eax, dword [eax]
jmp 0x10185d45
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.10182db0
add esp, 0x18
cmp byte [edi + 0x224], 0
jne 0x10187594
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 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add esp, 8
test eax, eax
je 0x10185dce
test edx, edx
je 0x10185dce
mov eax, 1
push eax
push esi
call fcn.10187c80
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
xor eax, eax
push eax
push esi
call fcn.10187c80
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add esp, 8
test eax, eax
jne 0x10185e17
test edx, edx
jne 0x10185e17
push eax
push esi
call fcn.10187c80
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
mov eax, 1
push eax
push esi
call fcn.10187c80
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
xor ecx, ecx
test eax, eax
sete cl
push ecx
push esi
call fcn.10187c80
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x14]
jmp 0x101854c6
test al, al
je case.0x10185cd2.0
mov eax, dword [esp + 0x24]
push esi
mov edx, dword [eax + 4]
call fcn.10187bf0
mov edi, eax
push esi
mov dword [esp + 0x3c], edi
call fcn.10187bf0
push esi
mov ebp, eax
call fcn.10187b90
push esi
mov dword [esp + 0x48], eax
call fcn.10187b90
push esi
mov ebx, eax
call fcn.10187b90
add esp, 0x14
mov dword [esp + 0x50], eax
cmp byte [esp + 0x3f14], 0
je 0x1018747d
mov eax, 0x12
jmp 0x10187598
test al, al
je case.0x10185cd2.0
push esi
call fcn.10187b90
mov edi, dword [esp + 0x28]
push esi
mov ecx, dword [edi + 0x24]
mov dword [ecx + 4], eax
call fcn.10187b90
mov ecx, dword [edi + 0x24]
push esi
mov dword [ecx], eax
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
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 0x10187594
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
je 0x10185f24
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 0x101854c6
push esi
call fcn.10187b90
add esp, 4
cmp eax, 0x80000001
jge 0x10185f5e
push 0x7fffffff
push esi
call fcn.10187c40
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
cdq
xor eax, edx
sub eax, edx
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add eax, edx
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
sub eax, edx
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x101854c6
test al, al
je 0x10185fe8
cmp byte [esp + 0x60], 0
je 0x10185fe8
push esi
call fcn.10187bf0
push esi
mov edx, eax
call fcn.10187bf0
mov byte [esp + 0x68], 0
jmp 0x10185ff6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add esp, 8
push edx
push eax
call fcn.1014bb40
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
add esp, 4
cmp eax, 0x80000001
jge 0x10186043
mov eax, 0x7fffffff
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
neg eax
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
xor ecx, ecx
cmp eax, edx
sete cl
jmp 0x1018734b
test al, al
je 0x10187470
push esi
call fcn.10187bf0
push esi
mov edi, eax
call fcn.10187bf0
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.0x101860c4
movzx eax, byte [edi + 0x10187ab8]
jmp dword [eax*4 + 0x10187a78]
cmp dword [esp + 0x1c], 3
jne 0x10185ea7
cmp byte [esp + 0x1b], 0
je 0x101860fb
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x1d4], 0
je 0x10185ea7
cmp dword [edi + 0x1d8], 7
jne 0x10185ea7
push ebp
push esi
call fcn.10187c40
push ebx
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 2
jmp 0x101854c6
cmp dword [esp + 0x1c], 0
jne 0x10185ea7
cmp byte [esp + 0x1b], 0
je 0x10187470
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 0x10186165
push 0
push 6
push edx
call fcn.1014c290
add esp, 0xc
test eax, eax
jne 0x10187594
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1d4], 1
mov dword [edi + 0x1d8], 0
mov edi, dword [esp + 0x14]
jmp 0x101854c6
cmp dword [esp + 0x1c], 0
jne 0x10185ea7
cmp byte [esp + 0x1b], 0
je 0x10187470
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1d4], 0
je 0x10185ea7
mov edi, dword [ecx + 0x1d8]
lea eax, [edi + 1]
mov dword [ecx + 0x1d8], eax
lea eax, [edi - 1]
cmp eax, 5
ja 0x10187470
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 0x101861f0
push 0
push 1
push edx
call fcn.1014c290
add esp, 0xc
test eax, eax
jne 0x10185ea7
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 0x10186217
cmp edi, 6
jne 0x10187470
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.10183b10
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, dword [esp + 0x14]
jmp 0x101854c6
cmp dword [esp + 0x1c], 1
jne 0x10185ea7
cmp byte [esp + 0x1b], 0
je 0x101862ba
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 0x101854c6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x101854c6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x284]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10185ea7
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 0x10185ea7
lea edi, [ecx + edx]
test ecx, ecx
je 0x101863ea
mov ebp, ecx
mov dword [esp + 0x5c], ecx
nop word [eax + eax]
push edx
push esi
call fcn.10187ae0
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax], 1
jbe 0x101863ba
mov eax, 1
mov ebp, 4
sub eax, edi
mov dword [esp + 0x50], eax
push edi
push esi
call fcn.10187ae0
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 0x10186355
mov ebp, dword [esp + 0x5c]
push ebx
push dword [esp + 0x40]
push esi
call fcn.10187cc0
mov edx, dword [esp + 0x48]
add esp, 0xc
inc edx
sub ebp, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ebp
jne 0x10186330
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.10187b50
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
jmp 0x101854c6
cmp dword [esp + 0x1c], 1
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x284]
jne 0x10185ea7
test edi, edi
je 0x10185ea7
push esi
call fcn.10187bf0
mov edx, eax
add esp, 4
test edx, edx
js 0x10185ea7
mov eax, dword [edi]
mov esi, dword [esp + 0x24]
lea ecx, [edx + eax]
cmp ecx, dword [esi + 0x28c]
mov esi, dword [esp + 0x70]
ja 0x10185ea7
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 0x101854c6
cmp dword [esp + 0x1c], 2
jne 0x10185ea7
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add eax, edx
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x101854c6
cmp dword [esp + 0x1c], 2
jne 0x10185ea7
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
sub eax, edx
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x101854c6
cmp dword [esp + 0x1c], 2
jne 0x10185ea7
push esi
call fcn.10187b90
push esi
mov dword [esp + 0x40], eax
call fcn.10187b90
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.10187c40
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x101854c6
cmp dword [esp + 0x1c], 2
jne 0x10185ea7
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
add esp, 8
test edx, edx
je 0x10185ea7
push edx
push eax
call fcn.1014bb40
push eax
push esi
call fcn.10187c40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x101854c6
cmp dword [esp + 0x1c], 2
jne 0x10185ea7
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x10185ea7
push esi
call fcn.10187bf0
mov edx, eax
add esp, 4
test edx, edx
js 0x10185ea7
cmp edx, dword [edi + 0x28c]
jae 0x10185ea7
push esi
call fcn.10187b90
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 0x101854c6
cmp dword [esp + 0x1c], 1
jne 0x10185ea7
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x284], 0
je 0x10185ea7
push esi
call fcn.10187bf0
add esp, 4
test eax, eax
js 0x10185ea7
cmp eax, dword [edi + 0x28c]
jae 0x10185ea7
mov ecx, dword [edi + 0x288]
push dword [ecx + eax*4]
jmp 0x10186547
cmp dword [esp + 0x1c], 4
jne 0x10185ea7
push esi
call fcn.10187b90
push esi
mov ebx, eax
call fcn.10187b90
push esi
mov edi, eax
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10187c40
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 1
jmp 0x101854c6
cmp dword [esp + 0x1c], 0
jne 0x10185ea7
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 0x10186547
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x10185ea7
test edi, edi
js 0x10185ea7
cmp eax, 3
mov ecx, eax
mov eax, 3
cmovg ecx, eax
mov dword [esp + 0x58], ecx
cmp ecx, 1
jl 0x10187470
lea edx, [esp + ecx*4 + 0x3e50]
mov edi, ecx
nop word [eax + eax]
push esi
call fcn.10187b90
add esp, 4
mov dword [edx], eax
lea edx, [edx - 4]
sub edi, 1
jne 0x10186720
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x101854c6
test al, al
je 0x10187470
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x10186762
mov edi, dword [esp + 0x14]
dec ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
jmp 0x101854c6
test edi, edi
je 0x10185ea7
push dword [esp + edi*4 + 0x3e50]
dec edi
push esi
mov dword [esp + 0x60], edi
call fcn.10187c40
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187b90
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187bf0
push esi
mov edx, eax
call fcn.10187b90
add esp, 8
cmp edx, 0x1f
ja 0x10187470
mov edi, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x3e7c], eax
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187bf0
add esp, 4
cmp eax, 0x1f
ja 0x10187470
push dword [esp + eax*4 + 0x3e7c]
push esi
call fcn.10187c40
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov ebx, eax
call fcn.10187b90
push esi
mov edi, eax
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
cmp edi, ebx
cmovle edx, eax
push edx
push esi
call fcn.10187c40
mov ebx, dword [esp + 0x40]
add esp, 0x18
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x101854c6
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 0x1018692a
push esi
call fcn.10187b90
push esi
mov dword [esp + 0x40], eax
call fcn.10187b90
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.10187c40
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187b90
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jle 0x10186928
mov edi, eax
cmp eax, 0xa
jl 0x101868e4
sar edi, 1
push edi
push eax
call fcn.1014bb40
inc eax
add esp, 8
add eax, edi
sar eax, 1
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x1018692a
mov ebp, dword [esp + 0x34]
mov esi, eax
push esi
push ebp
mov edi, esi
call fcn.1014bb40
inc esi
add esp, 8
add esi, eax
sar esi, 1
cmp esi, edi
jne 0x10186901
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
jmp 0x1018692a
xor eax, eax
push eax
push esi
call fcn.10187c40
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187b90
mov edi, eax
push edi
push esi
call fcn.10187c40
push edi
push esi
call fcn.10187c40
mov edi, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187b90
push esi
mov edx, eax
call fcn.10187b90
push edx
push esi
mov edi, eax
call fcn.10187c40
push edi
push esi
call fcn.10187c40
mov edi, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187bf0
mov ecx, dword [esi + 0xc]
add esp, 4
sub ecx, dword [esi + 8]
sar ecx, 3
test ecx, ecx
je 0x10187470
test eax, eax
js 0x101869bd
cmp eax, ecx
jb 0x101869bb
xor ecx, ecx
jmp 0x101869be
sub ecx, eax
dec ecx
push ecx
push esi
call fcn.10187ae0
push eax
push esi
call fcn.10187c40
mov edi, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push esi
call fcn.10187bf0
push esi
mov edx, eax
call fcn.10187bf0
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 0x10187470
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
sar ecx, 3
cmp edi, ecx
jbe 0x10186a40
mov eax, dword [esi + 4]
test eax, eax
je 0x10187470
cmp dword [eax], 0
jne 0x10187470
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [eax], 0x82
jmp 0x101854c6
test edx, edx
jns 0x10186a55
neg edx
mov eax, edx
cdq
idiv edi
mov ecx, edx
neg ecx
mov dword [esp + 0x5c], ecx
jmp 0x10186a60
mov eax, edx
cdq
idiv edi
mov ecx, edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x10187470
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test eax, eax
jle 0x10187470
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 0x10186ac6
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 0x10186aca
mov dword [esp + 0x1c], ecx
add edi, dword [esp + 0x5c]
add edx, dword [esp + 0x4c]
cmp edi, eax
jl 0x10186adc
sub edi, eax
sub edx, ebp
jmp 0x10186ae4
test edi, edi
jns 0x10186ae4
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 0x10186aa0
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x101854c6
test al, al
je case.0x10185cd2.0
cmp byte [esp + 0x1b], 0
je case.0x10185cd2.0
push esi
call fcn.10187b90
mov ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.10187b90
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 0x101854c6
test cl, cl
je case.0x101855c5.0
push esi
call fcn.10187b90
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.10187b90
mov ecx, dword [edx + 0x20]
add esp, 8
mov byte [esp + 0x1a], 1
add dword [ecx], eax
cmp byte [edx + 0x2f], 0
jne 0x10187594
cmp byte [esp + 0x1b], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x101856f6
add ebp, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
mov dword [esi + 0xc], eax
jmp 0x101854c6
test cl, cl
je 0x101877d3
test ch, ch
jne 0x101877d3
push ebx
lea eax, [esp + 0x134]
push ebp
push eax
call fcn.10184000
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 0x10186ca1
dec edi
lea eax, [esp + 0xd8]
push edi
push eax
call fcn.10181db0
add esp, 8
mov edx, eax
mov dword [esp + 0x10], edx
test edi, edi
jg 0x10186c70
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 0x101854c6
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 0x101854c6
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10186cd2
cmp byte [esp + 0xfc], 0
jne case.0x101855c5.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.10182db0
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp byte [eax + 0x224], 0
jne 0x10187594
mov eax, dword [esp + 0x30]
cmp al, 0x13
jne 0x10186d42
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xcc]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
call fcn.10184f10
mov eax, dword [esi + 8]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101854c6
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.10184b80
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.10184f10
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.10184780
mov eax, dword [esi + 8]
add esp, 0x38
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], eax
jmp 0x101854c6
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 2
jbe 0x10186e1c
cmp byte [esp + 0x1a], 0
jne 0x10186e1c
push 0
push esi
call fcn.10187ae0
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 0x10187594
push esi
call fcn.10187b90
add ebx, eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3f24], ebx
call fcn.10187b90
add esp, 8
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1018579d
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10186e8e
cmp byte [esp + 0x1a], 0
jne 0x10186e8e
push 0
push esi
call fcn.10187ae0
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 0x10187594
push esi
call fcn.10187b90
add esp, 4
add ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3f18], ebp
jmp 0x1018579d
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 0x10186f33
lea edi, [eax + 6]
nop word [eax + eax]
push eax
push esi
call fcn.10187ae0
add ebp, eax
lea eax, [edi - 5]
push eax
push esi
mov dword [esp + 0x3f28], ebp
call fcn.10187ae0
add ebx, eax
lea eax, [esp + 0x140]
push ebx
push ebp
push eax
mov dword [esp + 0x3f38], ebx
call fcn.10183e80
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 0x10186ee0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
cmp eax, ecx
jae 0x10186ff3
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 2]
push eax
push esi
call fcn.10187ae0
mov ecx, dword [esp + 0x24]
dec ecx
push ecx
lea edi, [eax + ebp]
push esi
mov dword [esp + 0x5c], edi
call fcn.10187ae0
push dword [esp + 0x2c]
push esi
lea ebp, [ebx + eax]
call fcn.10187ae0
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push esi
lea ebx, [edi + eax]
call fcn.10187ae0
mov ecx, dword [esp + 0x3c]
add ecx, 2
push ecx
push esi
lea edi, [eax + ebp]
call fcn.10187ae0
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add eax, 3
push eax
push esi
call fcn.10187ae0
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.10183b10
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 0x10186f42
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x101854c6
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 0x10187323
sub eax, edi
test al, 1
je 0x10187045
push edi
push esi
call fcn.10187ae0
add eax, ebp
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x10187049
mov dword [esp + 0x3c], ebp
push edi
push esi
call fcn.10187ae0
lea ecx, [edi + 1]
mov ebx, eax
add ebx, dword [esp + 0x30]
push ecx
push esi
call fcn.10187ae0
mov ebp, eax
lea eax, [edi + 2]
add ebp, dword [esp + 0x4c]
push eax
push esi
call fcn.10187ae0
mov ecx, dword [esp + 0x48]
add ecx, 3
push ecx
push esi
lea edi, [ebx + eax]
call fcn.10187ae0
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.10183b10
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 0x10187028
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x101854c2
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 0x10187323
nop
sub eax, edi
test al, 1
je 0x1018711d
push edi
push esi
call fcn.10187ae0
add eax, ebx
add esp, 8
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
jmp 0x10187121
mov dword [esp + 0x3c], ebx
push edi
push esi
call fcn.10187ae0
lea ecx, [edi + 1]
push ecx
push esi
lea ebx, [eax + ebp]
call fcn.10187ae0
mov ebp, dword [esp + 0x40]
lea edi, [ebx + eax]
lea ecx, [ebp + 2]
push ecx
push esi
call fcn.10187ae0
add eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
lea eax, [ebp + 3]
push eax
push esi
call fcn.10187ae0
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.10183b10
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 0x10187100
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
jmp 0x101854c2
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 0x10187323
nop dword [eax]
push edi
push esi
call fcn.10187ae0
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
push eax
push esi
mov dword [esp + 0x3c], eax
call fcn.10187ae0
lea ecx, [edi + 2]
mov dword [esp + 0x60], eax
push ecx
push esi
call fcn.10187ae0
lea ecx, [edi + 3]
mov dword [esp + 0x74], eax
push ecx
push esi
call fcn.10187ae0
mov edx, dword [esp + 0x54]
add esp, 0x20
sub edx, edi
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x23], 0
je 0x10187289
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 0x10187278
lea eax, [edi + 4]
push eax
push esi
call fcn.10187ae0
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 0x101872dd
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x23], 0
jmp 0x101872dd
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 0x101872ce
lea eax, [edi + 4]
push eax
push esi
call fcn.10187ae0
mov ecx, dword [esp + 0x38]
add esp, 8
mov edi, dword [esp + 0x2c]
lea ebx, [ecx + eax]
jmp 0x101872d4
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.10183b10
add edi, 4
mov dword [esp + 0x3f34], ebp
add esp, 0x1c
mov dword [esp + 0x3f1c], ebx
cmp edi, dword [esp + 0x34]
jb 0x101871e0
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 0x101854c6
push edx
call fcn.10182570
push dword [esp + 0x14]
mov edi, eax
call fcn.10182570
shl edi, 8
movsx ecx, ax
movsx eax, di
or ecx, eax
push ecx
push esi
call fcn.10187c80
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x101854c6
cmp al, 0xf6
ja 0x10187383
lea eax, [edi - 0x8b]
push eax
push esi
call fcn.10187c80
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push edx
call fcn.10182570
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
cmp al, 0xfa
ja 0x101873bc
lea eax, [ecx - 0xf694]
shl edi, 8
add eax, edi
push eax
push esi
call fcn.10187c80
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
cmp al, 0xfe
ja 0x101873e3
shl edi, 8
mov eax, 0xfa94
sub eax, edi
sub eax, ecx
push eax
push esi
call fcn.10187c80
mov edi, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x10]
jmp 0x101854c6
mov edi, dword [esp + 0x10]
push edi
call fcn.10182570
push edi
mov ebx, eax
call fcn.10182570
push dword [esp + 0x18]
mov edi, eax
call fcn.10182570
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 0x10187462
cmp ecx, 0x7d00
jg 0x10187432
cmp ecx, 0xffff8300
jge 0x10187447
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.10187c80
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x101854c6
push ecx
push esi
call fcn.10187c40
mov ebx, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x101854c6
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2f], 0
je 0x10187491
mov eax, 0x12
jmp 0x10187598
cmp dword [ecx + 0x244], 0
jne 0x101874b0
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x101874b0
mov eax, 0x12
jmp 0x10187598
mov eax, dword [ecx + 0x20]
add ebx, dword [eax]
mov eax, dword [edx + 0x80]
cmp dword [eax + 0x34], 0
jne 0x101874e1
push ebp
push ecx
call fcn.10188290
push edi
push dword [esp + 0x30]
mov ebp, eax
call fcn.10188290
mov ecx, dword [esp + 0x34]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x34], edi
test ebp, ebp
js 0x10185ea7
test edi, edi
js 0x10185ea7
cmp byte [ecx + 0x2e], 0
je 0x101876b3
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.1014c410
add esp, 8
test eax, eax
jne 0x10187598
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.1014ed60
push dword [esp + 0x3c]
sar eax, 0x10
mov dword [edi + 0x28], eax
call fcn.1014ed60
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 0x101875a7
cmp dword [edx], 0
jne 0x101875a7
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.10151110
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.10151110
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.10151110
push dword [esp + 0xac]
mov dword [esp + 0xf0], 0
push dword [esp + 0xf4]
call fcn.10151110
add esp, 0x20
test esi, esi
je 0x1018769a
push dword [esi + 8]
mov edi, dword [esi]
push edi
call fcn.10151110
push esi
push edi
mov dword [esi + 8], 0
call fcn.10151110
add esp, 0x10
mov ecx, dword [esp + 0x3efc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a3d69
add esp, 0x3ef0
ret
push dword [ecx + 0xc]
call fcn.1014c510
lea eax, [esp + 0x3e58]
push eax
push ebp
mov ebp, dword [esp + 0x30]
push ebp
call fcn.10183460
add esp, 0x10
test eax, eax
jne 0x10187598
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.10184f90
lea eax, [esp + 0x3e74]
push eax
push ebp
call fcn.10183320
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.10183460
add esp, 0x34
test eax, eax
jne 0x10187598
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.10184f90
lea eax, [esp + 0x3e74]
push eax
push edi
call fcn.10183320
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 0x10187594
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
je 0x101877e6
cmp eax, 5
jne 0x10187802
cmp byte [esp + 0x1a], 0
jne 0x10187802
push 0
push esi
call fcn.10187ae0
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 0x10187594
lea eax, [esp + 0x130]
push eax
call fcn.101834e0
mov eax, dword [esp + 0x44]
add esp, 4
cmp byte [eax + 9], 0
jne 0x10187594
cmp byte [eax + 8], 0
jne 0x10187594
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 3
cmp eax, 1
jbe 0x10187594
cmp byte [esp + 0x3f14], 0
je 0x10187861
mov eax, 0x12
jmp 0x10187598
push esi
call fcn.10187bf0
push esi
mov edx, eax
call fcn.10187bf0
push esi
mov edi, eax
call fcn.10187b90
push esi
mov ebx, eax
call fcn.10187b90
mov ebp, eax
lea eax, [esp + 0x3e64]
push eax
push edx
push dword [esp + 0x3c]
call fcn.101833a0
add esp, 0x1c
test eax, eax
jne 0x10187598
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.10184f90
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.101832f0
lea eax, [esp + 0x3e7c]
push eax
push edi
push ebx
call fcn.101833a0
add esp, 0x34
test eax, eax
jne 0x10187598
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.10184f90
lea eax, [esp + 0x3e74]
push eax
push ebx
call fcn.101832f0
add esp, 0x28
jmp 0x10187594
xor eax, eax
jmp 0x10187598