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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp dword [ebx + 0x24], 0
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], eax
jne 0x51ada2
cmp byte [eax + 0x51], 0
jne 0x51ada2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x519c6b
test dword [ecx + 4], 0x200
je 0x519c6b
cmp dword [ecx + 0x34], 0
jne 0x519c6b
mov edx, dword [ecx + 0x1c]
push 1
push ecx
push eax
mov dword [ebp - 0x3c], edx
mov dword [ecx + 0x1c], 0
call fcn.004e0e10
add esp, 0xc
mov dword [ebp - 0xc], 0
push edi
push ebx
call fcn.00529ec0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x519f17
mov ecx, dword [edi + 0x48]
mov esi, 0xfff0bdc0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
test ecx, ecx
je 0x519cae
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [ebp - 0x34], esi
cmp dword [eax], ecx
je 0x519cae
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x519ca3
mov dword [ebp - 0x34], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [edi]
push 0x12
push ebx
call fcn.00504090
add esp, 0x14
test eax, eax
jne 0x519f14
mov eax, dword [edi + 0x24]
shr eax, 7
and eax, 0xffffff01
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x7d
push edi
push ebx
call fcn.0052b660
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x84], eax
call fcn.0053b050
add esp, 0x1c
test eax, eax
jne 0x519f14
push dword [ebp - 0x80]
push edi
push ebx
call fcn.0051af40
add esp, 0xc
test eax, eax
jne 0x519f14
push ebx
call fcn.00518900
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
test edi, edi
je 0x519f14
cmp byte [ebx + 0x12], 0
jne 0x519d45
or dword [edi + 0x98], 0x10
cmp dword [ebp - 0xc], 0
jne 0x519d55
cmp dword [ebp - 0x54], 0
jne 0x519d55
xor eax, eax
jmp 0x519d5a
mov eax, 1
push esi
push eax
push ebx
call fcn.00504ab0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x519d86
push esi
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
call fcn.00556a70
add esp, 0x14
test eax, eax
jne 0x51ad13
push dword [ebp - 8]
push esi
push ebx
call fcn.004dbc30
mov ecx, dword [ebx + 0x2c]
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x38], eax
movsx eax, word [edx + 0x2a]
inc eax
mov dword [ebp - 0x1c], esi
add eax, ecx
mov dword [ebx + 0x2c], eax
cmp dword [edx + 0x38], 0
je 0x519dbf
inc esi
inc eax
mov dword [ebp - 0x1c], esi
mov dword [ebx + 0x2c], eax
test dword [edx + 0x24], 0x440
lea eax, [esi + 1]
mov esi, dword [ebp + 0x14]
sete byte [ebp + 0x13]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x519feb
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
jle 0x519df6
mov eax, dword [esi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [esi + 4]
cmp ecx, eax
jl 0x519de4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x519feb
movzx eax, word [edx + 0x2a]
cwde
xor esi, esi
mov dword [ebp - 0x8c], eax
test eax, eax
jle 0x519e82
mov eax, dword [ebp + 0x14]
mov edi, dword [edx + 4]
mov eax, dword [eax]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x44], eax
push dword [edi]
push dword [eax]
call fcn.0052a8d0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x519e43
inc esi
add edi, 0x14
cmp esi, dword [ebp - 0x8c]
jl 0x519e22
jmp 0x519e7c
mov dword [eax + 4], esi
xor ecx, ecx
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], esi
mov edx, dword [eax + 4]
movzx eax, byte [ebp + 0x13]
cmove ecx, eax
mov eax, dword [ebp - 8]
mov byte [ebp + 0x13], cl
mov ecx, dword [ebp - 0x18]
movsx eax, word [eax + 0x28]
cmp esi, eax
lea eax, [esi + esi*4]
cmovne ecx, dword [ebp - 0x20]
test byte [edx + eax*4 + 0x10], 0x60
mov dword [ebp - 0x20], ecx
jne 0x519f00
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [edx + 0x2a]
mov edi, eax
cwde
cmp esi, eax
jl 0x519ee9
mov eax, dword [ebp + 0x14]
push str._ROWID_
mov eax, dword [eax]
mov esi, dword [eax + ecx*8]
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
je 0x519ecf
push str.ROWID
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
je 0x519ecf
push 0x592c8c
push esi
call fcn.0052a8d0
add esp, 8
test eax, eax
jne 0x519fcb
cmp byte [ebp - 0x90], 0
jne 0x519fcb
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov byte [ebp + 0x13], 0
mov eax, dword [ebp + 0x14]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 4]
jge 0x519fe8
mov eax, edi
jmp 0x519e07
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.0050e100
add esp, 0xc
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
call fcn.00529870
mov eax, dword [ebp - 0x3c]
add esp, 8
test eax, eax
je 0x519f3a
push eax
push ebx
call fcn.004e9640
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x519f99
mov eax, dword [eax]
test eax, eax
je 0x519f51
push eax
push ebx
call fcn.004e9640
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x519f65
push eax
push ebx
call fcn.005115e0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x519f79
push eax
push ebx
call fcn.004e9640
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x519f8d
push eax
push ebx
call fcn.005115e0
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.0050c2a0
add esp, 8
test edi, edi
je 0x519fa9
push 1
push edi
push ebx
call fcn.004e0e10
add esp, 0xc
push esi
push ebx
call fcn.00518e30
mov eax, dword [ebp - 0x40]
add esp, 8
test eax, eax
je 0x519fc4
push eax
push ebx
call fcn.0050c2a0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push dword [ebp + 0xc]
push str.table__S_has_no_column_named__s
push ebx
call fcn.0050e100
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x519f14
mov edi, dword [ebp - 4]
cmp dword [ebp - 0xc], 0
je 0x51a1fd
inc dword [ebx + 0x2c]
mov edi, dword [edi + 0x6c]
mov esi, dword [ebx + 0x2c]
lea eax, [edi + 1]
push eax
push 0
push esi
push 0xd
push dword [ebp - 4]
call fcn.0052e0c0
xor eax, eax
mov byte [ebp - 0x74], 0xd
cmp byte [ebp + 0x13], al
mov dword [ebp - 0x70], esi
cmovne eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], 0
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.005263a0
mov ecx, dword [ebp - 0x6c]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x519f14
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x51], 0
jne 0x519f14
cmp dword [ebx + 0x24], 0
jne 0x519f14
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.0052f030
push edi
push esi
call fcn.00537940
mov eax, dword [ebp - 0xc]
add esp, 0x10
cmp dword [ebp - 0x54], 0
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jne 0x51a162
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x51a0b8
cmp dword [ebx + 0x74], eax
jne 0x51a0ac
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x51a0ac
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ea50
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x8c], ecx
cmp dword [edx + 0x38], 0
je 0x51a0e3
mov edx, dword [edx + 0x40]
test edx, edx
je 0x51a0e5
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x51a0de
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x51a0d3
mov eax, dword [ebp - 0x14]
jmp 0x51a0e5
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x51a154
mov eax, dword [eax]
mov al, byte [eax + 0x51]
mov byte [ebp + 0x13], al
test al, al
je 0x51a101
mov eax, 0x5b6fa4
jmp 0x51a10d
mov eax, dword [ebp - 0x14]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x51a13e
mov ecx, dword [ebp - 0x34]
cmp dword [eax + 0xc], ecx
jne 0x51a148
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x51a162
mov eax, dword [eax + 8]
test eax, eax
je 0x51a148
mov edi, edi
cmp ecx, dword [eax + 0x2c]
je 0x51a162
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x51a130
jmp 0x51a148
cmp cl, 0xa5
jne 0x51a148
cmp dword [eax + 0x10], edx
je 0x51a162
mov al, byte [ebp + 0x13]
inc edi
cmp edi, dword [ebp - 0x8c]
jl 0x51a0f6
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x51a246
mov edx, dword [ebx + 0x28]
push ebx
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x24], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
call fcn.00517fc0
push ebx
mov edi, eax
call fcn.00517fc0
push dword [ebp - 0x18]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.0052e060
mov eax, dword [ebp - 0x70]
push eax
push 0xe
push esi
mov dword [ebp - 0x14], eax
call fcn.0052e000
push edi
push dword [ebp - 0x18]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.0052e0c0
push ebx
push dword [ebp - 0x24]
push 0x78
push dword [ebp - 4]
call fcn.0052e060
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x24]
push 0x79
push dword [ebp - 4]
call fcn.0052e0c0
push esi
push dword [ebp - 4]
call fcn.00537510
push esi
push dword [ebp - 4]
call fcn.00537940
push edi
push dword [ebp + 8]
call fcn.00524320
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00524320
mov esi, dword [ebp - 0x18]
add esp, 0x34
jmp 0x51a246
xor eax, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], 0xffffffff
test eax, eax
je 0x51a241
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], esi
push eax
call fcn.00524810
add esp, 8
test eax, eax
jne 0x519f14
jmp 0x51a246
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x51a299
test esi, esi
jle 0x51a299
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x51a299
test byte [edi + 0x24], 0x60
je 0x51a299
lea edx, [eax - 1]
test edx, edx
js 0x51a299
mov eax, dword [edi + 4]
lea ecx, [edx + 1]
mov ebx, dword [ebp - 0x20]
lea ecx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
lea ebx, [ebx]
test byte [ecx], 0x60
lea eax, [ebx - 1]
lea ecx, [ecx - 0x14]
cmove eax, ebx
sub edx, 1
mov ebx, eax
jns 0x51a280
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x51a2c5
mov ecx, dword [edi + 4]
mov edx, esi
add ecx, 0x10
xor edi, edi
jmp 0x51a2b0
test byte [ecx], 0x62
lea eax, [edi + 1]
lea ecx, [ecx + 0x14]
cmove eax, edi
mov edi, eax
sub edx, 1
jne 0x51a2b0
jmp 0x51a2c7
xor edi, edi
cmp dword [ebp + 0x14], 0
mov edx, dword [ebp - 0x18]
jne 0x51a2f4
test edx, edx
je 0x51a313
sub esi, edi
cmp edx, esi
je 0x51a313
push edx
push esi
push 0
push dword [ebp + 0xc]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebx
call fcn.0050e100
add esp, 0x18
jmp 0x519f14
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
cmp edx, eax
je 0x51a313
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.0050e100
add esp, 0x10
jmp 0x519f17
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x51a34a
cmp byte [ebx + 0x12], 0
jne 0x51a34a
cmp dword [ebx + 0x78], 0
jne 0x51a34a
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x45
push dword [ebp - 4]
mov dword [ebp - 0x88], eax
call fcn.0052e060
add esp, 0x10
cmp dword [ebp - 0x84], 0
jne 0x51a3cc
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
push esi
push ebx
call fcn.0051d3c0
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push dword [ebp - 0x30]
call fcn.0050c3b0
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x519f14
mov esi, dword [esi + 8]
xor edx, edx
test edi, edi
jle 0x51a3c2
lea ebx, [ebx]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [esi + 0x34]
mov eax, dword [ebx + 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0x2c], eax
mov esi, dword [esi + 0x14]
cmp edx, edi
jl 0x51a3a0
jmp 0x51a3c5
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [ecx + edx*4], eax
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x51a441
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x51a3e8
push dword [eax]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x519f0b
cmp dword [eax + 0xc], 0
je 0x51a401
push str.cannot_UPSERT_a_view
push ebx
call fcn.0050e100
add esp, 8
jmp 0x519f14
push dword [esi]
push ebx
call fcn.005189b0
add esp, 8
test eax, eax
jne 0x519f14
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ecx + 0x34], eax
cmp dword [esi], 0
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], eax
je 0x51a444
push esi
push ecx
push ebx
call fcn.0052d5a0
add esp, 0xc
jmp 0x51a444
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
mov esi, dword [ebp - 4]
je 0x51a466
push dword [ebp - 0x24]
push 0x25
push esi
call fcn.0052e000
mov dword [ebp - 0x5c], eax
add esp, 0xc
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x58], eax
jmp 0x51a49d
cmp dword [ebp - 0xc], 0
je 0x51a49d
push dword [ebp - 0x14]
push 0xe
push esi
call fcn.0052e000
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], edx
test eax, eax
js 0x51a49d
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.0052e060
add esp, 0x10
mov eax, dword [ebp - 8]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp + 0x10], ecx
cmp dx, word [eax + 0x2a]
jge 0x51a779
mov dword [ebp - 0x44], edx
jmp 0x51a4c0
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x51a519
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x51a4e5
push 0
push 0
push edi
push 0x49
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x51a758
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x51a758
mov eax, dword [ebp - 8]
mov esi, dword [eax + 4]
movzx eax, word [esi + edx + 0x10]
add esi, edx
test al, 0x62
je 0x51a61f
inc dword [ebp - 0x34]
test al, 0x20
je 0x51a53e
mov esi, dword [ebp - 4]
dec edi
jmp 0x51a75b
test al, 0x40
je 0x51a554
test byte [ebp - 0x80], 1
mov esi, dword [ebp - 4]
je 0x51a75b
jmp 0x51a4c8
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x51a626
cmp byte [ebx + 0x17], 0
mov esi, dword [esi + 4]
je 0x51a5ae
mov dword [ebp - 0x60], 0
mov eax, 2
mov dword [ebp - 0x70], 0x5292c0
mov dword [ebp - 0x74], fcn.004e9900
mov word [ebp - 0x64], ax
test esi, esi
je 0x51a59e
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.0054d870
add esp, 8
cmp word [ebp - 0x64], 0
je 0x51a5ae
push edi
push esi
push ebx
call fcn.0050fdd0
add esp, 0xc
jmp 0x51a755
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x51a5cc
push 0
push 0
push esi
push eax
call fcn.004e8ed0
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 0x14]
jmp 0x51a5ce
xor esi, esi
cmp byte [eax + 0x51], 0
jne 0x51a608
push edi
push esi
push ebx
call fcn.0050ff70
add esp, 0xc
cmp eax, edi
je 0x51a605
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x51a605
push edi
push eax
mov eax, dword [esi + 4]
and eax, 0x200000
neg eax
sbb eax, eax
add eax, 0x4e
push eax
push ecx
call fcn.0052e060
add esp, 0x10
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x51a755
push esi
push eax
call fcn.005115e0
add esp, 8
jmp 0x51a755
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x51a653
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
jle 0x51a646
mov eax, dword [eax]
mov ebx, dword [ebp + 0x10]
add eax, 4
cmp dword [eax], ebx
je 0x51a643
inc edx
add eax, 8
cmp edx, ecx
jl 0x51a637
mov ebx, dword [ebp + 8]
cmp edx, ecx
jge 0x51a55f
mov ecx, dword [ebp + 0x10]
jmp 0x51a662
cmp dword [ebp - 0x18], 0
je 0x51a55f
mov edx, ecx
sub edx, dword [ebp - 0x34]
cmp byte [ebp - 0xd], 0
je 0x51a6ba
mov esi, dword [ebp - 4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x51a688
push edi
push edx
push dword [ebp - 0x24]
push 0x59
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x51a758
mov ebx, dword [ebp - 0x24]
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], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x51a758
cmp dword [ebp - 0xc], 0
je 0x51a71a
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 4]
cmp eax, dword [ebp - 0x28]
je 0x51a75b
mov ecx, dword [esi + 0x6c]
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x51a6ea
push 0
push edi
push edx
push 0x4e
push esi
call fcn.004efbc0
add esp, 0x14
jmp 0x51a758
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
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
jmp 0x51a758
mov ecx, dword [ebp - 0x3c]
lea eax, [edx + edx*4]
push edi
mov esi, dword [ecx + eax*4 + 4]
push esi
push ebx
call fcn.0050ff70
add esp, 0xc
cmp eax, edi
je 0x51a755
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x51a755
push edi
push eax
mov eax, dword [esi + 4]
and eax, 0x200000
neg eax
sbb eax, eax
add eax, 0x4e
push eax
push ecx
call fcn.0052e060
add esp, 0x10
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
inc ecx
add dword [ebp - 0x44], 0x14
inc edi
mov edx, dword [ebp - 0x44]
mov dword [ebp + 0x10], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [ebp - 8]
jl 0x51a4c0
dec dword [ebx + 0x38]
test byte [ebp - 0x80], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x51a91d
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.00517f60
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x20]
push esi
test eax, eax
jns 0x51a7b9
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.0052e060
add esp, 0x10
jmp 0x51a83b
cmp byte [ebp - 0xd], 0
je 0x51a7d2
push eax
push dword [ebp - 0x24]
push 0x59
push dword [ebp - 4]
call fcn.0052e0c0
add esp, 0x14
jmp 0x51a7e5
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.0050eb60
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.0052e000
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.0052e060
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x51a80f
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x51a81e
mov eax, 0x5b6fa4
jmp 0x51a82a
mov eax, dword [ebp - 4]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
push esi
push 0xf
push dword [ebp - 4]
mov dword [eax + 8], edx
call fcn.0052e000
add esp, 0xc
mov eax, dword [ebp - 8]
lea edi, [esi + 1]
movsx edx, word [eax + 0x2c]
mov eax, dword [ebp - 4]
dec edx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x51a863
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004efbc0
add esp, 0x14
jmp 0x51a895
mov ebx, dword [ebp - 4]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 0x60
je 0x51a8ac
push eax
push edi
push ebx
call fcn.0050a980
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x84], 0
jne 0x51a8c2
push edi
push eax
push dword [ebp - 4]
call fcn.0052a980
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, esi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x18]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x7d
push dword [ebp - 0x54]
push ebx
call fcn.005097e0
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x51a910
test esi, esi
je 0x51a920
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x51a920
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x51a920
cmp eax, dword [ebx + 0x1c]
jle 0x51a920
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x51a920
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x84], 0
jne 0x51ac0a
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x51a94d
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.0052e060
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x20]
test eax, eax
js 0x51aa21
cmp byte [ebp - 0xd], 0
je 0x51a972
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push 0x59
push esi
call fcn.0052e0c0
add esp, 0x14
jmp 0x51a9b6
cmp dword [ebp - 0xc], 0
jne 0x51a9b6
mov edx, dword [ebp - 0x3c]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x51a9a9
test ecx, ecx
jne 0x51a9a9
push dword [ebp - 0x4c]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0052e0c0
add esp, 0x14
mov esi, 1
jmp 0x51aa5a
push dword [ebp - 0x1c]
push eax
push ebx
call fcn.0050eb60
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x51a9fc
push dword [ebp - 0x1c]
push 0x33
push esi
call fcn.0052e000
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.0052e0c0
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00537940
add esp, 0x28
push dword [ebp - 0x1c]
push 0xf
push esi
call fcn.0052e000
add esp, 0xc
jmp 0x51aa58
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x1c]
push 0x32
push esi
call fcn.0052e060
add esp, 0x10
push dword [ebp - 0x1c]
push 0xf
push esi
call fcn.0052e000
add esp, 0xc
jmp 0x51aa58
test ecx, ecx
jne 0x51aa48
cmp byte [ebp - 0x90], cl
jne 0x51aa48
push dword [ebp - 0x4c]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0052e0c0
add esp, 0x14
mov esi, 1
jmp 0x51aa5a
push dword [ebp - 0x1c]
push 0
push 0x48
push esi
call fcn.0052e060
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x51aa75
push dword [ebp - 0x1c]
push eax
push 0x97
push dword [ebx + 8]
call fcn.0052e060
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x51aa8e
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.0050a980
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x51ab8d
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x51aaad
mov eax, dword [ebp - 0x30]
cmp dword [esi], eax
je 0x51aaad
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x51aaa2
push ecx
push ebx
call fcn.0053bc40
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [ebp - 4]
movsx edi, word [eax + 0x2a]
mov edx, dword [ecx + 0x6c]
add edi, 2
cmp dword [ecx + 0x70], edx
jg 0x51aae3
push dword [ebp - 0x38]
push edi
push 1
mov edi, ecx
push 0xa
push edi
call fcn.004efbc0
add esp, 0x14
mov edx, eax
jmp 0x51ab1a
mov ebx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0x38]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp - 4]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x51ab57
test edx, edx
jns 0x51ab2a
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x51ab49
push 0xfffffffffffffff4
push esi
push eax
push edi
call fcn.005477a0
add esp, 0x10
jmp 0x51ab57
test esi, esi
je 0x51ab57
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x51ab7a
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
movzx edx, cx
mov ecx, 2
cmove edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x51ac0d
mov eax, dword [ebp + 0x1c]
push eax
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp + 0x18]
mov edi, dword [ebp - 0x38]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x2c]
push dword [ebp - 0x40]
push ecx
push ebx
call fcn.005155a0
push 0
push 0
push edi
push 0
push dword [ebp - 8]
push ebx
call fcn.00514550
mov edi, dword [ebp - 4]
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x51abe6
cmp dword [edi + 0xd8], 0
je 0x51abe6
xor eax, eax
jmp 0x51abeb
mov eax, 1
push eax
push esi
mov esi, dword [ebp - 8]
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push dword [ebp - 0x50]
push dword [ebp - 0x2c]
push esi
push ebx
call fcn.0050a770
add esp, 0x24
jmp 0x51ac10
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x51ac28
push 1
push eax
push 0x52
push edi
call fcn.0052e060
add esp, 0x10
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x51ac53
push dword [ebp + 0x10]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7d
push edx
push ebx
call fcn.005097e0
add esp, 0x24
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x51ac70
push edx
push edi
push ecx
call fcn.004fd7d0
add esp, 0xc
jmp 0x51ac79
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [ebp - 0xd], 0
je 0x51acd8
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x24]
push esi
push 5
push edi
call fcn.0052e060
mov eax, dword [edi]
add esp, 0x10
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x51acb2
mov eax, 0x5b6fa4
push esi
push 0x74
push edi
mov dword [eax + 8], edx
call fcn.0052e000
add esp, 0xc
jmp 0x51ad13
mov ecx, dword [ebp - 0x5c]
lea eax, [edx - 1]
test ecx, ecx
push esi
cmovns eax, ecx
push 0x74
push edi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
call fcn.0052e000
add esp, 0xc
jmp 0x51ad13
cmp dword [ebp - 0xc], 0
je 0x51ad13
push dword [ebp - 0x58]
push edi
call fcn.00537510
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x51acfc
mov eax, 0x5b6fa4
jmp 0x51ad10
mov ecx, dword [ebp - 0x5c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x51ad2e
cmp dword [ebx + 0x78], 0
jne 0x51ad2e
cmp dword [ebx + 0x70], 0
je 0x51ad2e
push ebx
call fcn.004dbd20
add esp, 4
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x519f14
push 1
push eax
push 0x50
push edi
call fcn.0052e060
push 1
push edi
call fcn.0053a5b0
mov eax, dword [edi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x519f14
mov esi, dword [edi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x51ad72
cmp dword [esi + 0x18], 0
je 0x51ad7b
push esi
call fcn.00548ae0
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_inserted
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xd
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
jmp 0x519f14
mov edi, dword [ebp + 0x10]
jmp 0x519f1a