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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0
je 0x4ffaab
jmp 0x500dac
mov dword [ebp - 0x110], 0
cmp dword [ebp + 0x10], 0
je 0x4ffafc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
je 0x4ffafc
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x34], 0
jne 0x4ffafc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00511970
add esp, 8
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00512bc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ffb1a
jmp 0x500dac
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0050f3e0
add esp, 8
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0x12
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e66d0
add esp, 0x14
test eax, eax
je 0x4ffb5f
jmp 0x500dac
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
and eax, 0x80
je 0x4ffb78
mov dword [ebp - 0xa0], 1
jmp 0x4ffb82
mov dword [ebp - 0xa0], 0
mov cl, byte [ebp - 0xa0]
mov byte [ebp - 0x29], cl
lea edx, [ebp - 0x94]
push edx
push 0
push 0x7f
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005146c0
add esp, 0x14
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x2b]
cmp eax, 2
jne 0x4ffbc1
mov dword [ebp - 0xa4], 1
jmp 0x4ffbcb
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00527400
add esp, 8
test eax, eax
je 0x4ffbf0
jmp 0x500dac
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00501400
add esp, 0xc
test eax, eax
je 0x4ffc10
jmp 0x500dac
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fe6e0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ffc2a
jmp 0x500dac
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4ffc41
mov ecx, dword [ebp - 8]
push ecx
call fcn.00518210
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x4ffc59
cmp dword [ebp - 0x54], 0
jne 0x4ffc59
mov dword [ebp - 0xa8], 0
jmp 0x4ffc63
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e73c0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4ffcb1
cmp dword [ebp + 0x10], 0
je 0x4ffcb1
cmp dword [ebp - 0x54], 0
jne 0x4ffcb1
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005456f0
add esp, 0x14
test eax, eax
je 0x4ffcb1
jmp 0x500d71
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b6540
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x22]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
lea edx, [edx + ecx + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x4ffd15
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
and eax, 0x440
jne 0x4ffd37
mov dword [ebp - 0xac], 1
jmp 0x4ffd41
mov dword [ebp - 0xac], 0
mov cl, byte [ebp - 0xac]
mov byte [ebp - 0x1d], cl
cmp dword [ebp + 0x14], 0
je 0x4ffecb
mov dword [ebp - 0xc], 0
jmp 0x4ffd66
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 4]
jge 0x4ffd83
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword [eax + ecx*8 + 4], 0xffffffff
jmp 0x4ffd5d
mov dword [ebp - 0xc], 0
jmp 0x4ffd95
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 4]
jge 0x4ffecb
mov dword [ebp - 0x14], 0
jmp 0x4ffdb6
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x14], ecx
jge 0x4ffe5e
mov edx, dword [ebp - 0x14]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*8]
push eax
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4ffe59
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8 + 4], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
je 0x4ffe09
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x20]
cmp dword [ebp - 0x14], ecx
jne 0x4ffe1b
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
movzx eax, word [edx + eax + 0xe]
and eax, 0x60
je 0x4ffe57
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx]
push ecx
push str.cannot_INSERT_into_generated_column___s_
mov edx, dword [ebp + 8]
push edx
call fcn.004f2f90
add esp, 0xc
jmp 0x500dac
jmp 0x4ffe5e
jmp 0x4ffdad
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x14], ecx
jl 0x4ffec6
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx*8]
push edx
call fcn.00501470
add esp, 4
test eax, eax
je 0x4ffe96
movzx eax, byte [ebp - 0x29]
test eax, eax
jne 0x4ffe96
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x1d], 0
jmp 0x4ffec6
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx*8]
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
push str.table__S_has_no_column_named__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f2f90
add esp, 0x10
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 1
jmp 0x500dac
jmp 0x4ffd8c
cmp dword [ebp + 0x10], 0
je 0x500121
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005182f0
add esp, 4
add eax, 1
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push eax
push 0
mov ecx, dword [ebp - 0x80]
push ecx
push 0xd
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
mov eax, dword [ebp - 0x80]
push eax
push 0xd
lea ecx, [ebp - 0x114]
push ecx
call fcn.00511990
add esp, 0xc
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x4fff51
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
jmp 0x4fff5b
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x22]
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050f470
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0xe0], 0
jne 0x4fffac
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0
je 0x4fffb1
jmp 0x500dac
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00518980
add esp, 8
mov edx, dword [ebp - 0xb8]
sub edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x54], 0
jne 0x500000
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004dbf80
add esp, 0xc
test eax, eax
je 0x500004
mov byte [ebp - 0xd], 1
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x50011f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fd640
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp + 8]
push edx
call fcn.004fd640
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x74
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
mov eax, dword [ebp - 0x110]
push eax
push 0xe
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0x60
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x7e
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0x7f
mov eax, dword [ebp - 8]
push eax
call fcn.00517970
add esp, 0x14
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00522700
add esp, 8
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 8
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050d470
add esp, 8
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050d470
add esp, 8
jmp 0x500177
push 0x20
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.0057ccd0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x34], 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x500170
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0050d8f0
add esp, 8
test eax, eax
je 0x50016e
jmp 0x500dac
jmp 0x500177
mov dword [ebp - 0x38], 0
cmp dword [ebp + 0x14], 0
jne 0x500266
cmp dword [ebp - 0x38], 0
jle 0x500266
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x20]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jl 0x5001e1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
and eax, 0x60
je 0x5001e1
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x5001ba
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jl 0x5001e1
mov eax, dword [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
movzx eax, word [edx + eax + 0xe]
and eax, 0x60
je 0x5001df
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x5001b1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
and eax, 0x62
je 0x50022b
mov dword [ebp - 0xc], 0
jmp 0x5001fe
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0xc], eax
jge 0x50022b
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx + 0xe]
and ecx, 0x62
je 0x500229
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
jmp 0x5001f5
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
sub ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x38], ecx
je 0x500266
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
sub ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
push str.table__S_has__d_columns_but__d_values_were_supplied
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 0x14
jmp 0x500dac
cmp dword [ebp + 0x14], 0
je 0x500298
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 4]
je 0x500298
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push str._d_values_for__d_columns
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 0x10
jmp 0x500dac
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x20]
and edx, 0
mov eax, dword [ecx + 0x24]
and eax, 1
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf8]
or ecx, dword [ebp - 0xf4]
je 0x50031b
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x50031b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x50031b
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
jne 0x50031b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc0]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
push 0
push 0x47
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517950
add esp, 0x10
cmp dword [ebp - 0x98], 0
jne 0x50041d
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x70
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00503b90
add esp, 0x20
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
lea ecx, [eax*4 + 8]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f0400
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x500379
jmp 0x500dac
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x8c], edx
jmp 0x5003a6
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xc4]
jge 0x5003f3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x8c]
movzx eax, word [edx + 0x34]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], eax
jmp 0x50038e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xcc]
mov dword [edx + ecx*4], eax
cmp dword [ebp + 0x1c], 0
je 0x5004fc
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x50044f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push str.UPSERT_not_implemented_for_virtual_table___s_
mov edx, dword [ebp + 8]
push edx
call fcn.004f2f90
add esp, 0xc
jmp 0x500dac
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 2
jne 0x500471
push str.cannot_UPSERT_a_view
mov edx, dword [ebp + 8]
push edx
call fcn.004f2f90
add esp, 8
jmp 0x500dac
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004fe780
add esp, 8
test eax, eax
je 0x50048c
jmp 0x500dac
mov eax, 0x48
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x48]
mov dword [edx + ecx + 0x34], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x68]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0
je 0x5004ed
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005167b0
add esp, 0xc
test eax, eax
je 0x5004ed
jmp 0x500dac
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x5004a4
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x50052a
mov edx, dword [ebp - 0x34]
push edx
push 0x26
mov eax, dword [ebp - 8]
push eax
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005182f0
add esp, 4
mov dword [ebp - 0x6c], eax
jmp 0x50056d
cmp dword [ebp + 0x10], 0
je 0x50056d
mov edx, dword [ebp - 0x110]
push edx
push 0xe
mov eax, dword [ebp - 8]
push eax
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x18], 0
jl 0x50056d
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x18]
push eax
push 0x4f
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517950
add esp, 0x10
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0xc], 0
jmp 0x500595
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0xc], eax
jge 0x500799
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0xc], edx
jne 0x5005c5
mov eax, dword [ebp - 0x24]
push eax
push 0x4b
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517930
add esp, 0xc
jmp 0x500583
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edx + 0xe]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
and eax, 0x62
je 0x500673
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x90]
and edx, 0x20
je 0x50060f
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
jmp 0x500583
mov ecx, dword [ebp - 0x90]
and ecx, 0x40
je 0x50063e
mov edx, dword [ebp - 0x94]
and edx, 1
je 0x500637
mov eax, dword [ebp - 0x24]
push eax
push 0x4b
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517930
add esp, 0xc
jmp 0x500583
cmp dword [ebp + 0x14], 0
jne 0x500673
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 4]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004ed6e0
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004f4120
add esp, 0xc
jmp 0x500583
cmp dword [ebp + 0x14], 0
je 0x5006eb
mov dword [ebp - 0x14], 0
jmp 0x50068b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jge 0x5006a9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + eax*8 + 4]
cmp ecx, dword [ebp - 0xc]
je 0x5006a9
jmp 0x500682
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jl 0x5006e3
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
add edx, dword [eax + 4]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ed6e0
add esp, 8
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004f4120
add esp, 0xc
jmp 0x500583
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
jmp 0x50072b
cmp dword [ebp - 0x38], 0
jne 0x500722
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
add edx, dword [eax + 4]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ed6e0
add esp, 8
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004f4120
add esp, 0xc
jmp 0x500583
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x50074f
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x5d
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
jmp 0x500794
cmp dword [ebp + 0x10], 0
je 0x500778
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x68]
je 0x500776
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x70]
push edx
push 0x50
mov eax, dword [ebp - 8]
push eax
call fcn.00517950
add esp, 0x10
jmp 0x500794
mov ecx, dword [ebp - 0x24]
push ecx
imul edx, dword [ebp - 0x70], 0x14
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f3e70
add esp, 0xc
jmp 0x500583
mov eax, dword [ebp + 8]
push eax
call fcn.005233d0
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x94]
and ecx, 1
je 0x500937
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x22]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fd5c0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], 0
jge 0x5007f0
mov edx, dword [ebp - 0x30]
push edx
push 0xffffffffffffffff
push 0x47
mov eax, dword [ebp - 8]
push eax
call fcn.00517950
add esp, 0x10
jmp 0x500881
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x500814
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x5d
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
jmp 0x500830
mov eax, dword [ebp - 0x30]
push eax
imul ecx, dword [ebp - 0x18], 0x14
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f3e70
add esp, 0xc
mov edx, dword [ebp - 0x30]
push edx
push 0x33
mov eax, dword [ebp - 8]
push eax
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0xffffffffffffffff
push 0x47
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 8
mov edx, dword [ebp - 0x30]
push edx
push 0xf
mov eax, dword [ebp - 8]
push eax
call fcn.00517930
add esp, 0xc
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x24]
sub edx, 1
push edx
mov eax, dword [ebp - 0x30]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
push 0x4f
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
and ecx, 0x60
je 0x5008ca
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x30]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004edfc0
add esp, 0xc
cmp dword [ebp - 0x98], 0
jne 0x5008ea
mov edx, dword [ebp - 0x30]
add edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00513b80
add esp, 0xc
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x22]
mov eax, dword [ebp - 0x30]
sub eax, edx
sub eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0
push 0x7f
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004ece90
add esp, 0x24
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x22]
add edx, 1
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050d430
add esp, 0xc
cmp dword [ebp - 0x98], 0
jne 0x500ca7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
jne 0x500964
mov ecx, dword [ebp - 0x50]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
cmp dword [ebp - 0x18], 0
jl 0x500aa2
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x500992
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0x5d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517970
add esp, 0x14
jmp 0x500a01
cmp dword [ebp + 0x10], 0
je 0x50099a
jmp 0x500a01
imul edx, dword [ebp - 0x18], 0x14
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
movzx eax, byte [edx]
cmp eax, 0x79
jne 0x5009e5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x5009e5
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0x7e
mov eax, dword [ebp - 8]
push eax
call fcn.00517970
add esp, 0x14
mov byte [ebp - 0xe], 1
jmp 0x500a01
mov ecx, dword [ebp - 0x1c]
push ecx
imul edx, dword [ebp - 0x18], 0x14
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f3e70
add esp, 0xc
movzx eax, byte [ebp - 0xe]
test eax, eax
jne 0x500aa0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x500a60
mov eax, dword [ebp - 0x1c]
push eax
push 0x33
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x7e
mov edx, dword [ebp - 8]
push edx
call fcn.00517970
add esp, 0x14
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 8
jmp 0x500a8e
mov edx, dword [ebp - 8]
push edx
call fcn.005182f0
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
add eax, 2
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x32
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 0xf
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517930
add esp, 0xc
jmp 0x500aea
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x500ab6
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
je 0x500acc
mov edx, dword [ebp - 0x1c]
push edx
push 0
push 0x4a
mov eax, dword [ebp - 8]
push eax
call fcn.00517950
add esp, 0x10
jmp 0x500aea
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x48]
push eax
push 0x7e
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517970
add esp, 0x14
mov byte [ebp - 0xe], 1
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b66d0
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
and eax, 0x60
je 0x500b20
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004edfc0
add esp, 0xc
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x500bbe
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004fe1b0
add esp, 8
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005283f0
add esp, 8
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
add ecx, 2
push ecx
push 1
push 0xa
mov edx, dword [ebp - 8]
push edx
call fcn.00517a10
add esp, 0x1c
cmp dword [ebp + 0x18], 0xb
jne 0x500b90
mov dword [ebp - 0xd0], 2
jmp 0x500b99
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
movzx ecx, word [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00517fa0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.005030a0
add esp, 4
jmp 0x500ca7
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0x18], 0
jl 0x500bda
mov dword [ebp - 0xd4], 1
jmp 0x500be4
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x78]
push eax
movzx ecx, byte [ebp + 0x18]
push ecx
movzx edx, byte [ebp - 0xd4]
push edx
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004fb540
add esp, 0x34
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004fa260
add esp, 0x18
cmp dword [ebp - 0xd8], 0
je 0x500c63
mov eax, dword [ebp - 8]
push eax
call fcn.00522c90
add esp, 4
test eax, eax
je 0x500c63
mov dword [ebp - 0xdc], 0
jmp 0x500c6d
mov dword [ebp - 0xdc], 1
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
push edx
movzx eax, byte [ebp - 0xe]
push eax
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004eddc0
add esp, 0x24
cmp dword [ebp - 0x58], 0
je 0x500cc1
push 1
mov ecx, dword [ebp - 0x58]
push ecx
push 0x55
mov edx, dword [ebp - 8]
push edx
call fcn.00517950
add esp, 0x10
cmp dword [ebp - 0x54], 0
je 0x500cf9
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x68]
sub edx, 2
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x22]
sub edx, ecx
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push 0
push 0x7f
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ece90
add esp, 0x24
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00525ef0
add esp, 8
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x500d4b
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 5
mov ecx, dword [ebp - 8]
push ecx
call fcn.00517950
add esp, 0x10
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 8
mov ecx, dword [ebp - 0x34]
push ecx
push 0x79
mov edx, dword [ebp - 8]
push edx
call fcn.00517930
add esp, 0xc
jmp 0x500d71
cmp dword [ebp + 0x10], 0
je 0x500d71
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522700
add esp, 8
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x500d91
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x500d91
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e6ca0
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x500dac
push str.rows_inserted
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004ec7d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.005125c0
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004f80a0
add esp, 8
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00516b60
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00511970
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004febd0
add esp, 8
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f0290
add esp, 8
mov esp, ebp
pop ebp
ret