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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 1], 0
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0
je 0x510d41
jmp 0x512082
mov dword [ebp - 0x4c], 0
cmp dword [ebp + 0x10], 0
je 0x510d8f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
je 0x510d8f
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x34], 0
jne 0x510d8f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0051be20
add esp, 8
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00509960
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x510dad
jmp 0x512082
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0051b090
add esp, 8
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
shl ecx, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
push 0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
push eax
push 0x12
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ffce0
add esp, 0x14
test eax, eax
je 0x510df8
jmp 0x512082
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
and eax, 0x80
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0x7f
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00528880
add esp, 0x14
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x2b]
xor eax, eax
cmp edx, 2
sete al
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00504ad0
add esp, 8
test eax, eax
je 0x510e52
jmp 0x512082
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00509ae0
add esp, 0xc
test eax, eax
je 0x510e6f
jmp 0x512082
mov eax, dword [ebp + 8]
push eax
call fcn.0051ec50
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x510e89
jmp 0x512082
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x510ea0
mov eax, dword [ebp - 8]
push eax
call fcn.004db280
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x510eb8
cmp dword [ebp - 0x74], 0
jne 0x510eb8
mov dword [ebp - 0x100], 0
jmp 0x510ec2
mov dword [ebp - 0x100], 1
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005084b0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x510f16
cmp dword [ebp + 0x10], 0
je 0x510f16
cmp dword [ebp - 0x74], 0
jne 0x510f16
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00513e30
add esp, 0x14
test eax, eax
je 0x510f16
jmp 0x512041
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00510840
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
lea ecx, [ecx + eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x510f83
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1c]
and edx, 0x440
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x1d], dl
cmp dword [ebp + 0x14], 0
je 0x511142
mov eax, dword [ebp + 0x14]
mov byte [eax + 4], 1
mov dword [ebp - 0x24], 0
jmp 0x510fc5
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx]
jge 0x510fdf
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*8 + 0xc], 0xffffffff
jmp 0x510fbc
mov dword [ebp - 0x24], 0
jmp 0x510ff1
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx]
jge 0x511142
mov dword [ebp - 0x98], 0
jmp 0x51101a
mov eax, dword [ebp - 0x98]
add eax, 1
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
cmp dword [ebp - 0x98], edx
jge 0x5110d4
mov eax, dword [ebp - 0x98]
shl eax, 4
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 8]
push eax
call fcn.004af680
add esp, 8
test eax, eax
jne 0x5110cf
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x98]
mov dword [edx + ecx*8 + 0xc], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x98]
je 0x511076
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x20]
cmp dword [ebp - 0x98], eax
jne 0x51108b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x98]
shl edx, 4
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edx + 0xe]
and edx, 0x60
je 0x5110cd
mov eax, dword [ebp - 0x98]
shl eax, 4
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax]
push eax
push str.cannot_INSERT_into_generated_column___s_
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af360
add esp, 0xc
jmp 0x512082
jmp 0x5110d4
jmp 0x51100b
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x98], eax
jl 0x51113d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 8]
push eax
call fcn.004f3760
add esp, 4
test eax, eax
je 0x51110e
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
jne 0x51110e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x1d], 0
jmp 0x51113d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*8 + 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.004af360
add esp, 0x10
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 1
jmp 0x512082
jmp 0x510fe8
cmp dword [ebp + 0x10], 0
je 0x51137d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d6730
add esp, 4
add eax, 1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
push eax
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0xa
mov edx, dword [ebp - 8]
push edx
call fcn.004d5e30
add esp, 0x14
mov eax, dword [ebp - 0xa0]
push eax
push 0xd
lea ecx, [ebp - 0x50]
push ecx
call fcn.0051bc60
add esp, 0xc
movzx edx, byte [ebp - 0x1d]
neg edx
sbb edx, edx
and edx, dword [ebp - 0x78]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00524c60
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x9c], 0
jne 0x5111f9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x5111fe
jmp 0x512082
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d63d0
add esp, 8
mov eax, dword [ebp - 0xa4]
sub eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d6940
add esp, 8
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x74], 0
jne 0x511256
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00510440
add esp, 0xc
test eax, eax
je 0x51125a
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
je 0x51137b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
push edx
call fcn.004f96b0
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004f96b0
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x76
mov eax, dword [ebp - 8]
push eax
call fcn.004d5f10
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0xb
mov edx, dword [ebp - 8]
push edx
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x68]
push edx
push 0x61
mov eax, dword [ebp - 8]
push eax
call fcn.004d5e30
add esp, 0x14
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x7f
mov eax, dword [ebp - 8]
push eax
call fcn.004d5f10
add esp, 0x10
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x80
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5e30
add esp, 0x14
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d5f30
add esp, 8
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d6940
add esp, 8
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f9700
add esp, 8
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f9700
add esp, 8
jmp 0x5113f8
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x5c], 0
je 0x5113ee
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.004efd70
add esp, 8
test eax, eax
je 0x5113ec
jmp 0x512082
jmp 0x5113f8
mov dword [ebp - 0x88], 0
cmp dword [ebp + 0x14], 0
jne 0x5114f0
cmp dword [ebp - 0x88], 0
jle 0x5114f0
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x20]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jl 0x511465
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
and ecx, 0x60
je 0x511465
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x24], edx
jmp 0x51143e
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x511465
mov ecx, dword [ebp - 0x24]
shl ecx, 4
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx + 0xe]
and ecx, 0x60
je 0x511463
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x511435
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
and ecx, 0x62
je 0x5114af
mov dword [ebp - 0x24], 0
jmp 0x511482
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x24], ecx
jge 0x5114af
mov edx, dword [ebp - 0x24]
shl edx, 4
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edx + 0xe]
and edx, 0x62
je 0x5114ad
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x511479
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
sub edx, dword [ebp - 0x30]
cmp dword [ebp - 0x88], edx
je 0x5114f0
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
sub edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af360
add esp, 0x14
jmp 0x512082
cmp dword [ebp + 0x14], 0
je 0x511526
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x88]
cmp eax, dword [edx]
je 0x511526
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
push str._d_values_for__d_columns
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af360
add esp, 0x10
jmp 0x512082
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
and eax, 0
mov ecx, dword [edx + 0x24]
and ecx, 1
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x108]
or edx, dword [ebp - 0x104]
je 0x5115a3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x5115a3
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
jne 0x5115a3
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x95]
test ecx, ecx
jne 0x5115a3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
push 0
push 0x47
mov edx, dword [ebp - 8]
push edx
call fcn.004d5f10
add esp, 0x10
cmp dword [ebp - 0x6c], 0
jne 0x511681
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0xffffffffffffffff
push 0
push 0x71
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00513b00
add esp, 0x20
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
lea edx, [ecx*4 + 8]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004aad10
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x511601
jmp 0x512082
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 8]
mov dword [ebp - 0x80], eax
jmp 0x511625
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0xd4]
jge 0x511663
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x2c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x80]
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 0x511613
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
mov dword [ecx + eax*4], edx
cmp dword [ebp + 0x1c], 0
je 0x51177b
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x5116b3
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
push eax
push str.UPSERT_not_implemented_for_virtual_table___s_
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af360
add esp, 0xc
jmp 0x512082
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x2b]
cmp eax, 2
jne 0x5116d5
push str.cannot_UPSERT_a_view
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af360
add esp, 8
jmp 0x512082
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00506030
add esp, 8
test eax, eax
je 0x5116f0
jmp 0x512082
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx], 0
je 0x511763
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052c110
add esp, 0xc
test eax, eax
je 0x511763
jmp 0x512082
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x511705
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x5117a9
mov edx, dword [ebp - 0x18]
push edx
push 0x23
mov eax, dword [ebp - 8]
push eax
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d6730
add esp, 4
mov dword [ebp - 0x60], eax
jmp 0x5117e9
cmp dword [ebp + 0x10], 0
je 0x5117e9
mov edx, dword [ebp - 0x4c]
push edx
push 0xb
mov eax, dword [ebp - 8]
push eax
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x5117e9
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x1c]
push eax
push 0x50
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f10
add esp, 0x10
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0
jmp 0x511811
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x24], eax
jge 0x511a3b
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0x24], edx
jne 0x511841
mov eax, dword [ebp - 0x14]
push eax
push 0x4c
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5ef0
add esp, 0xc
jmp 0x5117ff
mov edx, dword [ebp - 0x24]
shl edx, 4
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edx + 0xe]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
and eax, 0x62
je 0x5118ec
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0xdc]
and edx, 0x20
je 0x51188b
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x5117ff
mov ecx, dword [ebp - 0xdc]
and ecx, 0x40
je 0x5118b7
mov edx, dword [ebp - 0x70]
and edx, 1
je 0x5118b0
mov eax, dword [ebp - 0x14]
push eax
push 0x4c
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5ef0
add esp, 0xc
jmp 0x5117ff
cmp dword [ebp + 0x14], 0
jne 0x5118ec
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x58]
add eax, dword [ecx + 4]
push eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.00500f70
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004f7280
add esp, 0xc
jmp 0x5117ff
cmp dword [ebp + 0x14], 0
je 0x51197c
mov dword [ebp - 0x98], 0
jmp 0x511911
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x98]
cmp eax, dword [edx]
jge 0x511932
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 0xc]
cmp eax, dword [ebp - 0x24]
je 0x511932
jmp 0x511902
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x98]
cmp edx, dword [ecx]
jl 0x51196e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
shl ecx, 4
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 4]
push ecx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00500f70
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f7280
add esp, 0xc
jmp 0x5117ff
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xe0], edx
jmp 0x5119c2
cmp dword [ebp - 0x88], 0
jne 0x5119b6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
shl ecx, 4
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 4]
push ecx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00500f70
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f7280
add esp, 0xc
jmp 0x5117ff
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0xe0], edx
movzx eax, byte [ebp - 1]
test eax, eax
je 0x5119e9
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x5e
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5e30
add esp, 0x14
jmp 0x511a36
cmp dword [ebp + 0x10], 0
je 0x511a15
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x78]
je 0x511a13
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0xe0]
push ecx
push 0x51
mov edx, dword [ebp - 8]
push edx
call fcn.004d5f10
add esp, 0x10
jmp 0x511a36
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xe0]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f71b0
add esp, 0xc
jmp 0x5117ff
mov edx, dword [ebp + 8]
push edx
call fcn.004d6400
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
and eax, 1
je 0x511bf9
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f9740
add esp, 8
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0x1c], 0
jge 0x511a95
mov ecx, dword [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
push 0x47
mov edx, dword [ebp - 8]
push edx
call fcn.004d5f10
add esp, 0x10
jmp 0x511b37
movzx eax, byte [ebp - 1]
test eax, eax
je 0x511abc
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x5e
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5e30
add esp, 0x14
jmp 0x511add
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + eax + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f71b0
add esp, 0xc
mov ecx, dword [ebp - 0xe4]
push ecx
push 0x33
mov edx, dword [ebp - 8]
push edx
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe4]
push eax
push 0xffffffffffffffff
push 0x47
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f10
add esp, 0x10
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d6940
add esp, 8
mov ecx, dword [ebp - 0xe4]
push ecx
push 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.004d5ef0
add esp, 0xc
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x24]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0xe4]
add edx, 1
push edx
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
push 0x50
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5e30
add esp, 0x14
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
and eax, 0x60
je 0x511b86
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xe4]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005105a0
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jne 0x511ba6
mov ecx, dword [ebp - 0xe4]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00510240
add esp, 0xc
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
mov edx, dword [ebp - 0xe4]
sub edx, ecx
sub edx, 1
push edx
mov eax, dword [ebp - 0x58]
push eax
push 1
push 0
push 0x7f
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005296b0
add esp, 0x24
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f97c0
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jne 0x511f71
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x511c26
mov eax, dword [ebp - 0x84]
push eax
push 0
push 0x4b
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f10
add esp, 0x10
cmp dword [ebp - 0x1c], 0
jl 0x511d6e
movzx edx, byte [ebp - 1]
test edx, edx
je 0x511c54
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x5e
mov eax, dword [ebp - 8]
push eax
call fcn.004d5e30
add esp, 0x14
jmp 0x511cca
cmp dword [ebp + 0x10], 0
je 0x511c5c
jmp 0x511cca
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
movzx edx, byte [ecx]
cmp edx, 0x79
jne 0x511cac
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
je 0x511cac
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x7f
mov edx, dword [ebp - 8]
push edx
call fcn.004d5e30
add esp, 0x14
mov byte [ebp - 0x32], 1
jmp 0x511cca
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f71b0
add esp, 0xc
movzx edx, byte [ebp - 0x32]
test edx, edx
jne 0x511d6c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
je 0x511d2c
mov edx, dword [ebp - 0x2c]
push edx
push 0x33
mov eax, dword [ebp - 8]
push eax
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x8c]
push eax
push 0x7f
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5e30
add esp, 0x14
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d6940
add esp, 8
jmp 0x511d5a
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d6730
add esp, 4
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
add edx, 2
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0x32
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f10
add esp, 0x10
mov edx, dword [ebp - 0x2c]
push edx
push 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004d5ef0
add esp, 0xc
jmp 0x511db9
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x511d82
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x511d98
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
push 0x4b
mov edx, dword [ebp - 8]
push edx
call fcn.004d5f10
add esp, 0x10
jmp 0x511db9
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0x7f
mov eax, dword [ebp - 8]
push eax
call fcn.004d5e30
add esp, 0x14
mov byte [ebp - 0x32], 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00510b30
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1c]
and edx, 0x60
je 0x511def
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005105a0
add esp, 0xc
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x511e90
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0052d3c0
add esp, 8
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052ebb0
add esp, 8
push 0xfffffffffffffff5
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x22]
add eax, 2
push eax
push 1
push 7
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d6060
add esp, 0x1c
cmp dword [ebp + 0x18], 0xb
jne 0x511e62
mov dword [ebp - 0x10c], 2
jmp 0x511e6b
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x10c], edx
movzx eax, word [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d6910
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00508550
add esp, 4
jmp 0x511f71
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp + 0x1c]
push eax
push 0
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x54]
push edx
movzx eax, byte [ebp + 0x18]
push eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
setge cl
movzx edx, cl
push edx
push 0
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00512280
add esp, 0x34
push 0
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050ef20
add esp, 0x18
cmp dword [ebp - 0xf8], 0
je 0x511f27
mov eax, dword [ebp - 8]
push eax
call fcn.004d6bc0
add esp, 4
test eax, eax
je 0x511f27
mov dword [ebp - 0x110], 0
jmp 0x511f31
mov dword [ebp - 0x110], 1
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
push edx
movzx eax, byte [ebp - 0x32]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00513910
add esp, 0x24
cmp dword [ebp - 0x90], 0
je 0x511f91
push 1
mov ecx, dword [ebp - 0x90]
push ecx
push 0x56
mov edx, dword [ebp - 8]
push edx
call fcn.004d5f10
add esp, 0x10
cmp dword [ebp - 0x74], 0
je 0x511fc9
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x78]
sub edx, 2
mov eax, dword [ebp - 0x58]
movsx ecx, word [eax + 0x22]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x58]
push edx
push 2
push 0
push 0x7f
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005296b0
add esp, 0x24
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d6490
add esp, 8
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x51201b
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x26
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f10
add esp, 0x10
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d6940
add esp, 8
mov ecx, dword [ebp - 0x18]
push ecx
push 0x7a
mov edx, dword [ebp - 8]
push edx
call fcn.004d5ef0
add esp, 0xc
jmp 0x512041
cmp dword [ebp + 0x10], 0
je 0x512041
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d5f30
add esp, 8
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d6940
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x512061
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x512061
mov ecx, dword [ebp + 8]
push ecx
call fcn.00510ca0
add esp, 4
cmp dword [ebp - 0x90], 0
je 0x512082
push str.rows_inserted
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005099f0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00507b60
add esp, 8
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004f2dd0
add esp, 8
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0052bfa0
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0051be20
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00507760
add esp, 8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004aa9d0
add esp, 8
mov esp, ebp
pop ebp
ret