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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
xor eax, eax
mov dword [esp + 0x70], edx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, ecx
mov dword [esp + 0xbc], edx
xorps xmm0, xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa4], 0
mov edx, dword [edi]
mov dword [esp + 0x58], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x34], eax
movlpd qword [esp + 0xc8], xmm0
mov dword [esp + 0x64], edx
cmp dword [edi + 0x24], eax
jne 0x1016b792
cmp byte [edx + 0x51], al
jne 0x1016b792
mov edx, dword [esp + 0x78]
call fcn.1014c9c0
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1016b78f
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.1015ced0
mov dword [esp + 0x68], eax
mov edx, esi
lea eax, [esp + 0xc0]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x7f
call fcn.10168d10
add esp, 0xc
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.101487a0
test eax, eax
jne 0x1016b78f
push dword [esp + 0xc0]
mov edx, esi
mov ecx, edi
call fcn.1014ca20
add esp, 4
test eax, eax
jne 0x1016b78f
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0xa0], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x80
mov dword [esp + 0x98], ecx
jne 0x1016993d
mov dword [esp + 0x38], 0
jmp 0x1016994c
mov ecx, esi
call fcn.101464f0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x74], edx
test ecx, ecx
je 0x10169991
mov edx, dword [esp + 0x98]
xor esi, esi
cmp dword [esp + 0x38], ecx
mov eax, edx
mov edi, dword [esp + 0x10]
cmovne eax, dword [esp + 0x18]
inc edx
inc esi
mov dword [esp + 0x18], eax
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10169962
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x101699b7
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x78]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x68]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.10105400
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1016b78f
movsx eax, word [esi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x88], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x10169a45
mov edi, dword [esp + 0x2c]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x10169a31
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x124], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x110], edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x128], 0x200
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10169abd
cmp dword [edi + 0x74], eax
jne 0x10169aaa
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x10169aaa
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.101240e0
mov dword [esp + 0xc], eax
test eax, eax
je 0x1016b782
mov ecx, dword [ebp + 8]
xor al, al
mov byte [esp + 0x27], 0
mov byte [esp + 0x1f], al
mov dword [esp + 0x40], 0
cmp dword [ecx], 0
jle 0x10169cb8
lea esi, [ecx + 4]
mov dword [esp + 0x30], esi
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.101386d0
test eax, eax
jne 0x1016b782
mov edx, dword [esp + 0x14]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x10169bde
mov eax, dword [edx + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x44], eax
nop word [eax + eax]
mov edx, dword [eax]
mov esi, dword [esi + 4]
mov dword [esp + 0xa8], edx
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10169b6f
test ecx, ecx
jne 0x10169b81
mov edx, dword [esp + 0x14]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x10169ba2
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1f], 1
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x10169bd3
movzx eax, byte [eax + 0x101dcce8]
movzx ecx, byte [ecx + 0x101dcce8]
sub ecx, eax
jne 0x10169b84
inc edx
jmp 0x10169b40
mov edx, dword [esp + 0x14]
inc edi
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
add eax, 0x14
mov dword [esp + 0x44], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jge 0x10169bde
jmp 0x10169b30
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x9c]
je 0x10169bc1
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x10169bc1
mov byte [esp + 0x27], 1
jmp 0x10169bcf
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x10169ce9
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*4], eax
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x10169c44
cmp dword [esp + 0x38], 0
jne 0x10169d06
mov esi, dword [esi + 4]
mov edx, str._ROWID_
mov ecx, esi
call fcn.10108640
test eax, eax
je 0x10169c28
mov edx, str.ROWID
mov ecx, esi
call fcn.10108640
test eax, eax
je 0x10169c28
mov edx, 0x101ef478
mov ecx, esi
call fcn.10108640
test eax, eax
jne 0x10169d06
mov esi, dword [esp + 0x30]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, str.ROWID
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x10169c58
test edi, edi
jns 0x10169c4f
mov edx, str.ROWID
jmp 0x10169c58
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push dword [edx]
mov edx, 0x17
call fcn.10145120
add esp, 0xc
cmp eax, 1
je 0x1016b782
cmp eax, 2
jne 0x10169c99
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x40]
add esi, 0x14
mov eax, dword [ebp + 8]
inc edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], esi
cmp edi, dword [eax]
jl 0x10169af0
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x27]
add dl, al
mov byte [esp + 0x6c], dl
test byte [ecx + 0x24], 0x60
je 0x10169df8
movzx eax, word [ecx + 0x2a]
xor edx, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x44], edx
cmp di, ax
jge 0x10169df4
jmp 0x10169d34
push dword [esp + 0xa8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x18]
call fcn.10108510
add esp, 0xc
jmp 0x1016b782
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push str.no_such_column:__s
push esi
call fcn.10108510
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x1016b782
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x10169dd3
mov eax, dword [ecx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x10169dd3
mov edx, dword [eax + edi + 4]
xorps xmm0, xmm0
mov eax, dword [esp + 0x2c]
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe8], 0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x10155680
mov dword [esp + 0xe8], eax
test edx, edx
je 0x10169d9d
lea ecx, [esp + 0xd0]
call fcn.101360e0
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x10169db4
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x10169dcf
mov eax, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x44], edx
mov dword [eax + esi*4], 0x1869f
jmp 0x10169dd3
mov edx, dword [esp + 0x44]
movzx eax, word [ecx + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x10169d30
mov eax, ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x10169cd4
mov dl, byte [esp + 0x6c]
cmp dword [ecx + 0x38], 0
je 0x10169e06
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x10169e20
xorps xmm0, xmm0
movlpd qword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x78]
mov dword [esi + 0x40], eax
movzx eax, dl
mov dword [esi + 0x44], ecx
mov esi, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x30]
mov dword [esp + 0xa4], eax
call fcn.10153300
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x88]
cmove eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x88], eax
xor edi, edi
mov esi, dword [esi + 8]
mov dword [esp + 0x30], edi
test esi, esi
je 0x10169ff6
nop dword [eax]
cmp byte [esp + 0x6c], 0
jne 0x1016a173
cmp ecx, 1
jg 0x1016a173
cmp esi, dword [esp + 0x38]
je 0x1016a173
mov edx, dword [esi + 0x24]
test edx, edx
je 0x10169f06
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x10155680
mov dword [esp + 0xe8], eax
call fcn.101360e0
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x10169efd
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x1016a173
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xa8], ecx
cmp ax, word [esi + 0x32]
jae 0x10169fce
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x10169f3c
mov edx, dword [esp + 0x2c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x10169fab
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x100], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xf4], 0x10155680
mov dword [esp + 0x108], eax
test edx, edx
je 0x10169f88
lea ecx, [esp + 0xf0]
call fcn.101360e0
cmp byte [esp + 0x1f], 0
mov cx, word [esp + 0x104]
jne 0x10169f9f
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x44]
setne al
test eax, eax
jne 0x1016a142
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x44], ecx
cmp edi, eax
jl 0x10169f21
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x70]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], edi
test esi, esi
jne 0x10169e80
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x88], 0
je 0x1016a028
mov eax, dword [esp + 0x74]
inc eax
push eax
push 1
push dword [esp + 0x84]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x1016a039
mov eax, dword [esp + 0xc]
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x3c], 0
jne 0x1016a04c
cmp dword [esp + 0x50], 0
mov byte [esp + 0x4b], 0
je 0x1016a051
mov byte [esp + 0x4b], 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x68]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x1016a081
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x1016a081
mov ecx, esi
call fcn.1014b5a0
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x10]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x4b]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x38], 0
jne 0x1016a11a
mov eax, dword [esp + 0x70]
mov ecx, dword [edx + 0x2c]
inc ecx
cmp byte [esp + 0x27], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + edi*4]
mov dword [esp + 0x84], eax
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x20], ecx
jne 0x1016a0d2
cmp dword [esp + 0x3c], 0
jne 0x1016a0d2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1016a0e9
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x6c], 0
jne 0x1016a0fb
cmp dword [esp + 0x3c], 0
jne 0x1016a0fb
test eax, eax
je 0x1016a107
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
cmp dword [esp + 0x94], 0
je 0x1016a194
mov ecx, dword [edx + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xa8], ecx
mov dword [edx + 0xf0], eax
jmp 0x1016a1b0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x1016a187
cmp byte [esi + 0x36], 5
jne 0x1016a187
mov dword [esp + 0x88], 1
jmp 0x1016a187
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x10169fdb
jmp 0x10169fd2
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
je 0x1016a1cb
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, esi
push 0
push 0
push dword [ebp + 0xc]
call fcn.1014cb00
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x110]
call fcn.101386d0
test eax, eax
jne 0x1016b76a
cmp dword [esi + 0x38], eax
je 0x1016a211
push dword [ebp + 0x10]
mov edx, dword [esp + 0x7c]
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push dword [esp + 0xb0]
push dword [ebp + 8]
push esi
call fcn.1016b7d0
add esp, 0x18
jmp 0x1016b76a
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [esp + 0x10]
je 0x1016a2b9
cmp dword [ecx + 0x78], 0
jne 0x1016a2b9
cmp byte [ecx + 0x12], 0
jne 0x1016a2b9
cmp dword [ebp + 0x1c], 0
mov esi, dword [esp + 0xc]
jne 0x1016a2bd
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xbc], edx
cmp dword [esi + 0x70], ecx
jg 0x1016a280
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.101242f0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1016a2bd
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
jmp 0x1016a2bd
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test byte [edx + 0x24], 0x80
jne 0x1016a3bf
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016a2f1
push dword [esp + 0x20]
mov edx, 0x48
mov ecx, esi
push dword [esp + 0x88]
push 0
call fcn.101242f0
add esp, 0xc
jmp 0x1016a327
mov edx, dword [esp + 0x84]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x1c], 0
je 0x1016a4f9
mov ecx, dword [esp + 0x10]
push 0x10
push dword [esp + 0x60]
mov esi, 1
mov dword [esp + 0x4c], 0
push dword [ebp + 0xc]
mov dword [esp + 0x60], esi
push ecx
call fcn.1013f7f0
mov eax, dword [esp + 0xbc]
add esp, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x24], 0x80
jne 0x1016a683
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x1016a5ce
mov ecx, dword [esp + 0xc]
mov edx, 0x7f
push 0
push dword [esp + 0x24]
push eax
call fcn.101242f0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x1016a605
mov eax, dword [esp + 0x38]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x80], esi
movsx esi, si
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x28], edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x34], eax
mov dword [ecx + 0x2c], eax
jne 0x1016a335
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x58], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x1016a421
push edx
push dword [esp + 0x2c]
mov edx, 0x48
mov ecx, eax
push 0
call fcn.101242f0
add esp, 0xc
jmp 0x1016a45a
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x60], edx
cmp dword [ecx + 0x70], edx
jg 0x1016a484
push 0
push esi
push dword [esp + 0x60]
mov edx, 0x64
call fcn.101242f0
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x1016a4b7
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x38]
mov esi, dword [eax + 8]
call fcn.1014bd50
mov edx, eax
test edx, edx
je 0x1016a4f9
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x1016a4e7
push edx
mov edx, 0xfffffff7
call fcn.10124e70
add esp, 4
jmp 0x1016a4f9
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x10]
mov eax, 0x1004
cmp byte [ecx + 0x12], 0
jne 0x1016a52d
cmp dword [esp + 0x3c], 0
jne 0x1016a52d
cmp dword [esp + 0x50], 0
jne 0x1016a52d
cmp byte [esp + 0x6c], 0
jne 0x1016a52d
cmp dword [esp + 0x88], 0
mov edx, 0x100c
cmove eax, edx
push dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.10179510
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x1016b76a
movzx esi, byte [ecx + 0x2e]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x30]
and ecx, 1
mov dword [esp + 0xb0], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0xc8], ecx
cmp esi, 1
je 0x1016a37c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x1016a380
test edx, edx
js 0x1016a380
cmp edx, eax
je 0x1016a380
mov eax, dword [esp + 0x7c]
xor ecx, ecx
sub eax, dword [esp + 0xa0]
cmp byte [eax + edx], cl
cmovne esi, ecx
mov dword [esp + 0x54], esi
jmp 0x1016a37c
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x1016a819
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [ecx + edi*4], eax
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x1016a648
mov ecx, dword [esp + 0xc]
mov edx, 0x93
push esi
push dword [esp + 0x24]
push dword [esp + 0x8c]
call fcn.101242f0
add esp, 0xc
jmp 0x1016a819
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016a819
mov eax, dword [esp + 0x80]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x1016a6c1
mov eax, dword [esp + 0x28]
mov edx, ecx
mov ecx, dword [esp + 0xc]
add eax, esi
push eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x20]
call fcn.1013d9a0
mov ecx, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x1016a693
mov esi, dword [esp + 0x54]
test esi, esi
je 0x1016a71a
mov edx, dword [esp + 0x60]
test edx, edx
je 0x1016a706
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
jne 0x1016a706
mov eax, dword [eax + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.10124e70
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], edi
mov dword [esp + 0x34], eax
jmp 0x1016a819
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
call fcn.10153ee0
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x80], esi
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x1016a756
push dword [esp + 0x34]
mov edx, 0x5b
push edi
push dword [esp + 0x30]
call fcn.101242f0
add esp, 0xc
mov edx, eax
jmp 0x1016a790
mov esi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
push edi
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.101250e0
mov edx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], edx
jg 0x1016a7c7
push dword [esp + 0x28]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x38]
push dword [esp + 0x60]
call fcn.101242f0
add esp, 0xc
mov edx, eax
jmp 0x1016a7fe
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1016a815
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov esi, dword [esp + 0x54]
cmp dword [ebp + 0x1c], 0
jne 0x1016aa05
cmp esi, 2
je 0x1016a831
mov ecx, dword [esp + 0x44]
call fcn.1017a060
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0xb0]
test eax, eax
jne 0x1016a954
mov edx, dword [esp + 0x54]
xor esi, esi
test edx, edx
je 0x1016a87d
test edi, edi
js 0x1016a864
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x1016a881
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + ecx], 0
jmp 0x1016a881
mov ecx, dword [esp + 0x68]
cmp edx, 2
jne 0x1016a8f1
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x74]
setns al
sub ecx, eax
test ecx, ecx
jle 0x1016a8f1
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x1016a8ba
push 0
push 0
push 0
mov edx, 0x11
call fcn.101242f0
add esp, 0xc
mov esi, eax
jmp 0x1016a8f1
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0xac]
push 0
push 0x61
call fcn.10157750
add esp, 0x18
test esi, esi
je 0x1016a949
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x1016a931
mov eax, 0x10224e74
jmp 0x1016a946
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x1016aa87
test eax, eax
jne 0x1016a992
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x1016a992
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x68], eax
je 0x1016a996
push dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, 0x1d
push dword [esp + 0x38]
push edi
push eax
call fcn.101248f0
add esp, 0x10
jmp 0x1016a996
mov edi, dword [esp + 0x5c]
cmp esi, 1
je 0x1016a9a9
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x20]
cmovne edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016a9da
push 0
push edi
push edx
mov edi, esi
mov edx, 0x32
mov ecx, edi
call fcn.101242f0
add esp, 0xc
jmp 0x1016aa09
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0xc]
cmp byte [esp + 0x1f], 0
mov esi, dword [esp + 0x10]
je 0x1016acca
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, dword [esp + 0xa8]
call fcn.1013df00
mov edx, dword [esp + 0x50]
add esp, 4
cmp eax, edx
je 0x1016aa62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1016aa62
push edx
push eax
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.10124460
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1016ac9b
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.101242f0
add esp, 0xc
jmp 0x1016acca
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0xc]
je 0x1016abd9
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x40], esi
cmp dword [edi + 0x70], ecx
jg 0x1016aac7
push 0
push dword [esp + 0x60]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x60]
call fcn.101242f0
add esp, 0xc
jmp 0x1016aafa
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xb8], ecx
cmp dword [edi + 0x70], ecx
jg 0x1016ab2b
push 0
push dword [esp + 0x38]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x60]
call fcn.101242f0
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x1016ab5e
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x1016ab82
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.101242f0
add esp, 0xc
mov edx, eax
jmp 0x1016abb5
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x1016aa09
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016aa09
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x40], esi
cmp dword [edi + 0x70], esi
jg 0x1016ac0f
push dword [esp + 0x20]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x60]
push dword [esp + 0x8c]
call fcn.101242f0
mov edx, dword [esp + 0x2c]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
jmp 0x1016ac45
mov edx, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1016ac67
push edx
push esi
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
call fcn.101242f0
add esp, 0xc
jmp 0x1016aa09
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016aa09
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x27], 0
jne 0x1016ad23
cmp dword [esp + 0x50], 0
jne 0x1016ad2a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1016ae7b
xor esi, esi
push dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push 3
push 0
push dword [ebp + 8]
call fcn.10169730
or esi, eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x80], esi
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x1016ae0e
xor edi, edi
jmp 0x1016ad44
cmp dword [esp + 0x50], 0
je 0x1016ace4
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.10153210
mov esi, eax
jmp 0x1016ace6
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, eax
call fcn.10146540
movsx edx, ax
add edx, dword [esp + 0x8c]
cmp dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x60], edx
je 0x1016ade4
cmp esi, 0x20
jge 0x1016ad7c
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x80], eax
jne 0x1016ade4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x1016ade4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x1016ada9
push 0
push edx
push 0
mov edx, 0x48
mov ecx, eax
call fcn.101242f0
jmp 0x1016adf7
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016adfa
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push esi
push dword [esp + 0x20]
call fcn.1013d9a0
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x1016ad40
cmp byte [esp + 0x1f], 0
jne 0x1016ae77
cmp dword [esp + 0x38], 0
jne 0x1016ae77
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016ae44
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4d
call fcn.101242f0
add esp, 0xc
jmp 0x1016ae77
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
push dword [esp + 0x18]
push 1
push 1
push dword [ebp + 8]
call fcn.10169730
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov dword [esp + 0x3c], eax
add esp, 0x14
mov eax, dword [esp + 0x14]
xor edi, edi
mov esi, ecx
cmp dx, word [eax + 0x2a]
mov edx, dword [esp + 0x28]
jge 0x1016b035
xor ecx, ecx
mov dword [esp + 0x60], ecx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x1016af24
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x1016aeea
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.101242f0
jmp 0x1016b008
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016b00b
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x1016af43
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x1016b00f
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x1016afa8
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*4]
push esi
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
call fcn.1013df00
add esp, 4
cmp eax, esi
je 0x1016b00b
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1016b00b
mov edx, dword [esp + 0x8c]
push esi
push eax
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.10124460
add esp, 8
jmp 0x1016b00b
test dword [esp + 0xc0], 1
je 0x1016afea
cmp edi, 0x1f
jg 0x1016afea
mov eax, 1
mov ecx, edi
shl eax, cl
test edx, eax
jne 0x1016afea
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x1016aeea
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.101242f0
jmp 0x1016b008
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x20]
call fcn.1013d9a0
mov dword [esp + 0xd4], 0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc edi
add dword [esp + 0x60], 0x14
inc esi
mov ecx, dword [esp + 0x60]
movsx eax, word [eax + 0x2a]
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x1016aec0
mov ecx, dword [esp + 0x90]
test byte [eax + 0x24], 0x60
je 0x1016b04e
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.10154080
mov eax, dword [esp + 0x18]
add esp, 4
test byte [esp + 0xc0], 1
je 0x1016b200
push dword [esp + 0x90]
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.10153f90
mov esi, dword [esp + 0x44]
add esp, 4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x20]
push 1
push dword [ebp + 8]
push 0x7f
call fcn.101696a0
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x38], 0
mov eax, dword [edi + 0x70]
je 0x1016b11a
cmp eax, edx
jg 0x1016b0c7
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.101242f0
add esp, 0xc
mov edx, eax
jmp 0x1016b0fa
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x1016b167
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x1016b167
cmp eax, edx
jg 0x1016b138
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.101242f0
add esp, 0xc
jmp 0x1016b167
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x90]
xor esi, esi
mov edi, eax
cmp cx, word [edx + 0x2a]
jge 0x1016b1e7
mov dword [esp + 0x8c], ecx
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0x10]
test al, 0x60
je 0x1016b19d
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x1016b1cc
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x1016b1cc
movsx eax, word [edx + 0x28]
cmp esi, eax
je 0x1016b1cc
mov ecx, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x20]
call fcn.1013d9a0
mov ecx, dword [esp + 0x98]
add esp, 0xc
mov edx, dword [esp + 0x14]
movsx eax, word [edx + 0x2a]
inc esi
add ecx, 0x14
inc edi
mov dword [esp + 0x8c], ecx
cmp esi, eax
jl 0x1016b185
mov eax, dword [esp + 0x90]
test byte [edx + 0x24], 0x60
mov esi, dword [esp + 0x10]
je 0x1016b208
push edx
mov edx, eax
mov ecx, esi
call fcn.10154080
add esp, 4
jmp 0x1016b204
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x94], 0
mov edi, dword [esp + 0x40]
jne 0x1016b4f0
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x90]
mov ecx, esi
push eax
push edi
push dword [ebp + 0x10]
push dword [esp + 0x80]
push dword [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0xb8]
push dword [esp + 0x3c]
push dword [esp + 0x98]
call fcn.101556c0
add esp, 0x2c
cmp dword [esp + 0x88], 0
jne 0x1016b26c
cmp byte [esp + 0x6c], 0
je 0x1016b351
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
je 0x1016b2fa
cmp eax, esi
jg 0x1016b29f
push dword [esp + 0x34]
mov edx, 0x1d
push edi
push dword [esp + 0x20]
call fcn.101242f0
add esp, 0xc
mov esi, eax
jmp 0x1016b2d2
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x1016b351
mov edx, dword [esp + 0xb4]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x1016b355
cmp eax, esi
jg 0x1016b31c
push dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, 0x20
push edi
push dword [esp + 0x20]
mov ecx, esi
call fcn.101242f0
add esp, 0xc
jmp 0x1016b355
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016b359
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x50], 0
je 0x1016b37e
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x24]
call fcn.10152c20
add esp, 0x10
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push dword [esp + 0x74]
push dword [esp + 0xa0]
push dword [esp + 0x24]
call fcn.1014d970
add esp, 0x10
cmp dword [esp + 0xc8], 0
je 0x1016b3fd
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016b3ca
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x87
mov ecx, esi
call fcn.101242f0
add esp, 0xc
jmp 0x1016b3fd
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x50]
cmp edx, 1
jg 0x1016b40d
cmp byte [esp + 0x6c], 0
je 0x1016b465
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016b432
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, esi
call fcn.101242f0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x1016b465
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x1016b48a
push dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x54]
push 0
call fcn.10152c20
add esp, 0x10
mov esi, dword [esp + 0x54]
xor eax, eax
mov edx, dword [esp + 0x14]
cmp esi, 2
mov ecx, dword [esp + 0x10]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push dword [esp + 0xac]
push dword [esp + 0x30]
call fcn.10157510
add esp, 0x1c
cmp dword [esp + 0x50], 0
je 0x1016b4f4
push dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.10153d10
add esp, 0x10
jmp 0x1016b4f4
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x1016b559
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x1016b523
mov ecx, dword [esp + 0xc]
mov edx, 0x52
push 0
push 1
push eax
call fcn.101242f0
add esp, 0xc
jmp 0x1016b559
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x20]
push 2
push dword [ebp + 8]
push 0x7f
call fcn.101696a0
add esp, 0x1c
cmp esi, 1
je 0x1016b69a
cmp esi, 2
mov esi, dword [esp + 0xc]
jne 0x1016b5cb
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1016b5b4
push edi
mov edx, esi
call fcn.101249f0
mov ecx, dword [esp + 0x48]
add esp, 4
call fcn.1017a060
jmp 0x1016b69e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x44]
call fcn.1017a060
jmp 0x1016b69e
cmp dword [esp + 0x38], 0
je 0x1016b65b
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1016b5f0
push edi
mov edx, esi
call fcn.101249f0
add esp, 4
jmp 0x1016b5f9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016b623
mov edx, dword [esp + 0xb8]
mov ecx, esi
push 0
push edx
push dword [esp + 0x60]
mov edx, 5
call fcn.101242f0
add esp, 0xc
jmp 0x1016b69e
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1016b69e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016b679
push 0
push edi
push 0
mov edx, 0xb
mov ecx, esi
call fcn.101242f0
add esp, 0xc
jmp 0x1016b69e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
jmp 0x1016b649
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1016b6bc
push edx
mov edx, esi
call fcn.101249f0
add esp, 4
jmp 0x1016b6c5
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x12], 0
jne 0x1016b6e8
cmp dword [eax + 0x78], 0
jne 0x1016b6e8
cmp dword [ebp + 0x1c], 0
jne 0x1016b6e8
cmp dword [eax + 0x70], 0
je 0x1016b6e8
mov ecx, eax
call fcn.10154340
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x1016b76a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1016b711
push 0
push 1
push edx
mov edx, 0x50
mov ecx, esi
call fcn.101242f0
add esp, 0xc
jmp 0x1016b740
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, esi
call fcn.10126410
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1016b76a
mov ecx, dword [esi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.10123680
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1016b782
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0xf0], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
call fcn.10105110
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
call fcn.1014b080
mov eax, dword [ebp + 8]
test eax, eax
je 0x1016b7b1
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.1013ac90
test esi, esi
je 0x1016b7c0
mov ecx, dword [esp + 0x64]
mov edx, esi
call fcn.10139b60
pop edi
pop esi
mov esp, ebp
pop ebp
ret