Function at 0x50ac80
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 0x50ad01
jmp 0x50c042
mov dword [ebp - 0x4c], 0
cmp dword [ebp + 0x10], 0
je 0x50ad4f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
je 0x50ad4f
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x34], 0
jne 0x50ad4f
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.00515dd0
add esp, 8
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00503920
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x50ad6d
jmp 0x50c042
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00515040
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.004f9ca0
add esp, 0x14
test eax, eax
je 0x50adb8
jmp 0x50c042
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.00522830
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.004fea90
add esp, 8
test eax, eax
je 0x50ae12
jmp 0x50c042
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00503aa0
add esp, 0xc
test eax, eax
je 0x50ae2f
jmp 0x50c042
mov eax, dword [ebp + 8]
push eax
call fcn.00518c00
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50ae49
jmp 0x50c042
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x50ae60
mov eax, dword [ebp - 8]
push eax
call fcn.004d5240
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x50ae78
cmp dword [ebp - 0x74], 0
jne 0x50ae78
mov dword [ebp - 0x100], 0
jmp 0x50ae82
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.00502470
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x50aed6
cmp dword [ebp + 0x10], 0
je 0x50aed6
cmp dword [ebp - 0x74], 0
jne 0x50aed6
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.0050ddf0
add esp, 0x14
test eax, eax
je 0x50aed6
jmp 0x50c001
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050a800
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 0x50af43
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 0x50b102
mov eax, dword [ebp + 0x14]
mov byte [eax + 4], 1
mov dword [ebp - 0x24], 0
jmp 0x50af85
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 0x50af9f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*8 + 0xc], 0xffffffff
jmp 0x50af7c
mov dword [ebp - 0x24], 0
jmp 0x50afb1
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 0x50b102
mov dword [ebp - 0x98], 0
jmp 0x50afda
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 0x50b094
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.004a9640
add esp, 8
test eax, eax
jne 0x50b08f
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 0x50b036
mov byte [ebp - 0x1d], 0
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x20]
cmp dword [ebp - 0x98], eax
jne 0x50b04b
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 0x50b08d
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.004a9320
add esp, 0xc
jmp 0x50c042
jmp 0x50b094
jmp 0x50afcb
mov edx, dword [ebp - 0x58]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x98], eax
jl 0x50b0fd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 8]
push eax
call fcn.004ed720
add esp, 4
test eax, eax
je 0x50b0ce
movzx ecx, byte [ebp - 0x31]
test ecx, ecx
jne 0x50b0ce
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x1d], 0
jmp 0x50b0fd
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.004a9320
add esp, 0x10
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 1
jmp 0x50c042
jmp 0x50afa8
cmp dword [ebp + 0x10], 0
je 0x50b33d
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.004d06f0
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.004cfdf0
add esp, 0x14
mov eax, dword [ebp - 0xa0]
push eax
push 0xd
lea ecx, [ebp - 0x50]
push ecx
call fcn.00515c10
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.0051ec10
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x9c], 0
jne 0x50b1b9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x50b1be
jmp 0x50c042
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d0390
add esp, 8
mov eax, dword [ebp - 0xa4]
sub eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d0900
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 0x50b216
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050a400
add esp, 0xc
test eax, eax
je 0x50b21a
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
je 0x50b33b
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.004f3670
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004f3670
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.004cfed0
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0xb
mov edx, dword [ebp - 8]
push edx
call fcn.004cfeb0
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.004cfdf0
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.004cfed0
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.004cfdf0
add esp, 0x14
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004cfef0
add esp, 8
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d0900
add esp, 8
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f36c0
add esp, 8
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f36c0
add esp, 8
jmp 0x50b3b8
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 0x50b3ae
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.004e9d30
add esp, 8
test eax, eax
je 0x50b3ac
jmp 0x50c042
jmp 0x50b3b8
mov dword [ebp - 0x88], 0
cmp dword [ebp + 0x14], 0
jne 0x50b4b0
cmp dword [ebp - 0x88], 0
jle 0x50b4b0
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x20]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jl 0x50b425
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
and ecx, 0x60
je 0x50b425
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x24], edx
jmp 0x50b3fe
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x50b425
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 0x50b423
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x50b3f5
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
and ecx, 0x62
je 0x50b46f
mov dword [ebp - 0x24], 0
jmp 0x50b442
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 0x50b46f
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 0x50b46d
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x50b439
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
sub edx, dword [ebp - 0x30]
cmp dword [ebp - 0x88], edx
je 0x50b4b0
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.004a9320
add esp, 0x14
jmp 0x50c042
cmp dword [ebp + 0x14], 0
je 0x50b4e6
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x88]
cmp eax, dword [edx]
je 0x50b4e6
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.004a9320
add esp, 0x10
jmp 0x50c042
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 0x50b563
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x50b563
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
jne 0x50b563
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x95]
test ecx, ecx
jne 0x50b563
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.004cfed0
add esp, 0x10
cmp dword [ebp - 0x6c], 0
jne 0x50b641
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.0050dac0
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.004a4cd0
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x50b5c1
jmp 0x50c042
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 8]
mov dword [ebp - 0x80], eax
jmp 0x50b5e5
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 0x50b623
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 0x50b5d3
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 0x50b73b
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x50b673
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.004a9320
add esp, 0xc
jmp 0x50c042
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x2b]
cmp eax, 2
jne 0x50b695
push str.cannot_UPSERT_a_view
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a9320
add esp, 8
jmp 0x50c042
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ffff0
add esp, 8
test eax, eax
je 0x50b6b0
jmp 0x50c042
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 0x50b723
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005260c0
add esp, 0xc
test eax, eax
je 0x50b723
jmp 0x50c042
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x50b6c5
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x50b769
mov edx, dword [ebp - 0x18]
push edx
push 0x23
mov eax, dword [ebp - 8]
push eax
call fcn.004cfeb0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d06f0
add esp, 4
mov dword [ebp - 0x60], eax
jmp 0x50b7a9
cmp dword [ebp + 0x10], 0
je 0x50b7a9
mov edx, dword [ebp - 0x4c]
push edx
push 0xb
mov eax, dword [ebp - 8]
push eax
call fcn.004cfeb0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x50b7a9
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.004cfed0
add esp, 0x10
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0
jmp 0x50b7d1
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 0x50b9fb
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0x24], edx
jne 0x50b801
mov eax, dword [ebp - 0x14]
push eax
push 0x4c
mov ecx, dword [ebp - 8]
push ecx
call fcn.004cfeb0
add esp, 0xc
jmp 0x50b7bf
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 0x50b8ac
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0xdc]
and edx, 0x20
je 0x50b84b
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x50b7bf
mov ecx, dword [ebp - 0xdc]
and ecx, 0x40
je 0x50b877
mov edx, dword [ebp - 0x70]
and edx, 1
je 0x50b870
mov eax, dword [ebp - 0x14]
push eax
push 0x4c
mov ecx, dword [ebp - 8]
push ecx
call fcn.004cfeb0
add esp, 0xc
jmp 0x50b7bf
cmp dword [ebp + 0x14], 0
jne 0x50b8ac
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.004faf30
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004f1240
add esp, 0xc
jmp 0x50b7bf
cmp dword [ebp + 0x14], 0
je 0x50b93c
mov dword [ebp - 0x98], 0
jmp 0x50b8d1
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 0x50b8f2
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8 + 0xc]
cmp eax, dword [ebp - 0x24]
je 0x50b8f2
jmp 0x50b8c2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x98]
cmp edx, dword [ecx]
jl 0x50b92e
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.004faf30
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1240
add esp, 0xc
jmp 0x50b7bf
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xe0], edx
jmp 0x50b982
cmp dword [ebp - 0x88], 0
jne 0x50b976
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.004faf30
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f1240
add esp, 0xc
jmp 0x50b7bf
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0xe0], edx
movzx eax, byte [ebp - 1]
test eax, eax
je 0x50b9a9
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.004cfdf0
add esp, 0x14
jmp 0x50b9f6
cmp dword [ebp + 0x10], 0
je 0x50b9d5
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x78]
je 0x50b9d3
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.004cfed0
add esp, 0x10
jmp 0x50b9f6
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.004f1170
add esp, 0xc
jmp 0x50b7bf
mov edx, dword [ebp + 8]
push edx
call fcn.004d03c0
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
and eax, 1
je 0x50bbb9
mov ecx, dword [ebp - 0x58]
movsx edx, word [ecx + 0x22]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f3700
add esp, 8
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0x1c], 0
jge 0x50ba55
mov ecx, dword [ebp - 0xe4]
push ecx
push 0xffffffffffffffff
push 0x47
mov edx, dword [ebp - 8]
push edx
call fcn.004cfed0
add esp, 0x10
jmp 0x50baf7
movzx eax, byte [ebp - 1]
test eax, eax
je 0x50ba7c
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.004cfdf0
add esp, 0x14
jmp 0x50ba9d
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.004f1170
add esp, 0xc
mov ecx, dword [ebp - 0xe4]
push ecx
push 0x33
mov edx, dword [ebp - 8]
push edx
call fcn.004cfeb0
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.004cfed0
add esp, 0x10
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0900
add esp, 8
mov ecx, dword [ebp - 0xe4]
push ecx
push 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.004cfeb0
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.004cfdf0
add esp, 0x14
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
and eax, 0x60
je 0x50bb46
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.0050a560
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jne 0x50bb66
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.0050a200
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.00523660
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.004f3780
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jne 0x50bf31
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x50bbe6
mov eax, dword [ebp - 0x84]
push eax
push 0
push 0x4b
mov ecx, dword [ebp - 8]
push ecx
call fcn.004cfed0
add esp, 0x10
cmp dword [ebp - 0x1c], 0
jl 0x50bd2e
movzx edx, byte [ebp - 1]
test edx, edx
je 0x50bc14
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.004cfdf0
add esp, 0x14
jmp 0x50bc8a
cmp dword [ebp + 0x10], 0
je 0x50bc1c
jmp 0x50bc8a
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 0x50bc6c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
je 0x50bc6c
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.004cfdf0
add esp, 0x14
mov byte [ebp - 0x32], 1
jmp 0x50bc8a
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.004f1170
add esp, 0xc
movzx edx, byte [ebp - 0x32]
test edx, edx
jne 0x50bd2c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
je 0x50bcec
mov edx, dword [ebp - 0x2c]
push edx
push 0x33
mov eax, dword [ebp - 8]
push eax
call fcn.004cfeb0
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.004cfdf0
add esp, 0x14
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0900
add esp, 8
jmp 0x50bd1a
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d06f0
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.004cfed0
add esp, 0x10
mov edx, dword [ebp - 0x2c]
push edx
push 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004cfeb0
add esp, 0xc
jmp 0x50bd79
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x50bd42
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x50bd58
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
push 0x4b
mov edx, dword [ebp - 8]
push edx
call fcn.004cfed0
add esp, 0x10
jmp 0x50bd79
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.004cfdf0
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.0050aaf0
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1c]
and edx, 0x60
je 0x50bdaf
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.0050a560
add esp, 0xc
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x50be50
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00527370
add esp, 8
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00528b60
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.004d0020
add esp, 0x1c
cmp dword [ebp + 0x18], 0xb
jne 0x50be22
mov dword [ebp - 0x10c], 2
jmp 0x50be2b
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.004d08d0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00502510
add esp, 4
jmp 0x50bf31
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.0050c240
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.00508ee0
add esp, 0x18
cmp dword [ebp - 0xf8], 0
je 0x50bee7
mov eax, dword [ebp - 8]
push eax
call fcn.004d0b80
add esp, 4
test eax, eax
je 0x50bee7
mov dword [ebp - 0x110], 0
jmp 0x50bef1
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.0050d8d0
add esp, 0x24
cmp dword [ebp - 0x90], 0
je 0x50bf51
push 1
mov ecx, dword [ebp - 0x90]
push ecx
push 0x56
mov edx, dword [ebp - 8]
push edx
call fcn.004cfed0
add esp, 0x10
cmp dword [ebp - 0x74], 0
je 0x50bf89
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.00523660
add esp, 0x24
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0450
add esp, 8
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x50bfdb
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.004cfed0
add esp, 0x10
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0900
add esp, 8
mov ecx, dword [ebp - 0x18]
push ecx
push 0x7a
mov edx, dword [ebp - 8]
push edx
call fcn.004cfeb0
add esp, 0xc
jmp 0x50c001
cmp dword [ebp + 0x10], 0
je 0x50c001
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004cfef0
add esp, 8
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0900
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x50c021
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x50c021
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050ac60
add esp, 4
cmp dword [ebp - 0x90], 0
je 0x50c042
push str.rows_inserted
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005039b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00501b20
add esp, 8
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004ecd90
add esp, 8
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00525f50
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00515dd0
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00501720
add esp, 8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a4990
add esp, 8
mov esp, ebp
pop ebp
ret