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

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
or eax, 0xffffffff
push esi
mov dword [esp + 0x44], eax
xor eax, eax
push edi
mov esi, dword [ebp]
xor edi, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x13], al
mov byte [esp + 0x27], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], esi
cmp dword [ebp + 0x24], eax
jne 0x659716
cmp byte [esi + 0x49], al
jne 0x659716
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x658754
test dword [ebx + 8], 0x200
je 0x658754
cmp dword [ebx + 0x30], eax
jne 0x658754
mov eax, dword [ebx]
push ebx
push esi
mov dword [esp + 0x38], eax
mov dword [ebx], edi
call fcn.00665fa0
add esp, 8
mov dword [esp + 0x14], edi
push dword [esp + 0xa8]
push ebp
call fcn.00666f20
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x658cc4
push dword [edi + 0x48]
push esi
call fcn.00663ac0
mov ebx, eax
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov dword [esp + 0x80], ebx
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [edi]
push 0x12
push ebp
call fcn.00640650
add esp, 0x1c
test eax, eax
jne 0x658cc4
mov eax, dword [edi + 0x24]
shr eax, 5
and eax, 0xffffff01
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x6c
push edi
push ebp
call fcn.00668260
mov dword [esp + 0x60], eax
xor eax, eax
cmp dword [edi + 0xc], eax
push edi
setne al
push ebp
mov dword [esp + 0x98], eax
call fcn.00676a10
add esp, 0x1c
test eax, eax
jne 0x658cc4
push dword [esp + 0x58]
push edi
push ebp
call fcn.00659a20
add esp, 0xc
test eax, eax
jne 0x658cc4
push ebp
call fcn.00657760
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x658cc4
cmp byte [ebp + 0x12], 0
jne 0x658823
or dword [esi + 0x94], 0x10
cmp dword [esp + 0x14], 0
jne 0x658835
cmp dword [esp + 0x4c], 0
jne 0x658835
xor eax, eax
jmp 0x65883a
mov eax, 1
push ebx
push eax
push ebp
call fcn.006410b0
add esp, 0xc
cmp dword [esp + 0xb0], 0
jne 0x65886d
push ebx
push dword [esp + 0xb8]
push dword [esp + 0x1c]
push edi
push ebp
call fcn.0068c3c0
add esp, 0x14
test eax, eax
jne 0x659639
push edi
push ebx
push ebp
call fcn.0060b830
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov dword [esp + 0x60], eax
movsx eax, word [edi + 0x2a]
inc eax
lea ebx, [ecx + 1]
add eax, ecx
mov edx, ebx
mov dword [ebp + 0x2c], eax
cmp dword [edi + 0x38], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], edx
je 0x6588a7
lea edx, [ebx + 1]
inc eax
mov dword [esp + 0x20], edx
mov dword [ebp + 0x2c], eax
mov ecx, dword [edi + 0x24]
lea eax, [edx + 1]
mov edx, dword [esp + 0xb0]
shr ecx, 7
not cl
mov dword [esp + 0x70], eax
and ecx, 0xffffff01
mov dword [esp + 0x28], ecx
test edx, edx
je 0x6589bf
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x6588f0
jmp 0x6588e0
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x6588e0
xor ebx, ebx
cmp dword [edx + 4], ebx
jle 0x6589bf
jmp 0x658900
mov ecx, dword [esp + 0x1c]
xor edi, edi
movsx eax, word [ecx + 0x2a]
test eax, eax
jle 0x658975
mov eax, dword [edx]
mov esi, dword [ecx + 4]
lea eax, [eax + ebx*8]
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
push dword [esi]
push dword [eax]
call fcn.006678a0
add esp, 8
test eax, eax
je 0x658946
mov ecx, dword [esp + 0x1c]
inc edi
add esi, 0x10
movsx eax, word [ecx + 0x2a]
cmp edi, eax
mov eax, dword [esp + 0x3c]
jl 0x658920
jmp 0x65896e
mov eax, dword [esp + 0x3c]
cmp ebx, edi
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edi
setne al
dec al
and al, cl
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x65896e
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x2a]
cmp edi, eax
jl 0x6589b1
mov eax, dword [edx]
push dword [eax + ebx*8]
call fcn.00659aa0
add esp, 4
test eax, eax
je 0x658ab6
cmp byte [esp + 0x54], 0
jne 0x658ab6
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x28], 0
inc ebx
cmp ebx, dword [edx + 4]
jl 0x658900
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], 0
je 0x658b93
inc dword [ebp + 0x2c]
mov esi, dword [esi + 0x88]
mov edi, dword [ebp + 0x2c]
inc esi
mov ebx, dword [esp + 0x18]
push esi
push 0
push edi
push 0xf
push ebx
call fcn.0066bc10
mov ecx, dword [esp + 0x3c]
movzx eax, cl
neg eax
mov byte [esp + 0x94], 0xd
mov dword [esp + 0x98], edi
sbb eax, eax
mov dword [esp + 0xa4], 0
and eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x2c]
push ebp
call fcn.00663b40
mov ecx, dword [esp + 0xa8]
add esp, 0x20
mov dword [esp + 0x64], ecx
test eax, eax
jne 0x658cc4
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x49], 0
jne 0x658cc4
cmp dword [ebp + 0x24], 0
jne 0x658cc4
push edi
push ebx
call fcn.0066c850
lea eax, [esi - 1]
push eax
push ebx
call fcn.006736b0
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [esp + 0x28], ebx
jne 0x658ae4
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x7c]
push ebp
call fcn.00639ee0
add esp, 0xc
test eax, eax
jne 0x658ae4
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
jmp 0x658c0f
mov esi, dword [esp + 0xb0]
mov eax, dword [esi]
push dword [eax + ebx*8]
push 0
push dword [esp + 0xb0]
push str.table__S_has_no_column_named__s
push ebp
call fcn.00649670
add esp, 0x14
mov byte [ebp + 0x11], 1
xor edi, edi
jmp 0x6596ac
mov edx, dword [ebp + 0x28]
push ebp
mov byte [esp + 0x17], 1
mov dword [esp + 0x30], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.00656e50
push ebp
mov edi, eax
call fcn.00656e50
push dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, eax
push edx
push 0x6c
push esi
call fcn.0066bba0
mov eax, dword [esp + 0x9c]
push eax
push 0x10
push esi
mov dword [esp + 0x58], eax
call fcn.0066bb40
push edi
push dword [esp + 0x50]
mov esi, eax
push dword [esp + 0x90]
push 0x63
push dword [esp + 0x4c]
call fcn.0066bc10
push ebx
push dword [esp + 0x68]
push 0x73
push dword [esp + 0x5c]
call fcn.0066bba0
add esp, 0x48
push ebx
push edi
push dword [esp + 0x34]
push 0x74
push dword [esp + 0x28]
call fcn.0066bc10
push esi
push dword [esp + 0x30]
call fcn.00673050
push esi
push dword [esp + 0x38]
call fcn.006736b0
push edi
push ebp
call fcn.006621c0
push ebx
push ebp
call fcn.006621c0
mov ebx, dword [esp + 0x5c]
add esp, 0x34
jmp 0x658c0b
xor eax, eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x80], eax
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
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], ebp
test eax, eax
je 0x658c05
mov ebx, dword [eax]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x2c], ebx
push eax
call fcn.00662500
add esp, 8
test eax, eax
jne 0x658cc4
jmp 0x658c0b
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xb0]
test edx, edx
jne 0x658c26
test ebx, ebx
jle 0x658c26
movsx eax, word [esi + 0x28]
mov dword [esp + 0x48], eax
movsx esi, word [esi + 0x2a]
xor edi, edi
xor ebx, ebx
xor ebp, ebp
cmp esi, 2
jl 0x658c73
mov eax, dword [esp + 0x1c]
lea edx, [esi - 2]
shr edx, 1
mov ecx, dword [eax + 4]
add ecx, 0x1f
inc edx
lea ebp, [edx + edx]
jmp 0x658c50
movzx eax, byte [ecx - 0x10]
lea ecx, [ecx + 0x20]
shr eax, 1
and eax, 1
add edi, eax
movzx eax, byte [ecx - 0x20]
shr eax, 1
and eax, 1
add ebx, eax
dec edx
jne 0x658c50
mov edx, dword [esp + 0xb0]
cmp ebp, esi
jge 0x658c8c
mov eax, dword [esp + 0x1c]
add ebp, ebp
mov eax, dword [eax + 4]
movzx ecx, byte [eax + ebp*8 + 0xf]
shr ecx, 1
and ecx, 1
jmp 0x658c8e
xor ecx, ecx
lea eax, [ebx + edi]
add ecx, eax
test edx, edx
jne 0x658ccb
mov edx, dword [esp + 0x28]
test edx, edx
je 0x658cf3
sub esi, ecx
cmp edx, esi
je 0x658cf3
push edx
push esi
push 0
push dword [esp + 0xb4]
push str.table__S_has__d_columns_but__d_values_were_supplied
push dword [esp + 0xb8]
call fcn.00649670
add esp, 0x18
xor edi, edi
jmp 0x6596a5
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x28]
cmp edx, eax
je 0x658cf3
push eax
push edx
push str._d_values_for__d_columns
push dword [esp + 0xb0]
call fcn.00649670
add esp, 0x10
xor edi, edi
jmp 0x6596a5
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0xa4]
test byte [edi + 0x1c], 0x80
je 0x658d1f
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x43
push dword [esp + 0x24]
mov dword [esp + 0x6c], eax
call fcn.0066bba0
add esp, 0x10
cmp dword [esp + 0x7c], 0
mov ebx, dword [esp + 0x1c]
jne 0x658d88
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x69
push ebx
push ebp
call fcn.0065ba60
mov esi, eax
push 0
lea eax, [esi*4 + 4]
push eax
push edi
call fcn.006478f0
mov edi, eax
add esp, 0x2c
mov dword [esp + 0x40], edi
test edi, edi
je 0x6596a5
mov edx, dword [ebx + 8]
xor ecx, ecx
test esi, esi
jle 0x658d88
nop
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [ebp + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x658d70
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
je 0x658daf
push dword [esp + 0x2c]
push 0x25
push esi
call fcn.0066bb40
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x74], eax
jmp 0x658dcc
cmp dword [esp + 0x14], 0
je 0x658dcf
push dword [esp + 0x34]
push 0x10
push esi
call fcn.0066bb40
mov edi, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
add esp, 0xc
push esi
call fcn.00673b60
add esp, 4
mov dword [esp + 0x34], eax
test byte [esp + 0x58], 1
je 0x658ffe
movsx ecx, word [ebx + 0x2a]
inc ecx
push ecx
push ebp
call fcn.00656df0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], edi
push edi
test eax, eax
jns 0x658e14
push 0xffffffffffffffff
push 0x43
push esi
call fcn.0066bba0
add esp, 0x10
jmp 0x658e72
cmp byte [esp + 0x17], 0
je 0x658e2d
push eax
push dword [esp + 0x34]
push 0x60
push esi
call fcn.0066bc10
add esp, 0x14
jmp 0x658e41
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 4]
push ebp
call fcn.0064a2d0
add esp, 0xc
push edi
push 0x33
push esi
call fcn.0066bb40
mov ebx, dword [esp + 0x24]
mov esi, eax
push edi
push 0xffffffffffffffff
push 0x43
push ebx
call fcn.0066bba0
push esi
push ebx
call fcn.006736b0
push edi
push 0x11
push ebx
call fcn.0066bb40
mov ebx, dword [esp + 0x4c]
add esp, 0x30
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x2a]
jge 0x658f8d
xor edx, edx
or ebx, 0xffffffff
inc edi
mov dword [esp + 0x3c], edx
sub ebx, dword [esp + 0x58]
mov edi, edi
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x658eca
mov edx, dword [eax + 4]
xor esi, esi
test edx, edx
jle 0x658ec6
mov ecx, dword [eax]
add ecx, 4
lea esp, [esp]
lea eax, [ebx + edi]
cmp dword [ecx], eax
je 0x658ebf
inc esi
add ecx, 8
cmp esi, edx
jl 0x658eb0
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x3c]
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x30]
jne 0x658ed9
test ecx, ecx
je 0x658ee2
test eax, eax
je 0x658f2e
cmp esi, dword [eax + 4]
jl 0x658f2e
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x658f09
cmp byte [eax], 0x96
jne 0x658f09
push edi
push dword [eax + 0x1c]
push 0x4b
push dword [ebp + 8]
call fcn.0066bba0
add esp, 0x10
jmp 0x658f5b
push edi
push eax
push ebp
call fcn.0064ba40
add esp, 0xc
cmp eax, edi
je 0x658f5b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x658f5b
push edi
push eax
push 0x4c
push ecx
call fcn.0066bba0
add esp, 0x10
jmp 0x658f5b
cmp byte [esp + 0x13], 0
push edi
je 0x658f4b
push esi
push dword [esp + 0x34]
push 0x60
push dword [esp + 0x28]
call fcn.0066bc10
add esp, 0x14
jmp 0x658f5b
lea eax, [esi + esi*2]
push dword [ecx + eax*8 + 4]
push ebp
call fcn.0064a330
add esp, 0xc
cmp dword [esp + 0xb0], 0
jne 0x658f66
inc esi
mov eax, dword [esp + 0x1c]
inc edi
mov edx, dword [esp + 0x3c]
add edx, 0x10
mov dword [esp + 0x3c], edx
movsx eax, word [eax + 0x2a]
lea ecx, [ebx + edi]
cmp ecx, eax
jl 0x658e90
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x7c], 0
jne 0x658fa5
lea eax, [edi + 1]
push eax
push ebx
push dword [esp + 0x20]
call fcn.006679f0
add esp, 0xc
push dword [esp + 0x34]
movsx eax, word [ebx + 0x2a]
mov ecx, edi
push dword [esp + 0xb8]
sub ecx, eax
dec ecx
push ecx
push ebx
push 1
push 0
push 0x6c
push dword [esp + 0x68]
push ebp
call fcn.00645450
movsx esi, word [ebx + 0x2a]
add esp, 0x24
inc esi
cmp esi, 1
jne 0x658fe4
push edi
push ebp
call fcn.006621c0
add esp, 8
jmp 0x658ffa
push esi
push edi
push ebp
call fcn.00649f80
add esp, 0xc
cmp esi, dword [ebp + 0x1c]
jle 0x658ffa
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], edi
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x7c], 0
jne 0x6594a0
cmp dword [ebx + 0x38], 0
je 0x659020
push dword [esp + 0x50]
push 0
push 0x46
push esi
call fcn.0066bba0
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
js 0x659134
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x20]
push edi
je 0x659092
push eax
push dword [esp + 0x34]
push 0x60
push esi
call fcn.0066bc10
add esp, 0x14
cmp dword [ebx + 0x38], 0
jne 0x659110
push edi
push 0x33
push esi
call fcn.0066bb40
mov ecx, dword [esp + 0x6c]
mov esi, eax
push ecx
mov ecx, dword [esp + 0x54]
push edi
push ecx
push 0x73
push dword [esp + 0x34]
call fcn.0066bc10
push esi
mov esi, dword [esp + 0x3c]
push esi
call fcn.006736b0
add esp, 0x28
push edi
push 0x11
push esi
call fcn.0066bb40
add esp, 0xc
jmp 0x659174
cmp dword [esp + 0x18], 0
je 0x6590ab
add eax, dword [esp + 0x68]
push eax
push 0x4b
push esi
call fcn.0066bba0
add esp, 0x10
jmp 0x659048
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 4]
push ebp
call fcn.0064a2d0
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [esi + 0x88]
dec ecx
cmp byte [eax + 0x49], 0
je 0x6590d5
mov eax, 0xb2e43c
jmp 0x6590e6
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x659048
cmp byte [eax], 0x46
jne 0x659048
cmp dword [ebx + 0x38], 0
jne 0x659110
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x27], 1
mov byte [eax], 0x73
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
jmp 0x659174
mov eax, dword [esi + 0x88]
add eax, 2
push eax
push edi
push 0x32
push esi
call fcn.0066bba0
add esp, 0x10
push edi
push 0x11
push esi
call fcn.0066bb40
add esp, 0xc
jmp 0x659174
cmp dword [ebx + 0x38], 0
jne 0x659162
cmp byte [esp + 0x54], 0
jne 0x659162
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x48]
push edi
push ecx
push 0x73
push esi
call fcn.0066bc10
add esp, 0x14
mov byte [esp + 0x27], 1
jmp 0x659174
mov edi, dword [esp + 0x20]
push edi
push 0
push 0x46
push esi
call fcn.0066bba0
add esp, 0x10
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x65918e
push edi
push eax
push 0x92
push dword [ebp + 8]
call fcn.0066bba0
add esp, 0x10
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x54], edx
xor ebx, ebx
cmp cx, word [eax + 0x2a]
jge 0x65936c
mov dword [esp + 0x20], ecx
lea ebx, [ebx]
mov edi, dword [esp + 0x70]
movsx eax, word [eax + 0x28]
add edi, ebx
cmp ebx, eax
jne 0x6591cf
push edi
push 0x47
push esi
call fcn.0066bb40
add esp, 0xc
jmp 0x659348
cmp dword [esp + 0xb0], 0
jne 0x659267
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 2
je 0x659261
inc edx
mov dword [esp + 0x54], edx
cmp byte [ebp + 0x17], 0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx + 4]
je 0x65930d
mov byte [esp + 0x94], 1
mov dword [esp + 0x84], fcn.00618a60
mov dword [esp + 0x88], 0x666430
mov dword [esp + 0x98], 0
test esi, esi
je 0x659251
lea eax, [esp + 0x80]
push esi
push eax
call fcn.00685c10
add esp, 8
cmp byte [esp + 0x94], 0
je 0x65930d
push edi
push esi
push ebp
call fcn.0064a3b0
add esp, 0xc
jmp 0x659344
mov eax, ebx
sub eax, edx
jmp 0x659293
mov edx, dword [esp + 0xb0]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x65929b
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], ebx
je 0x65928f
inc eax
add ecx, 8
cmp eax, edx
jl 0x659283
mov ecx, dword [esp + 0x20]
test eax, eax
js 0x6591f0
cmp dword [esp + 0x28], 0
je 0x6591f0
mov edx, dword [esp + 0xb0]
test edx, edx
je 0x6592ba
cmp eax, dword [edx + 4]
jge 0x6591f0
cmp byte [esp + 0x13], 0
je 0x6592d4
push edi
push eax
push dword [esp + 0x34]
push 0x60
push esi
call fcn.0066bc10
add esp, 0x14
jmp 0x659348
cmp dword [esp + 0x14], 0
je 0x6592f6
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x70]
je 0x65934c
push edi
add eax, edx
push eax
push 0x4c
push esi
call fcn.0066bba0
add esp, 0x10
jmp 0x659348
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*2]
push edi
push dword [ecx + eax*8 + 4]
push ebp
call fcn.0064a2d0
add esp, 0xc
jmp 0x659348
test esi, esi
je 0x659321
cmp byte [esi], 0x96
jne 0x659321
push edi
push dword [esi + 0x1c]
push 0x4b
push dword [ebp + 8]
jmp 0x65933c
push edi
push esi
push ebp
call fcn.0064ba40
add esp, 0xc
cmp eax, edi
je 0x659344
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x659344
push edi
push eax
push 0x4c
push ecx
call fcn.0066bba0
add esp, 0x10
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc ebx
mov edx, dword [esp + 0x54]
add ecx, 0x10
mov dword [esp + 0x20], ecx
movsx eax, word [eax + 0x2a]
cmp ebx, eax
mov eax, dword [esp + 0x1c]
jl 0x6591b0
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x38], 0
je 0x6593ed
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x65938c
mov eax, dword [esp + 0x38]
cmp dword [esi], eax
je 0x65938c
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x659381
push ebx
push ebp
call fcn.00677670
movsx eax, word [ebx + 0x2a]
push 0xfffffffffffffff4
push esi
push dword [esp + 0x60]
mov esi, dword [esp + 0x2c]
add eax, 2
push eax
push 1
push 0xc
push esi
call fcn.0066bc70
mov eax, dword [esp + 0xd8]
add esp, 0x24
mov edx, 2
cmp eax, 0xa
je 0x6593c6
mov edx, eax
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x6593db
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x6593e4
mov eax, ebp
mov byte [eax + 0x15], 1
jmp 0x6594a0
push 0
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
test eax, eax
push dword [esp + 0xc0]
setns al
movzx eax, al
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x90]
push dword [esp + 0x64]
push edi
push ebx
push ebp
call fcn.00654ce0
push 0
push 0
push dword [esp + 0x88]
push 0
push ebx
push ebp
call fcn.0064f820
add esp, 0x48
cmp dword [esp + 0x78], 0
je 0x659478
cmp dword [esp + 0x4c], 0
jne 0x659474
mov eax, dword [esp + 0x38]
test dword [eax + 0x1c], 0x4000
je 0x659478
mov eax, dword [ebx + 0x48]
push 0
push dword [ebx]
add eax, 0x38
push eax
call fcn.006198b0
add esp, 0xc
cmp dword [eax + 8], 0
je 0x659478
xor eax, eax
jmp 0x65947d
mov eax, 1
push eax
movzx eax, byte [esp + 0x2b]
push eax
push 0
push edi
push dword [esp + 0x60]
push dword [esp + 0x88]
push dword [esp + 0x5c]
push ebx
push ebp
call fcn.00646240
add esp, 0x24
mov edi, dword [esp + 0x38]
test byte [edi + 0x1c], 0x80
je 0x659500
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x5c]
cmp dword [eax + 0x30], ecx
jg 0x6594ce
push 0
push 1
push edx
push 0x50
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x659500
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
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, dword [esp + 0x4c]
test edx, edx
je 0x659532
push dword [esp + 0x34]
movsx eax, word [ebx + 0x2a]
push dword [esp + 0xb8]
mov ecx, dword [esp + 0x78]
sub ecx, eax
sub ecx, 2
push ecx
push ebx
push 2
push 0
push 0x6c
push edx
push ebp
call fcn.00645450
add esp, 0x24
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x659551
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
cmp byte [esp + 0x13], 0
je 0x6595f3
push dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
push ebx
push 7
push esi
call fcn.0066bba0
mov ecx, dword [esp + 0x7c]
add esp, 0x10
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x659581
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x659590
mov eax, 0xb2e43c
jmp 0x659599
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x6595bf
push 0
push 0
push ebx
push 0x70
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x65963d
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x65963d
cmp dword [esp + 0x14], 0
je 0x65963d
push dword [esp + 0x68]
push esi
call fcn.00673050
mov ecx, dword [esp + 0x74]
add esp, 8
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x659618
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x65962a
mov eax, 0xb2e43c
mov dword [eax + 8], edx
jmp 0x65963d
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x65963d
mov edi, dword [esp + 0x38]
cmp byte [ebp + 0x12], 0
jne 0x659658
cmp dword [ebp + 0x7c], 0
jne 0x659658
cmp dword [ebp + 0x74], 0
je 0x659658
push ebp
call fcn.0060b8e0
add esp, 4
test byte [edi + 0x1c], 0x80
je 0x6596a1
cmp byte [ebp + 0x12], 0
jne 0x6596a1
cmp dword [ebp + 0x7c], 0
jne 0x6596a1
push 1
push dword [esp + 0x60]
push 0x4e
push esi
call fcn.0066bba0
push 1
push esi
call fcn.00675d90
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x49], 0
jne 0x6596a1
push 0
push 1
push 0xffffffffffffffff
push str.rows_inserted
push dword [esi + 0x64]
call fcn.00674740
add esp, 0x14
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x14]
push dword [esp + 0xa8]
mov ebp, dword [esp + 0x3c]
push ebp
call fcn.006668d0
mov eax, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x6596d6
push eax
push ebp
call fcn.006186f0
add esp, 8
test ebx, ebx
je 0x6596e6
push 1
push ebx
push ebp
call fcn.00610420
add esp, 0xc
push esi
push ebp
call fcn.00657be0
add esp, 8
test edi, edi
je 0x659758
test ebp, ebp
je 0x65974f
cmp dword [ebp + 0x1d0], 0
je 0x659726
push edi
push ebp
call fcn.006311f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
jmp 0x6596b0
cmp edi, dword [ebp + 0x128]
jb 0x65974f
cmp edi, dword [ebp + 0x12c]
jae 0x65974f
mov eax, dword [ebp + 0x124]
mov dword [edi], eax
mov dword [ebp + 0x124], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push edi
call fcn.006014a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret