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

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x29c], eax
mov eax, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2b4]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x2b8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2bc]
push ebx
mov dword [esp + 0x30], ecx
mov cl, byte [esp + 0x2c4]
push ebp
lea ebp, [eax + 0xe0]
mov byte [esp + 0x23], cl
mov eax, dword [ebp + 0x1a78]
mov dword [esp + 0x94], eax
mov byte [esp + 0x30], cl
push esi
mov esi, dword [ebp + 0x1008]
push edi
mov edi, dword [esp + 0x2b4]
mov ebx, dword [esp + 0x2d4]
mov eax, dword [esi + 0x8c]
shr eax, 3
and eax, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x98], eax
lea ecx, [edi + 0x3abf0]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x84], ebp
mov eax, dword [ecx + 0x108c0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], closesocket
mov byte [esp + 0x4c], 0
lea edx, [eax + eax*4]
mov al, byte [ecx + 0xcb54]
mov byte [esp + 0x37], al
mov eax, 4
shl edx, 4
add edx, dword [ecx + 0x108ac]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [edx + 0xc]
movzx ecx, byte [ecx + 0x107fab40]
shl eax, cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, 4
movzx ecx, byte [ecx + 0x107fab58]
shl eax, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
movzx eax, byte [edi + 0x6d660]
sub dword [esp + 0x20], eax
mov eax, dword [esi + 0x20]
imul ecx, eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
add ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov dword [esp + 0xc0], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x18]
mov dword [esp + 0x138], ecx
add eax, dword [esp + 0x14]
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x5cd18]
mov dword [esp + 0xbc], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x13c], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x12c], eax
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp + 0x54c], eax
mov eax, dword [esi + 0x60]
mov dword [ebp + 0x550], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp + 0xa84], eax
mov eax, dword [esi + 0x60]
mov dword [ebp + 0xa88], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0xc8], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc4], eax
mov eax, ecx
shr eax, 1
test byte [esi + 0x8c], 8
push 0xc8
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x90], ecx
mov ecx, 1
push eax
push ebx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x104], eax
mov dword [esp + 0xc0], eax
call fcn.10513d40
mov ecx, dword [esp + 0x48]
mov word [ebx + 0xc0], 0xffff
mov ebx, dword [edi + 0x3adf4]
imul ebx, dword [esp + 0x28]
movzx eax, byte [ecx + 0x107fab70]
mov dword [esp + 0xe8], eax
movzx eax, byte [ecx + 0x107fab88]
mov dword [esp + 0xd8], eax
mov eax, dword [edi + 0x3ade8]
add ebx, dword [esp + 0x20]
movzx esi, byte [eax + 0x107fab70]
mov eax, dword [esp + 0x28]
lea edi, [ebx*4]
cdq
idiv esi
mov ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, dword [eax + 0x3ade4]
mov eax, dword [esp + 0x20]
cdq
idiv esi
mov edx, dword [esp + 0x50]
add ecx, eax
imul ecx, ecx, 0xa4
mov eax, dword [edx + 0x3adec]
add ecx, dword [edx + 0x3addc]
mov dword [edi + eax], ecx
mov eax, dword [edx + 0x3adec]
add eax, edi
mov edi, edx
mov dword [ebp + 0xfd0], eax
mov eax, dword [edi + 0x3adf8]
add eax, ebx
mov dword [ebp + 0xfe8], eax
mov eax, dword [edi + 0x3adf4]
mov dword [ebp + 0xfec], eax
mov eax, dword [edi + 0x3ade8]
movzx esi, byte [eax + 0x107fab70]
mov eax, dword [esp + 0x28]
cdq
idiv esi
mov ebx, dword [esp + 0xe8]
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
idiv esi
imul ecx, dword [edi + 0x3abd8]
mov esi, dword [esp + 0x54]
add ecx, eax
imul eax, ecx, 0x54
add eax, dword [edi + 0x3abd0]
mov edi, dword [esp + 0xd8]
mov dword [esi + 0x3174], eax
lea eax, [ebp + 0xfb8]
mov esi, dword [esp + 0x80]
push dword [esi + 0x1e8]
push dword [esi + 0x1e4]
push ebx
push dword [esp + 0x2c]
push edi
push dword [esp + 0x3c]
push eax
push ebp
call fcn.10075640
mov eax, dword [esi + 0x3bb8]
xor ecx, ecx
add esp, 0x2c
lea esi, [ebp + 0x84]
cmp byte [eax + 0x4d], cl
lea eax, [edi*4]
mov dword [esp + 0x90], eax
sete cl
shl ebx, 2
mov ebp, ebx
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x24], ecx
mov edi, ecx
nop
mov ecx, dword [esi - 0x70]
lea esi, [esi + 0x538]
mov ebx, eax
mov edx, ebp
sar edx, cl
mov ecx, dword [esi - 0x5a4]
sar ebx, cl
mov ecx, 4
cmp dl, cl
movzx eax, dl
cmova ecx, eax
movzx eax, bl
mov byte [esi - 0x538], cl
mov ecx, 4
cmp bl, cl
cmova ecx, eax
mov eax, dword [esp + 0x90]
mov byte [esi - 0x537], cl
sub edi, 1
jne 0x1015ef70
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
mov dword [eax], ecx
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
mov byte [eax + 0x14], 0
cmp byte [ebp + 0xfd5], 0
je 0x1015f08c
movzx eax, byte [esp + 0x2b]
mov eax, dword [eax*4 + 0x107fae70]
add eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 0xfbc]
jge 0x1015f08c
mov eax, dword [ebp + 0x1008]
test byte [eax + 0x8c], 8
je 0x1015f13d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax]
mov dword [esp + 0x94], ecx
test ebx, ebx
jle 0x1015f094
mov ebp, dword [esp + 0x94]
lea eax, [ebx - 1]
imul eax, edx
mov edi, ebx
mov dword [esp + 0x24], eax
lea eax, [edx + edx]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov eax, edx
mov edx, dword [esp + 0x90]
imul eax, ebx
lea ecx, [ecx + eax*2]
add ecx, 0xfffffffe
mov ax, word [ebp + esi*2 - 2]
mov word [ecx], ax
add ecx, edx
sub edi, 1
jne 0x1015f072
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x5ccfc], 0
mov esi, 3
mov ecx, 0xd
mov byte [esp + 0x58], 0
cmovne ecx, esi
mov esi, dword [edi + 0x3e7a8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x80], esi
nop
push 0
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebx
push dword [esp + 0x9c]
push edx
push eax
movzx eax, byte [ecx + 0x107fabb8]
push 5
push 0
push 0
push dword [esp + 0x80]
push dword [esp + 0x64]
push eax
movzx eax, byte [ecx + 0x107faba0]
push eax
movzx eax, byte [esi + 0x3d]
push eax
push dword [esi + 0x1c]
push ebp
call fcn.100f8590
mov eax, dword [esp + 0xbc]
add esp, 0x44
cmp dword [eax + 0x4c], 0
push ebx
push dword [esp + 0x90]
push dword [esp + 0x68]
push dword [esp + 0x4c]
je 0x1015f184
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
shl ecx, 6
mov eax, dword [ecx + eax + 0xc5cc]
call eax
add esp, 0x10
jmp 0x1015f1e4
test ebx, ebx
jle 0x1015f08c
mov edx, dword [esp + 0x18]
lea eax, [ebx - 1]
mov ebp, dword [esp + 0x10]
mov edi, ebx
imul eax, edx
lea ecx, [ebp - 1]
mov dword [esp + 0x24], eax
mov eax, edx
mov esi, dword [esp + 0x24]
imul eax, ebx
add ecx, eax
mov al, byte [esi + ebp - 1]
mov byte [ecx], al
add ecx, edx
sub edi, 1
jne 0x1015f167
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x44]
jmp 0x1015f090
push ebx
push dword [esp + 0x70]
push ebx
push dword [esp + 0x8c]
push dword [esp + 0xb8]
push dword [esp + 0xc0]
call fcn.101072e0
push dword [esp + 0x7c]
push ebx
push dword [esp + 0x8c]
push dword [esp + 0xcc]
push dword [esp + 0xd4]
push dword [esp + 0x74]
push 0
call fcn.1015b4b0
mov eax, dword [esp + 0xb4]
add esp, 0x44
imul eax, ebx
push eax
push dword [esp + 0x58]
call dword [0x10b4904c]
add esp, 8
cmp eax, dword [esp + 0x64]
jge 0x1015f1f8
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x58]
mov byte [esp + 0x4c], al
jmp 0x1015f1fc
mov al, byte [esp + 0x58]
mov edx, dword [esp + 0x18]
inc al
cmp al, byte [esp + 0x50]
mov byte [esp + 0x58], al
mov eax, dword [esp + 0x10]
jb 0x1015f0c0
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x48]
cmp dword [eax + 0x4c], 0
je 0x1015f2bb
push 0
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebx
push dword [esp + 0x9c]
movzx eax, byte [ecx + 0x107fabb8]
push edx
push dword [esp + 0x28]
push 5
push 0
push 0
push dword [esp + 0x74]
push dword [esp + 0x64]
push eax
movzx eax, byte [ecx + 0x107faba0]
mov ecx, dword [esp + 0xb4]
push eax
movzx eax, byte [ecx + 0x3d]
push eax
push dword [ecx + 0x1c]
push ebp
call fcn.100f8590
push dword [esp + 0x7c]
push dword [esp + 0xb8]
push ebx
push dword [esp + 0xa4]
push ebx
push dword [esp + 0xe4]
push dword [esp + 0xbc]
push dword [esp + 0xa0]
push ebx
push dword [esp + 0xc4]
push dword [esp + 0x104]
push dword [esp + 0x10c]
call fcn.10160b40
add esp, 0x74
mov dword [esp + 0x64], eax
cmp dword [edi + 0x91810], 0
mov dword [esp + 0x2c], 1
je 0x1015f39d
push 0
push 1
push dword [esp + 0xc4]
lea eax, [esp + 0x138]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x60]
push dword [esp + 0x50]
push eax
lea eax, [esp + 0x158]
push eax
push 0
push esi
lea eax, [edi + 0x3abf0]
push eax
push dword [esp + 0xf4]
lea eax, [esp + 0xe4]
push dword [esp + 0xfc]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1015d330
mov esi, dword [esp + 0x104]
add esp, 0x4c
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
shld eax, ecx, 4
shl ecx, 4
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
shld eax, ecx, 4
shl ecx, 4
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x98], eax
jmp 0x1015f3a4
mov esi, dword [esp + 0xb8]
mov ecx, dword [edi + 0x917f8]
test ecx, ecx
je 0x1015f4fc
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx + 0x4690]
jge 0x1015f4fc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x108c0]
cmp eax, dword [edx + 0x1978]
jge 0x1015f4fc
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x118]
push eax
push dword [edi + 0x3ac20]
push dword [edi + 0x3ac24]
push dword [esp + 0x30]
push ecx
call fcn.100a5020
movsd xmm0, qword [esp + 0x134]
add esp, 8
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x124]
movsd qword [esp], xmm0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [edi + 0x917f8]
call fcn.1013b460
add esp, 0x20
mov al, byte [eax + 0x1a]
mov byte [esp + 0x7c], al
cmp al, byte [esp + 0x50]
jb 0x1015f4fc
cmp al, 0xd
jae 0x1015f4fc
mov edi, dword [esp + 0x8c]
push 0
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebx
movzx eax, byte [ecx + 0x107fabb8]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 5
push 0
push 0
push dword [esp + 0xa4]
push dword [esp + 0x64]
push eax
movzx eax, byte [ecx + 0x107faba0]
mov ecx, dword [esp + 0xb4]
push eax
movzx eax, byte [ecx + 0x3d]
push eax
push dword [ecx + 0x1c]
push ebp
call fcn.100f8590
push dword [esp + 0x7c]
push dword [esp + 0xb8]
push ebx
push dword [esp + 0xa4]
push ebx
push edi
push dword [esp + 0xbc]
mov edi, dword [esp + 0xa0]
push edi
push ebx
push dword [esp + 0xc4]
push dword [esp + 0x104]
push dword [esp + 0x10c]
call fcn.10160b40
add esp, 0x74
cmp eax, dword [esp + 0x64]
jge 0x1015f500
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x7c]
mov byte [esp + 0x4c], al
jmp 0x1015f500
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0xfd0]
lea ecx, [esi + 0xa4]
mov edx, dword [esp + 0x30]
movzx ebx, byte [esp + 0x37]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
mov byte [eax + 0x14], 0
mov eax, dword [ebp + 0xfd0]
mov dword [esp + 0x18], closesocket
mov dword [esp + 0xd8], ebx
mov eax, dword [eax]
mov byte [eax + 0x15], 0xff
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
or byte [eax + 0xa0], 2
xor eax, eax
add edx, 0x108c4
mov dword [esp + 0xd0], 0x80008000
mov dword [esp + 0xd4], 0x80008000
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], edx
jmp 0x1015f597
mov ebx, dword [esp + 0xd8]
cmp dword [edx + 0x1c], 0
mov dword [esp + eax*4 + 0x218], 0x80008000
je 0x1015fb0c
mov edx, dword [edx]
test edx, edx
je 0x1015fb08
mov eax, dword [edx + 0x20]
mov edi, 1
mov esi, dword [esp + 0x1c]
mov ecx, esi
imul ecx, eax
mov dword [esp + 0x90], eax
mov eax, dword [edx + 0x28]
add ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
or ecx, 0xffffffff
mov dword [esp + 0x94], eax
mov eax, dword [edx]
mov dword [esp + 0xa0], eax
mov al, byte [ebp + 0xfd4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], htons
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], htons
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], htons
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], htons
mov byte [esp + 0x37], al
test al, al
je 0x1015faff
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov ebx, dword [esp + 0x78]
mov edx, esi
sub edx, dword [esp + 0xcc]
sar edx, cl
mov ecx, dword [esp + 0xd8]
imul edx, dword [ebx + 0x30]
mov esi, dword [ebx + 4]
mov ebx, dword [esp + 0x44]
sar eax, cl
add edx, eax
push dword [ebx + 0x5cd04]
imul eax, edx, 0x32
push edi
add eax, dword [esp + 0x18]
mov esi, dword [esi + eax*4 + 0xa4]
lea eax, [esp + 0x1f8]
push eax
push esi
call fcn.1015eb40
add esp, 0x10
test eax, eax
jne 0x1015f6c0
mov dword [esp + 0x1f8], esi
lea edi, [eax + 2]
mov esi, dword [esp + 0x1c]
cmp byte [ebp + 0xfd5], 0
je 0x1015f724
mov ecx, dword [esp + 0xd8]
mov edx, esi
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xdc]
push dword [ebx + 0x5cd04]
sar edx, cl
imul edx, dword [esi + 0x30]
mov esi, dword [esi + 4]
sar eax, cl
push edi
add edx, eax
imul eax, edx, 0x32
add eax, dword [esp + 0x18]
mov esi, dword [esi + eax*4 + 0xa4]
lea eax, [esp + 0x1f8]
push eax
push esi
call fcn.1015eb40
add esp, 0x10
test eax, eax
jne 0x1015f724
mov dword [esp + edi*8 + 0x1f0], esi
inc edi
cmp byte [esp + 0x37], 0
mov esi, dword [esp + 0x14]
je 0x1015f799
mov edx, dword [esp + 0xdc]
add edx, esi
cmp edx, dword [ebp + 0xfc4]
jge 0x1015f799
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0xcc]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0xd8]
push dword [ebx + 0x5cd04]
sar eax, cl
imul eax, dword [esi + 0x30]
mov esi, dword [esi + 4]
sar edx, cl
push edi
add eax, edx
imul eax, eax, 0x32
add eax, dword [esp + 0x18]
mov esi, dword [esi + eax*4 + 0xa4]
lea eax, [esp + 0x1f8]
push eax
push esi
call fcn.1015eb40
add esp, 0x10
test eax, eax
jne 0x1015f795
mov dword [esp + edi*8 + 0x1f0], esi
inc edi
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x917f8]
test ecx, ecx
je 0x1015f895
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx + 0x4690]
jge 0x1015f895
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x108c0]
cmp eax, dword [edx + 0x1978]
jge 0x1015f895
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x120]
push eax
push dword [ebx + 0x3ac20]
push dword [ebx + 0x3ac24]
push dword [esp + 0x30]
push ecx
call fcn.100a5020
movsd xmm0, qword [esp + 0x12c]
add esp, 8
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x12c]
movsd qword [esp], xmm0
push esi
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [ebx + 0x917f8]
call fcn.1013b460
mov cl, byte [esp + 0x30]
add esp, 0x20
movsd xmm0, qword [esp + 0x114]
inc cl
movzx ecx, cl
push ecx
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x130]
movsd qword [esp], xmm0
push eax
call fcn.1013b450
mov esi, eax
add esp, 0x18
cmp esi, 0x80008000
je 0x1015f895
push dword [ebx + 0x5cd04]
lea eax, [edi - 1]
push eax
lea eax, [esp + 0x200]
push eax
push esi
call fcn.1015eb40
mov ecx, dword [esp + 0x200]
add esp, 0x10
test eax, eax
cmove ecx, esi
mov dword [esp + 0x1f0], ecx
cmp dword [ebx + 0x5cd0c], 0
je 0x1015f9e9
cmp edi, 1
jbe 0x1015f9e9
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov ebp, dword [esp + 0x44]
shl eax, 6
mov dword [esp + 0xe4], eax
nop
movzx edx, word [esp + ebx*8 + 0x1f2]
movzx esi, word [esp + ebx*8 + 0x1f0]
mov eax, edx
not eax
movzx ecx, ax
shr ecx, 0xf
add ecx, 3
movsx eax, dx
add eax, ecx
sar eax, 3
movzx edx, ax
mov eax, esi
not eax
movzx ecx, ax
shr ecx, 0xf
movsx eax, si
add ecx, 3
add eax, ecx
sar eax, 3
movzx esi, ax
mov eax, edx
shl eax, 0x10
or esi, eax
movsx edx, dx
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1e460]
cmp edx, ecx
jl 0x1015f929
mov eax, dword [eax + 0x1e464]
mov ecx, edx
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x48]
movzx ecx, cx
mov dword [esp + 0x124], ecx
mov ecx, dword [eax + 0x1e468]
movsx edx, si
cmp edx, ecx
jl 0x1015f94d
mov eax, dword [eax + 0x1e46c]
mov ecx, edx
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
movsx ecx, cx
imul ecx, eax
mov eax, dword [esp + 0x128]
cwde
add ecx, dword [esp + 0x98]
add eax, ecx
push eax
mov eax, dword [esp + 0xec]
push dword [esp + 0x68]
push dword [esp + 0x4c]
mov eax, dword [eax + edx + 0xc5cc]
call eax
mov dword [esp + ebx*8 + 0x204], eax
add esp, 0x10
inc ebx
cmp ebx, edi
jl 0x1015f8c0
push 0x1015cfe0
push 8
lea eax, [esp + 0x1f8]
push edi
push eax
call fcn.105265a0
mov ebx, ebp
mov eax, 4
mov ebp, dword [esp + 0x94]
add esp, 0x10
sub eax, dword [ebx + 0x5cd0c]
cmp eax, edi
cmovl edi, eax
cmp edi, 1
jle 0x1015f9e9
mov ecx, dword [esp + edi*8 + 0x1e4]
mov eax, dword [esp + edi*8 + 0x1ec]
sub eax, ecx
lea eax, [eax + eax*4]
cmp eax, ecx
jle 0x1015f9ed
dec edi
test edi, edi
jle 0x1015fa60
mov ebp, dword [esp + 0x48]
lea esi, [esp + 0x1f0]
nop dword [eax + eax]
lea eax, [esp + 0xa8]
push eax
push dword [esi]
push dword [esp + 0x44]
push dword [esp + 0xac]
push dword [esp + 0xd0]
push dword [esp + 0xa4]
push dword [esp + 0x78]
push dword [esp + 0xb0]
push dword [esp + 0x60]
push ebp
push ebx
call fcn.101608d0
add esp, 0x2c
cmp eax, dword [esp + 0x24]
jae 0x1015fa51
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x7c], eax
add esi, 8
sub edi, 1
jne 0x1015fa00
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x40]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x218], eax
mov eax, dword [esp + 0x78]
push dword [eax + 0x4c]
lea eax, [esp + 0x80]
push eax
push ecx
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0xfc]
push esi
push edi
push ebp
push ebx
call fcn.1015d000
mov ebp, dword [esp + 0xb0]
mov ecx, eax
add esp, 0x30
mov edx, 1
cmp ecx, 1
cmovl eax, edx
cdq
mov dword [ebp], eax
mov eax, ebp
mov ebp, dword [esp + 0x84]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x18]
jge 0x1015faf9
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
jmp 0x1015fb1a
mov ebx, dword [esp + 0x44]
jmp 0x1015f6c4
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
mov dword [ecx], 0x80008000
add dword [esp + 0x80], 8
inc eax
add edx, 4
mov dword [esp + 0x10], eax
add ecx, 4
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
cmp eax, 7
jl 0x1015f590
mov eax, dword [esp + 0x18]
cmp eax, 0x7fffffff
jge 0x1015fb8f
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x4c], 0
je 0x1015fb8b
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0xd0]
push 0
push eax
push ecx
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0xfc]
push esi
push edi
push ebp
push ebx
call fcn.1015d000
add esp, 0x30
mov dword [esp + 0x18], eax
jmp 0x1015fb8f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffffffff
je 0x1015fbc2
cmp eax, dword [esp + 0x64]
jge 0x1015fbc2
mov eax, dword [ebp + 0xfd0]
inc cl
mov byte [esp + 0x4c], 0x10
mov eax, dword [eax]
mov byte [eax + 0x14], cl
mov eax, dword [ebp + 0xfd0]
mov ecx, dword [eax]
mov eax, dword [esp + 0xd0]
mov dword [ecx + 0xc], eax
mov esi, dword [ebx + 0x5cd14]
xor edi, edi
movaps xmm0, xmmword [0x10805c10]
neg esi
mov ecx, dword [ebx + 0x917f8]
sbb esi, esi
mov dword [esp + 0x10c], 3
and esi, 3
mov dword [esp + 0x110], 6
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], esi
movups xmmword [esp + 0xfc], xmm0
test ecx, ecx
je 0x1015fd30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp eax, dword [ecx + 0x4690]
jge 0x1015fd30
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], esi
mov eax, dword [edx + 0x108c0]
cmp eax, dword [edx + 0x1978]
jge 0x1015fd30
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x118]
push eax
push dword [ebx + 0x3ac20]
push dword [ebx + 0x3ac24]
push dword [esp + 0x30]
push ecx
call fcn.100a5020
movsd xmm0, qword [esp + 0x134]
add esp, 8
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x124]
movsd qword [esp], xmm0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [ebx + 0x917f8]
call fcn.1013b460
add esp, 0x20
mov dword [esp + 0x10], esi
mov cl, byte [eax + 0x18]
cmp cl, 1
jl 0x1015fd30
mov al, byte [eax + 0x19]
mov byte [esp + 0x2b], al
mov dword [esp + 0x10], esi
cmp al, 1
jl 0x1015fd30
movsx ecx, cl
xor edx, edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0xfc]
mov eax, dword [eax + edx*8]
inc eax
cmp eax, ecx
jne 0x1015fce6
mov ecx, dword [esp + edx*8 + 0x100]
movsx eax, byte [esp + 0x2b]
inc ecx
cmp ecx, eax
je 0x1015fcee
mov ecx, dword [esp + 0x24]
inc edx
cmp edx, 3
jge 0x1015fcfa
jmp 0x1015fcc2
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x5cd14], edi
jne 0x1015fd30
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x10c], eax
movsx eax, byte [esp + 0x2b]
dec eax
mov dword [esp + 0x110], eax
cmp dword [ebx + 0x5cd14], edi
jne 0x1015fd30
mov edi, 2
mov dword [esp + 0x10], 3
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x1c]
or edx, 0xffffffff
mov esi, dword [esp + 0x14]
mov dword [ebp], ebx
mov dword [ebp + 4], esi
mov dword [esp + 0x20], edx
cmp edi, dword [esp + 0x10]
jae 0x1016027c
mov ecx, dword [esp + 0x30]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + edi*8 + 0xfc]
mov edx, dword [esp + edi*8 + 0x100]
cmp dword [ecx + eax*4 + 0x108e0], 0
je 0x1016020f
mov esi, dword [ecx + eax*4 + 0x108c4]
test esi, esi
je 0x1016020f
cmp dword [ecx + edx*4 + 0x108e0], 0
je 0x1016020f
mov ecx, dword [ecx + edx*4 + 0x108c4]
test ecx, ecx
je 0x10160219
mov dword [esp + 0x128], ecx
lea ecx, [eax + 1]
mov eax, dword [ebp + 0xfd0]
mov dword [esp + 0x124], esi
mov eax, dword [eax]
mov byte [eax + 0x14], cl
lea ecx, [edx + 1]
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
mov byte [eax + 0x15], cl
mov eax, dword [ebp + 0xfd0]
mov eax, dword [eax]
mov byte [eax + 5], 0x18
mov eax, dword [ebp + 0xfd0]
mov esi, dword [eax]
mov bl, byte [esi + 0x15]
mov dl, byte [esi + 0x14]
test bl, bl
jle 0x1015fe2c
cmp dl, 5
jge 0x1015fdfa
cmp bl, 5
jge 0x1015fe19
xor al, al
nop dword [eax]
movsx ecx, al
cmp dl, byte [ecx + 0x107fb1c8]
jne 0x1015fe13
cmp bl, byte [ecx + 0x107fb1d4]
je 0x1015fe24
inc al
cmp al, 9
jl 0x1015fe00
mov al, bl
shl al, 2
sub al, 0xd
add al, dl
jmp 0x1015fe2e
test al, al
js 0x1015fe19
add al, 0x14
jmp 0x1015fe2e
mov al, dl
movsx ecx, al
lea esi, [esp + 0x234]
mov eax, dword [esp + edi*8 + 0xfc]
shl ecx, 5
add ecx, dword [esp + 0x48]
mov edx, dword [esp + eax*4 + 0x218]
mov eax, dword [ebp + 0xfd0]
mov dword [esp + 0xa8], edx
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
shr eax, 4
and eax, 3
mov dword [ecx + eax*8 + 0x2c70], edx
mov eax, dword [esp + edi*8 + 0x100]
lea edi, [ebp + 0x568]
mov edx, dword [esp + eax*4 + 0x218]
mov eax, dword [ebp + 0xfd0]
mov dword [esp + 0xc0], edx
mov eax, dword [eax]
movzx eax, byte [eax + 0x9f]
shr eax, 4
and eax, 3
xor ebx, ebx
mov dword [ecx + eax*8 + 0x2c74], edx
lea eax, [ebp + 0x1000]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
push 3
push eax
push eax
push dword [esp + ebx*4 + 0x130]
push esi
push ebp
call fcn.10080510
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x10]
lea edi, [edi + 0x14]
inc ebx
add esp, 0x18
movups xmmword [edi - 0x54c], xmm0
mov dword [edi - 0x53c], eax
movups xmm0, xmmword [esi + 0x14]
mov eax, dword [esi + 0x24]
movups xmmword [edi - 0x14], xmm0
mov dword [edi - 4], eax
movups xmm0, xmmword [esi + 0x28]
mov eax, dword [esi + 0x38]
add esi, 0x3c
movups xmmword [edi + 0x524], xmm0
mov dword [edi + 0x534], eax
mov eax, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0x24], eax
cmp ebx, 2
jl 0x1015feb3
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe8], eax
xor eax, eax
cmp dword [ecx + 0x5ce5c], eax
push 2
sete al
push eax
lea eax, [esp + 0xa8]
push eax
push 0
push 0
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x54]
push dword [esp + 0x64]
push ecx
call fcn.10461560
add esp, 0x24
xor ebx, ebx
mov dword [esp + 0x24], ebx
nop
mov eax, dword [esp + ebx*4 + 0x124]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x208], 1
mov dword [esp + 0x20c], 0
mov edx, dword [eax + 0x28]
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebp + 0x1008]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x1fc], 3
mov dword [esp + 0x200], 7
mov eax, dword [eax + 0x8c]
mov dword [esp + 0x1a0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1a4], ecx
lea ecx, [ebp*4]
mov ebp, dword [esp + 0x14]
shr eax, 3
and eax, 1
mov dword [esp + 0x1a8], ecx
cmp dword [esp + 0x88], 4
lea ecx, [ebp*4]
mov dword [esp + 0x1d4], eax
mov ebp, dword [esp + 0x84]
mov eax, 0x107fa480
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1c4], 0
mov ecx, dword [ebp + 0x1a78]
mov edx, dword [ebp + 0x2b7c]
mov dword [esp + 0x1d0], ecx
mov ecx, 0x107fa80c
cmovle eax, ecx
mov dword [esp + 0x1c8], 0
cmp dword [esp + 0x70], 4
mov dword [esp + 0x198], eax
mov eax, 0x107fa480
cmovle eax, ecx
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x30]
add eax, 0x108b0
mov dword [esp + 0x144], 0
mov dword [esp + 0x1cc], eax
mov eax, dword [ebp + 0x1a78]
add eax, 6
mov dword [esp + 0x1e8], 0xfffb9000
mov dword [esp + 0x1ec], 0xfffb9000
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x148], 1
cmp eax, 0x10
jle 0x101600ea
add eax, 0xfffffff3
mov dword [esp + 0x1fc], eax
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x144]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
push eax
mov dword [esp + 0x1f8], edx
lea eax, [esp + 0xe8]
mov dword [esp + 0x1fc], 0x80
lea eax, [eax + ebx*4]
mov dword [esp + 0x1f4], ebx
movups xmm0, xmmword [esp + 0x1f4]
mov dword [esp + 0x208], 0
push eax
movups xmmword [esp + 0x178], xmm0
push esi
movups xmm0, xmmword [esp + 0x20c]
push edi
movups xmmword [esp + 0x190], xmm0
movq xmm0, qword [esp + 0x220]
movq qword [esp + 0x1a0], xmm0
call fcn.10115760
inc ebx
add esp, 0x10
mov dword [esp + 0x24], ebx
cmp ebx, 2
jl 0x1015ff70
mov ebx, dword [esp + 0x70]
push esi
push edi
push dword [esp + 0x68]
mov edi, dword [esp + 0x68]
push dword [esp + 0x4c]
push esi
push edi
push esi
push ebx
push dword [esp + 0xb8]
push dword [esp + 0xc0]
call fcn.101072e0
push dword [esp + 0x7c]
push esi
push edi
push dword [esp + 0xcc]
push dword [esp + 0xd4]
push dword [esp + 0x74]
push 0
call fcn.1015b4b0
add esp, 0x44
imul ebx, esi
push ebx
push dword [esp + 0x58]
call dword [0x10b4904c]
mov ebx, dword [esp + 0x20]
add esp, 8
mov edi, dword [esp + 0x50]
cmp eax, ebx
jge 0x1016021d
mov ecx, dword [esp + 0xe8]
mov ebx, eax
mov eax, dword [esp + 0xe4]
mov edx, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
jmp 0x10160221
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
jmp 0x10160225
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc edi
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x10]
jl 0x1015fd60
mov esi, dword [esp + 0x14]
cmp edx, 0xffffffff
je 0x10160278
cmp ebx, dword [esp + 0x64]
mov ebx, dword [esp + 0x1c]
jge 0x1016027c
mov eax, dword [ebp + 0xfd0]
movzx ecx, byte [esp + edx*8 + 0xfc]
inc cl
mov byte [esp + 0x4c], 0x18
mov eax, dword [eax]
mov byte [eax + 0x14], cl
mov eax, dword [ebp + 0xfd0]
movzx ecx, byte [esp + edx*8 + 0x100]
inc cl
mov eax, dword [eax]
mov byte [eax + 0x15], cl
jmp 0x1016027c
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, 0x7fffffff
jge 0x101603d7
mov al, byte [esp + 0x4c]
sub al, 0xd
cmp al, 0xb
ja 0x101603d7
mov eax, dword [ebp + 0xfd0]
mov ecx, dword [eax]
mov eax, dword [esp + 0xd0]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xfd0]
mov ecx, dword [eax]
mov eax, dword [esp + 0xd4]
mov dword [ecx + 0x10], eax
test edx, edx
js 0x101602f2
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + edx*8 + 0xfc]
mov eax, dword [ecx + eax*4 + 0x108c4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + edx*8 + 0x100]
mov eax, dword [ecx + eax*4 + 0x108c4]
mov dword [esp + 0xac], eax
jmp 0x10160313
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xac], 0
mov eax, dword [eax + ecx*4 + 0x108c4]
mov dword [esp + 0xa8], eax
push 0
push 0
push dword [esp + 0xc4]
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x138]
push esi
push ebx
push dword [esp + 0x60]
mov ebx, dword [esp + 0x60]
push dword [esp + 0x50]
mov dword [esp + 0x48], 1
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xcc]
push eax
push ebx
push edi
push dword [esp + 0xf4]
lea eax, [esp + 0xe4]
push dword [esp + 0xfc]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1015d330
mov esi, dword [esp + 0x104]
add esp, 0x4c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf8], eax
jmp 0x101603e6
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0xb8]
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x64], 1
mov edx, 1
mov eax, dword [esp + 0xec]
cmovg edx, dword [esp + 0x64]
cmp edx, ecx
mov dword [esi + 0x88], edx
mov dword [esp + 0x2c], 0
cmovl ecx, edx
mov dword [esi + 0x8c], ecx
mov ecx, dword [esp + 0xf0]
shld ecx, eax, 4
shl eax, 4
mov dword [esi + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0xf8]
shld ecx, eax, 4
shl eax, 4
cmp byte [esp + 0x4c], 0x18
mov dword [esi], eax
mov dword [esi + 4], ecx
jne 0x10160477
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + ecx*8 + 0xfc]
mov eax, dword [edx + eax*4 + 0x108e0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + ecx*8 + 0x100]
mov eax, dword [edx + eax*4 + 0x108e0]
jmp 0x10160497
mov ecx, dword [esp + 0x58]
test ecx, ecx
js 0x1016048c
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ecx*4 + 0x108e0]
jmp 0x1016048e
xor eax, eax
mov dword [esp + 0xa0], eax
xor eax, eax
push dword [esp + 0x2b8]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x130]
push 1
push dword [esp + 0xc4]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x60]
push dword [esp + 0x50]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xc4]
push eax
push ebx
push edi
push dword [esp + 0xf4]
lea eax, [esp + 0xe4]
push dword [esp + 0xfc]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1015d330
mov ecx, dword [esp + 0xb4]
add esp, 0x4c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0x2c]
shld eax, ecx, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb4]
shld eax, edx, 4
shl ecx, 4
mov dword [esp + 0xa8], eax
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x4c]
sub al, 0xd
shl edx, 4
cmp al, 0xb
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x24]
jbe 0x10160573
mov dword [esi], edx
mov edx, dword [esp + 0xa8]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x90], edi
mov dword [esi + 4], edx
lea ebp, [ebx + 0xe0]
mov edx, dword [esi + 8]
cmp dword [esi + 0xc], eax
jl 0x1016058c
jg 0x10160587
cmp edx, ecx
jbe 0x1016058c
mov eax, dword [esi + 0xc]
jmp 0x1016058e
mov edx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x90]
cmp eax, edi
mov dword [esi + 0x18], edx
cmovg edi, eax
mov al, byte [esp + 0x4c]
mov dword [esi + 0x94], edi
cmp al, 0x18
jne 0x1016081a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0
push 1
push dword [esp + 0xc4]
mov eax, dword [esp + ecx*8 + 0x108]
push dword [esp + 0x20]
mov dword [esp + 0xb8], eax
push dword [esp + 0x2c]
mov eax, dword [edx + eax*4 + 0x108e0]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + ecx*8 + 0x114]
push 0x18
push dword [esp + 0x50]
mov dword [esp + 0xdc], eax
mov eax, dword [edx + eax*4 + 0x108c4]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xc4]
push eax
push ebx
push dword [esp + 0xa0]
lea eax, [esp + 0xe0]
push dword [esp + 0xf4]
push dword [esp + 0xfc]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1015d330
mov eax, dword [esp + 0xb4]
add esp, 0x4c
mov ecx, dword [esp + 0x6c]
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 8]
shld ecx, eax, 4
shl eax, 4
cmp edi, ecx
jl 0x10160685
jg 0x10160689
cmp edx, eax
ja 0x10160689
mov edx, eax
mov edi, ecx
mov eax, dword [esi + 0x90]
lea ebp, [ebx + 0xe0]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x1c], edi
jg 0x101606b1
jl 0x101606ac
cmp eax, edx
jae 0x101606b1
mov edx, dword [esi + 0x1c]
jmp 0x101606b5
mov eax, edx
mov edx, edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x94]
cmp eax, ecx
push 0
push 1
push dword [esp + 0xc4]
cmovl ecx, eax
mov dword [esi + 0x34], edx
push dword [esp + 0x20]
mov eax, dword [esp + 0xb8]
push dword [esp + 0x2c]
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x44]
push 0x18
push dword [esp + 0x50]
mov dword [esp + 0x48], 0
mov eax, dword [ecx + eax*4 + 0x108c4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xdc]
mov eax, dword [ecx + eax*4 + 0x108e0]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xc4]
push eax
push ebx
push dword [esp + 0xa0]
lea eax, [esp + 0xe0]
push dword [esp + 0xf4]
push dword [esp + 0xfc]
push dword [esp + 0x8c]
push dword [esp + 0x98]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1015d330
mov eax, dword [esp + 0xb4]
add esp, 0x4c
mov ecx, dword [esp + 0x6c]
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 8]
shld ecx, eax, 4
shl eax, 4
cmp edi, ecx
jl 0x10160796
jg 0x1016079a
cmp edx, eax
ja 0x1016079a
mov edx, eax
mov edi, ecx
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov ebx, dword [esi + 0x1c]
cmovg ecx, eax
mov eax, dword [esi + 0x18]
cmp ebx, edi
jg 0x101607b9
jl 0x101607bd
cmp eax, edx
jb 0x101607bd
mov eax, edx
mov ebx, edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x94]
cmp eax, ecx
mov dword [esi + 0x3c], ebx
cmovl ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa0], ecx
mov cl, byte [esp + eax*8 + 0xfc]
mov al, byte [esp + eax*8 + 0x100]
mov byte [esi + 0xc0], cl
mov byte [esi + 0xc1], al
mov eax, dword [esp + 0xd0]
movsx ecx, cl
mov dword [esi + ecx*4 + 0xa4], eax
movsx ecx, byte [esi + 0xc1]
mov eax, dword [esp + 0xd4]
mov dword [esi + ecx*4 + 0xa4], eax
jmp 0x1016083d
cmp al, 0x10
jne 0x1016083d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xd0]
mov dword [esi + ecx*4 + 0xa4], eax
mov byte [esi + 0xc0], cl
mov byte [esi + 0xc1], 0xff
mov ecx, dword [esp + 0xcc]
xor edi, edi
test ecx, ecx
je 0x101608a9
mov ebx, dword [esp + 0xdc]
xor esi, esi
test ebx, ebx
je 0x101608a4
nop word [eax + eax]
mov eax, dword [ebp + 0xff4]
sar eax, 5
add eax, ebx
cmp eax, esi
jle 0x1016089f
mov eax, dword [ebp + 0xffc]
sar eax, 5
add eax, ecx
cmp eax, edi
jle 0x1016089f
mov eax, dword [esp + 0x74]
mov edx, dword [ebp + 0xfd0]
mov ecx, dword [eax + 0x204]
mov eax, dword [edx]
imul ecx, edi
add ecx, esi
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0xcc]
inc esi
cmp esi, ebx
jl 0x10160860
inc edi
cmp edi, ecx
jl 0x10160851
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x2a0
ret