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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
xor eax, eax
push esi
xor esi, esi
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x3c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov byte [esp + 0x17], 0
mov byte [esp + 0x2f], 0
mov byte [esp + 0x2e], 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
cmp dword [ebx + 0x40], esi
jne 0x1007045d
cmp byte [ecx + 0x41], al
jne 0x1007045d
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x1006f16c
test byte [eax + 6], 0x80
je 0x1006f16c
cmp dword [eax + 0x34], esi
jne 0x1006f16c
mov edx, dword [eax]
push 1
push eax
push ecx
mov dword [esp + 0x54], edx
mov dword [eax], esi
call fcn.10077530
add esp, 0xc
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], esi
je 0x1007045d
mov ecx, eax
mov esi, ebx
call fcn.10067380
mov dword [esp + 0x10], eax
test eax, eax
je 0x1007045d
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov esi, dword [edi + 0x44]
call fcn.10076c40
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
add eax, eax
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [edi]
push 0
push eax
push 0x12
mov eax, ebx
call fcn.1005fc10
add esp, 0x10
test eax, eax
jne 0x1007045d
mov esi, edi
mov al, byte [esi + 0x2c]
shr al, 5
lea ecx, [esp + 0x1c]
push ecx
and al, 1
mov byte [esp + 0x47], al
push 0
push 0x6c
mov edx, esi
mov eax, ebx
call fcn.10082a10
xor edx, edx
add esp, 0xc
cmp dword [esi + 0xc], edx
mov dword [esp + 0x68], eax
setne dl
mov eax, esi
mov edi, ebx
mov dword [esp + 0x6c], edx
call fcn.10062f30
test eax, eax
jne 0x1007045d
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10067470
add esp, 4
test eax, eax
jne 0x1007045d
mov eax, ebx
call fcn.1007a5e0
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x1007045d
cmp byte [ebx + 0x12], 0
jne 0x1006f23f
or dword [edi + 0x58], 0x10
cmp dword [ebp + 0x10], 0
jne 0x1006f250
cmp dword [esp + 0x68], 0
jne 0x1006f250
xor eax, eax
jmp 0x1006f255
mov eax, 1
mov ecx, dword [esp + 0x20]
push eax
mov eax, ebx
call fcn.10065c30
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x1006f288
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push esi
push ebx
call fcn.10072130
add esp, 0x10
test eax, eax
jne 0x100703b7
mov eax, dword [esp + 0x20]
mov ebx, esi
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.1006e9b0
mov edx, dword [esp + 0x14]
movsx ebx, word [edx + 0x26]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
lea eax, [ebx + eax + 1]
add esp, 4
mov dword [esi + 0x48], eax
test byte [edx + 0x2c], 0x10
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ecx
je 0x1006f2cc
inc ecx
inc eax
mov dword [esp + 0x54], ecx
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
cmp ecx, ebx
je 0x1006f3d7
xor eax, eax
cmp dword [ecx + 4], ebx
jle 0x1006f300
lea esp, [esp]
mov edx, dword [ecx]
mov dword [edx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [ecx + 4]
jl 0x1006f2f0
mov dword [esp + 0x24], ebx
cmp dword [ecx + 4], ebx
jle 0x1006f3d7
mov eax, dword [esp + 0x10]
mov edx, ebx
movsx ecx, word [eax + 0x26]
xor esi, esi
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x1006f37c
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov ebx, dword [eax + 4]
lea ecx, [ecx + edx*8]
mov edx, dword [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.10028bf0
add esp, 8
test eax, eax
je 0x1006f356
inc esi
add ebx, 0x18
cmp esi, dword [esp + 0x18]
jl 0x1006f336
jmp 0x1006f37c
mov edx, dword [esp + 0x30]
mov dword [edx + 4], esi
cmp dword [esp + 0x24], esi
je 0x1006f368
mov byte [esp + 0x2e], 0
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x24]
cmp esi, ecx
jne 0x1006f37c
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x26]
cmp esi, ecx
jl 0x1006f3bd
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
mov esi, dword [edx + eax*8]
call fcn.10057fe0
test eax, eax
je 0x1006f583
cmp byte [esp + 0x43], 0
jne 0x1006f583
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov byte [esp + 0x2e], 0
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [ecx + 4]
jl 0x1006f313
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1006f5ad
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x48]
mov eax, dword [edi + 0x20]
mov ecx, dword [ebx + 0x48]
inc eax
push eax
push 0
push ecx
push 0x14
mov esi, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
call fcn.10044490
movzx ecx, byte [esp + 0x3e]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x68]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov word [esp + 0x94], 0xd
movsx eax, word [edx + 0x26]
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x94]
push ecx
push edx
push ebx
mov dword [esp + 0xac], eax
call fcn.1007fbd0
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
mov dword [esp + 0x60], ecx
test eax, eax
jne 0x1007045d
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x41], al
jne 0x1007045d
mov eax, dword [esp + 0x28]
push eax
push 0x15
call fcn.10044540
mov eax, dword [esp + 0x20]
add esp, 8
dec eax
mov edx, edi
call fcn.10044ad0
cmp dword [esp + 0x68], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
jne 0x1006f4c3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov eax, ebx
call fcn.1006e8b0
add esp, 8
test eax, eax
je 0x1006f646
mov edx, dword [ebx + 0x44]
lea eax, [edx + 1]
mov ecx, ebx
mov byte [esp + 0x17], 1
mov dword [esp + 0x3c], edx
mov dword [ebx + 0x44], eax
call fcn.1005bfe0
mov dword [esp + 0x18], eax
call fcn.1005bfe0
mov ecx, dword [esp + 0x30]
push ecx
push edx
push 0x39
mov esi, edi
mov dword [esp + 0x2c], eax
call fcn.100445a0
mov edx, dword [esp + 0x94]
add esp, 0xc
push edx
push 0x16
call fcn.10044540
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
push 0x31
call fcn.10044490
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push 0x4a
call fcn.100445a0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
add esp, 0x24
push edx
push eax
push ecx
push 0x4b
call fcn.10044490
mov edx, dword [esp + 0x38]
push edx
push 0
push 0x10
call fcn.100445a0
mov eax, dword [esp + 0x44]
add esp, 0x1c
mov edx, edi
call fcn.10044ad0
mov esi, dword [esp + 0x18]
mov edx, ebx
call fcn.1005c000
mov esi, dword [esp + 0x20]
call fcn.1005c000
jmp 0x1006f646
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax*8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ecx
push 0
push edx
push str.table__S_has_no_column_named__s
push esi
call fcn.100289d0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x1007045d
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], esi
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
je 0x1006f606
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x1006f60a
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x30], ebx
jle 0x1006f646
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x18]
mov edi, dword [edx + eax]
lea esi, [esp + 0x98]
call fcn.10055ca0
test eax, eax
jne 0x1007045d
add dword [esp + 0x18], 0x18
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x1006f614
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x30]
xor edx, edx
cmp dword [ebp + 0x14], edx
jne 0x1006f663
cmp ebx, edx
jle 0x1006f663
mov esi, dword [esp + 0x10]
movsx ecx, word [esi + 0x24]
mov dword [esp + 0x44], ecx
jmp 0x1006f667
mov esi, dword [esp + 0x10]
test byte [esi + 0x2c], 0x10
je 0x1006f6e8
movsx ecx, word [esi + 0x26]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
cmp ecx, 2
jl 0x1006f6b4
mov eax, dword [esi + 4]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x2f
inc ecx
lea edx, [ecx + ecx]
movzx esi, byte [eax - 0x18]
shr esi, 1
and esi, 1
add dword [esp + 0x20], esi
movzx esi, byte [eax]
shr esi, 1
and esi, 1
add dword [esp + 0x18], esi
add eax, 0x30
dec ecx
jne 0x1006f68d
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
movsx eax, word [esi + 0x26]
cmp edx, eax
jge 0x1006f6d8
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x20]
lea edx, [edx + edx*2]
movzx eax, byte [eax + edx*8 + 0x17]
shr eax, 1
and eax, 1
add eax, ecx
jmp 0x1006f6ea
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add eax, ecx
jmp 0x1006f6ea
mov eax, edx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x1006f71d
test ebx, ebx
je 0x1006f73c
movsx ecx, word [esi + 0x26]
sub ecx, eax
cmp ebx, ecx
je 0x1006f73c
mov eax, dword [ebp + 0xc]
push ebx
push ecx
mov ecx, dword [ebp + 8]
push 0
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push ecx
call fcn.100289d0
add esp, 0x18
jmp 0x1007045d
mov eax, dword [ecx + 4]
cmp ebx, eax
je 0x1006f73c
mov edx, dword [ebp + 8]
push eax
push ebx
push str._d_values_for__d_columns
push edx
call fcn.100289d0
add esp, 0x10
jmp 0x1007045d
mov eax, dword [esp + 0x4c]
test byte [eax + 0x18], 0x80
je 0x1006f765
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0x19
mov esi, edi
mov dword [esp + 0x8c], eax
call fcn.100445a0
add esp, 0xc
cmp dword [esp + 0x6c], 0
jne 0x1006f7d2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x54]
push edx
push 0
push 0xffffffffffffffff
push 0x37
push eax
push ecx
call fcn.10071e10
mov esi, dword [esp + 0x68]
add esp, 0x1c
mov ebx, eax
lea edx, [ebx*4 + 4]
push 0
push edx
call fcn.100260c0
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
je 0x1007045d
xor eax, eax
test ebx, ebx
jle 0x1006f7d2
mov ecx, dword [ebp + 8]
lea ebx, [ebx]
inc dword [ecx + 0x48]
mov edx, dword [ecx + 0x48]
mov esi, dword [esp + 0x64]
mov dword [esi + eax*4], edx
inc eax
cmp eax, ebx
jl 0x1006f7c0
cmp byte [esp + 0x17], 0
je 0x1006f7f0
mov eax, dword [esp + 0x3c]
push eax
push 0x6c
mov esi, edi
call fcn.10044540
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x7c], ecx
jmp 0x1006f80b
cmp dword [ebp + 0x10], 0
je 0x1006f815
mov edx, dword [esp + 0x88]
push edx
push 0x16
mov esi, edi
call fcn.10044540
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
add esp, 8
mov eax, dword [edi + 0x18]
mov ebx, dword [eax + 0x6c]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x18], eax
mov dword [eax + 0x6c], ecx
test ebx, edx
jne 0x1006f850
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [ecx + 0x70]
call fcn.10026230
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x70], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x70]
xor esi, esi
cmp eax, esi
je 0x1006f860
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
test byte [esp + 0x1c], 1
mov dword [esp + 0x18], eax
je 0x1006fbab
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 0x26]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
inc eax
mov dword [esp + 0x34], ebx
cmp eax, edx
jg 0x1006f89b
lea esi, [eax + ebx]
sub edx, eax
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x38], edx
jmp 0x1006f8aa
mov edx, dword [ecx + 0x48]
lea ebx, [edx + 1]
add edx, eax
mov dword [esp + 0x34], ebx
mov dword [ecx + 0x48], edx
mov eax, dword [esp + 0x44]
push ebx
test eax, eax
jns 0x1006f8c3
push 0xffffffffffffffff
push 0x19
mov esi, edi
call fcn.100445a0
add esp, 0xc
jmp 0x1006f942
cmp byte [esp + 0x1b], 0
je 0x1006f8e2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push 0x2f
mov esi, edi
call fcn.10044490
add esp, 0x10
jmp 0x1006f8f9
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [eax + edx*8]
push edx
push ecx
call fcn.1005abc0
add esp, 0xc
push ebx
push 0x4d
mov esi, edi
call fcn.10044540
push ebx
push 0xffffffffffffffff
push 0x19
mov dword [esp + 0x30], eax
call fcn.100445a0
mov eax, dword [edi + 0x20]
add esp, 0x14
cmp eax, dword [esp + 0x1c]
jbe 0x1006f92b
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
push ebx
push 0x26
mov esi, edi
mov dword [ecx + 0x58], eax
call fcn.10044540
add esp, 8
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x24], ebx
cmp dx, word [eax + 0x26]
jge 0x1006fb3d
mov dword [esp + 0x28], edx
lea esp, [esp]
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x1006f96b
mov esi, ebx
jmp 0x1006f98c
mov ecx, dword [edx + 4]
xor esi, esi
test ecx, ecx
jle 0x1006f98c
mov eax, dword [edx]
add eax, 4
lea esp, [esp]
cmp dword [eax], ebx
je 0x1006f98c
inc esi
add eax, 8
cmp esi, ecx
jl 0x1006f980
mov al, byte [esp + 0x17]
test al, al
jne 0x1006f99b
cmp dword [esp + 0x48], 0
je 0x1006f9ac
test edx, edx
je 0x1006faa6
cmp esi, dword [edx + 4]
jl 0x1006faa6
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea edx, [ecx + ebx + 1]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx + 4]
test eax, eax
je 0x1006fa29
cmp byte [eax], 0x9f
jne 0x1006fa29
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [edx + 0x54], ebx
jg 0x1006f9f9
push esi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fb1f
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x21
jmp 0x1006fb1f
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
push esi
push eax
push edx
call fcn.10059a70
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, esi
je 0x1006fb23
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
test esi, esi
je 0x1006fb23
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x54], eax
jg 0x1006fa79
push esi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fb23
mov eax, dword [esp + 0x1c]
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x22
jmp 0x1006fb23
test al, al
je 0x1006fafd
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x54], eax
jg 0x1006faca
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fb23
mov eax, dword [esp + 0x1c]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
lea ecx, [edx + ebx + 1]
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x2f
jmp 0x1006fb23
mov edx, dword [esp + 0x34]
lea eax, [edx + ebx + 1]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
lea ecx, [esi + esi*2]
mov ebx, dword [eax + ecx*8]
push edx
call fcn.1005ace0
add esp, 8
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x26]
add dword [esp + 0x28], 0x18
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, ecx
jl 0x1006f960
cmp dword [esp + 0x6c], 0
jne 0x1006fb58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
inc edx
push edx
mov ebx, edi
call fcn.1006e7f0
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movsx edx, word [esi + 0x26]
mov edi, dword [esp + 0x34]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x70]
mov eax, edi
sub eax, edx
mov edx, dword [ebp + 8]
dec eax
push eax
push esi
push 1
push 0
push 0x6c
push ecx
push edx
call fcn.10083270
movsx esi, word [esi + 0x26]
mov eax, dword [ebp + 8]
inc esi
add esp, 0x24
mov ecx, esi
call fcn.10059510
cmp esi, dword [eax + 0x38]
jle 0x1006fba5
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], edi
mov edi, dword [esp + 0x70]
xor esi, esi
cmp dword [esp + 0x6c], esi
jne 0x10070136
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
je 0x1006fbfc
mov ebx, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], ebx
jg 0x1006fbd7
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fbfc
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x7c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x1c
cmp dword [esp + 0x44], esi
jl 0x1006fd39
cmp byte [esp + 0x17], 0
mov ebx, dword [esp + 0x54]
push ebx
je 0x1006fc8c
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
push edx
push eax
push 0x2f
mov esi, edi
call fcn.10044490
add esp, 0x10
mov esi, dword [esp + 0x10]
test byte [esi + 0x2c], 0x10
jne 0x1006fd18
push ebx
push 0x4d
mov esi, edi
call fcn.10044540
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
push ebx
push eax
push 0x4a
call fcn.10044490
mov eax, dword [edi + 0x20]
add esp, 0x18
cmp eax, dword [esp + 0x1c]
jbe 0x1006fc70
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
push ebx
push 0x26
mov esi, edi
mov dword [ecx + 0x58], eax
call fcn.10044540
add esp, 8
jmp 0x1006fd7f
cmp dword [ebp + 0x10], esi
je 0x1006fca8
mov ecx, dword [esp + 0x64]
add ecx, dword [esp + 0x48]
mov esi, edi
push ecx
push 0x21
call fcn.100445a0
add esp, 0xc
jmp 0x1006fc28
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
push ecx
call fcn.1005abc0
mov edx, dword [edi]
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp byte [edx + 0x41], 0
je 0x1006fcd8
mov eax, 0x101f736c
jmp 0x1006fcea
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4 - 5]
lea eax, [ecx + eax*4]
test eax, eax
je 0x1006fc28
cmp byte [eax], 0x1c
jne 0x1006fc28
mov esi, dword [esp + 0x10]
test byte [esi + 0x2c], 0x10
jne 0x1006fd18
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x2f], 1
mov byte [eax], 0x4a
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
jmp 0x1006fd83
mov edx, dword [edi + 0x20]
add edx, 2
push edx
push ebx
push 0x4c
mov esi, edi
call fcn.100445a0
add esp, 0xc
push ebx
push 0x26
call fcn.10044540
add esp, 8
jmp 0x1006fd7f
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
jne 0x1006fd6c
cmp byte [esp + 0x43], 0
jne 0x1006fd6c
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push ebx
push edx
push 0x4a
mov esi, edi
call fcn.10044490
add esp, 0x10
mov byte [esp + 0x2f], 1
jmp 0x1006fd7f
mov ebx, dword [esp + 0x54]
push ebx
push 0
push 0x1c
mov esi, edi
call fcn.100445a0
add esp, 0xc
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
jle 0x1006fddf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
cmp dword [edx + 0x54], ecx
jg 0x1006fdb8
push eax
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fddf
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x20]
mov edx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x88
xor eax, eax
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
cmp dx, word [esi + 0x26]
jge 0x1006feb3
mov dword [esp + 0x20], eax
lea esp, [esp]
mov edx, dword [esp + 0x24]
movsx ecx, word [esi + 0x24]
mov eax, dword [esp + 0x58]
add eax, edx
xor ebx, ebx
mov dword [esp + 0x38], eax
cmp edx, ecx
jne 0x1006fe57
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], esi
jg 0x1006fe30
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fe95
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1d
jmp 0x1006fe95
cmp dword [ebp + 0x14], ebx
jne 0x1006ff26
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
test byte [eax + ecx + 0x17], 2
je 0x1006ff1e
inc dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx + 4]
mov ebx, dword [esp + 0x38]
mov eax, dword [ebp + 8]
call fcn.1005ac20
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
movsx edx, word [esi + 0x26]
add dword [esp + 0x20], 0x18
inc eax
mov dword [esp + 0x24], eax
cmp eax, edx
jl 0x1006fe00
test byte [esi + 0x2c], 0x10
je 0x100700b7
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1006fedf
mov ecx, dword [esp + 0x4c]
lea esp, [esp]
cmp dword [eax], ecx
je 0x1006fedb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1006fed0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push esi
call fcn.100877a0
movsx ebx, word [esi + 0x26]
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
add esp, 4
add ebx, 2
cmp dword [eax + 0x54], esi
jg 0x1007000e
push edi
call fcn.10044400
add esp, 4
test eax, eax
je 0x1007000e
mov eax, 1
xor ebx, ebx
jmp 0x1007003c
mov esi, edx
sub esi, dword [esp + 0x34]
jmp 0x1006ff43
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
jle 0x1006ff4b
mov eax, dword [eax]
add eax, 4
cmp dword [eax], edx
je 0x1006ff43
inc esi
add eax, 8
cmp esi, ecx
jl 0x1006ff37
test esi, esi
js 0x1006fe76
cmp dword [esp + 0x30], 0
je 0x1006fe76
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006ff66
cmp esi, dword [eax + 4]
jge 0x1006fe76
cmp byte [esp + 0x17], 0
je 0x1006ffbb
mov ebx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], ebx
jg 0x1006ff89
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1006fe95
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x2f
jmp 0x1006fe95
cmp dword [ebp + 0x10], 0
je 0x1006ffea
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x60], edx
je 0x1006fe95
mov eax, dword [esp + 0x38]
add esi, dword [esp + 0x60]
push eax
push esi
push 0x22
mov esi, edi
call fcn.100445a0
add esp, 0xc
jmp 0x1006fe95
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 8]
lea eax, [esi + esi*2]
mov eax, dword [edx + eax*8]
push eax
push ecx
call fcn.1005abc0
add esp, 0xc
jmp 0x1006fe95
mov eax, dword [edi + 4]
mov ecx, 1
add dword [edi + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ebx
xor ebx, ebx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0xf
mov eax, esi
mov esi, dword [edi + 4]
mov edx, dword [edi]
cmp esi, ebx
je 0x10070084
cmp byte [edx + 0x41], 0
jne 0x10070084
cmp eax, ebx
jge 0x10070053
mov eax, dword [edi + 0x20]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.10044af0
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1007007a
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x10070084
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf6
inc dword [eax + 0xc]
mov edx, dword [ebp + 0x18]
cmp edx, 0xa
jne 0x10070091
mov edx, 2
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x100700a2
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x198]
cmp eax, ebx
jne 0x100700b1
mov eax, ecx
mov byte [eax + 0x15], 1
jmp 0x10070134
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x7c]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x68]
setge cl
movzx edx, cl
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x74]
push 0
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push esi
push eax
call fcn.100704f0
mov ecx, dword [ebp + 8]
add esp, 0x2c
push 0
push 0
push ebx
push 0
push esi
push ecx
call fcn.1006ce50
movzx eax, byte [esp + 0x47]
mov ecx, dword [esp + 0x7c]
xor edx, edx
cmp dword [esp + 0x34], edx
sete dl
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x70]
push 0
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edx
push eax
push esi
push ecx
call fcn.10071b10
add esp, 0x3c
xor esi, esi
mov edx, dword [esp + 0x4c]
test byte [edx + 0x18], 0x80
mov ebx, dword [esp + 0x58]
je 0x1007018d
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1007015c
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1007018b
mov eax, dword [edi + 4]
mov ecx, 1
add dword [edi + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x25
xor esi, esi
mov ecx, dword [esp + 0x68]
cmp ecx, esi
je 0x100701bf
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push edx
movsx edx, word [eax + 0x26]
sub ebx, edx
sub ebx, 2
push ebx
push eax
mov eax, dword [ebp + 8]
push 2
push esi
push 0x6c
push ecx
push eax
call fcn.10083270
add esp, 0x24
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x18]
js 0x100701d8
mov edx, dword [ecx + 0x70]
cmp edx, esi
je 0x100701d8
mov ebx, dword [edi + 0x20]
mov dword [edx + eax*4], ebx
mov edx, dword [edi + 0x20]
dec edx
cmp byte [esp + 0x17], 0
mov dword [ecx + 0x58], edx
je 0x1007028d
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], ebx
jg 0x10070202
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1007022b
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 9
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jbe 0x10070240
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
mov dword [ecx + 0x58], eax
mov ebx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x54], ebx
jg 0x10070266
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x100702ee
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x3d
jmp 0x100702ee
cmp dword [ebp + 0x10], esi
je 0x100702ee
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], ebx
jg 0x100702aa
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x100702cf
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x10
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jbe 0x100702e4
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec edx
mov dword [eax + 0x58], edx
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x10
jne 0x100703b4
cmp dword [esp + 0x6c], 0
jne 0x100703b4
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x50], edx
jge 0x10070351
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], ebx
jg 0x10070329
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x10070351
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3d
jmp 0x10070353
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x100703b4
mov ebx, dword [esp + 0x5c]
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x1007037e
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x100703a2
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
xor ecx, ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax + 3], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3d
jmp 0x100703a4
xor ecx, ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
inc ebx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jne 0x10070366
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x12], 0
jne 0x100703cf
cmp dword [ebx + 0x19c], 0
jne 0x100703cf
push ebx
call fcn.1006ee70
add esp, 4
mov eax, dword [esp + 0x4c]
test byte [eax + 0x18], 0x80
je 0x1007045d
cmp byte [ebx + 0x12], 0
jne 0x1007045d
cmp dword [ebx + 0x19c], 0
jne 0x1007045d
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x10070404
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x10070433
mov eax, dword [edi + 4]
mov ecx, 1
add dword [edi + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x23
push 1
push edi
call fcn.10045d90
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x41], 0
jne 0x1007045d
mov ecx, dword [edi + 0x10]
push 0
push 1
push str.rows_inserted
or eax, 0xffffffff
call fcn.10043a70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x4c]
push ecx
mov eax, esi
call fcn.100653e0
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
push esi
call fcn.10057ab0
mov eax, dword [ebp + 0x10]
push 1
push eax
push esi
call fcn.10077530
mov edi, dword [ebp + 0x14]
add esp, 0x14
call fcn.10065010
mov eax, dword [esp + 0x64]
test eax, eax
je 0x100704e8
test esi, esi
je 0x100704df
cmp dword [esi + 0x208], 0
je 0x100704b4
mov ecx, esi
call fcn.10025e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x114]
jb 0x100704df
cmp eax, dword [esi + 0x118]
jae 0x100704df
mov ecx, dword [esi + 0x110]
mov dword [eax], ecx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.10025d60
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret