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

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xb0]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xac]
push esi
xor esi, esi
mov dword [esp + 0x3c], 0
push edi
mov edi, dword [ebp]
mov dword [esp + 0x60], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x1b], al
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], edi
cmp dword [ebp + 0x24], eax
jne 0x4c00d3
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4bee2f
test dword [ebx + 4], 0x200
je 0x4bee2f
cmp dword [ebx + 0x34], eax
jne 0x4bee2f
mov eax, dword [ebx + 0x1c]
push 1
push ebx
push edi
mov dword [esp + 0x64], eax
mov dword [ebx + 0x1c], esi
call fcn.00474df0
add esp, 0xc
mov dword [esp + 0x1c], esi
push dword [esp + 0xb8]
push ebp
call fcn.004d1cc0
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
je 0x4bf17c
mov ecx, dword [esi + 0x3c]
mov ebx, 0xffff8000
mov dword [esp + 0x78], ebx
test ecx, ecx
je 0x4bee7c
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x78], ebx
cmp dword [eax], ecx
je 0x4bee7c
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x4bee70
mov dword [esp + 0x78], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [esi]
push 0x12
push ebp
call fcn.004a53a0
add esp, 0x14
test eax, eax
jne 0x4bf17c
mov eax, dword [esi + 0x1c]
shr eax, 7
and eax, 0xffffff01
cmp dword [esi + 0x38], 0
mov dword [esp + 0x68], eax
jne 0x4beec5
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4beece
cmp dword [eax + 0x30], 0
je 0x4beece
cmp byte [ebp + 0xa1], 0
je 0x4beeda
mov dword [esp + 0x7c], 0
xor edi, edi
jmp 0x4beefd
lea eax, [esp + 0xac]
push eax
push 0
push 0x7f
push esi
push ebp
call fcn.004f07b0
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0xac]
mov dword [esp + 0x7c], eax
mov al, byte [esi + 0x2b]
mov dword [esp + 0x50], edi
mov byte [esp + 0x27], al
cmp al, 1
je 0x4bef13
cmp word [esi + 0x22], 0
jg 0x4bef25
push esi
push ebp
call fcn.004f6940
add esp, 8
test eax, eax
jne 0x4bf17c
push edi
push esi
push ebp
call fcn.004c0380
add esp, 0xc
test eax, eax
jne 0x4bf17c
push ebp
call fcn.004bda70
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x4bf17c
cmp byte [ebp + 0x12], 0
jne 0x4bef5c
or dword [edi + 0x98], 0x10
cmp dword [esp + 0x1c], 0
jne 0x4bef6e
cmp dword [esp + 0x50], 0
jne 0x4bef6e
xor eax, eax
jmp 0x4bef73
mov eax, 1
push ebx
push eax
push ebp
call fcn.004a5e80
add esp, 0xc
cmp dword [esp + 0xc0], 0
jne 0x4befb2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4befb2
cmp dword [esp + 0x50], 0
jne 0x4befb2
push ebx
push dword [esp + 0xc8]
push eax
push esi
push ebp
call fcn.005047a0
add esp, 0x14
test eax, eax
jne 0x4c0050
push esi
push ebx
push ebp
call fcn.0046f350
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov dword [esp + 0x6c], eax
movsx eax, word [esi + 0x22]
inc eax
lea ebx, [ecx + 1]
add eax, ecx
mov edx, ebx
mov dword [ebp + 0x2c], eax
cmp byte [esi + 0x2b], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], edx
jne 0x4befec
lea edx, [ebx + 1]
inc eax
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x2c], eax
test dword [esi + 0x1c], 0x440
lea eax, [edx + 1]
mov dword [esp + 0x54], eax
sete bl
cmp dword [esp + 0xc0], 0
mov dword [esp + 0x28], ebx
je 0x4bf1c6
mov edi, dword [esp + 0xc0]
xor ecx, ecx
mov edx, dword [edi]
mov byte [edi + 4], 1
test edx, edx
jle 0x4bf035
lea eax, [edi + 0xc]
mov dword [eax], 0xffffffff
lea eax, [eax + 8]
mov edx, dword [edi]
inc ecx
cmp ecx, edx
jl 0x4bf025
xor edi, edi
mov dword [esp + 0x20], edi
test edx, edx
jle 0x4bf1c2
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x84], eax
mov ebp, eax
mov dword [esp + 0x5c], eax
nop
movsx ebx, word [edx + 0x22]
xor esi, esi
test ebx, ebx
jle 0x4bf097
mov ebp, dword [eax + edi*8]
mov edi, dword [edx + 4]
push dword [edi]
push ebp
call fcn.004d2a70
add esp, 8
test eax, eax
je 0x4bf120
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4bf070
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
movsx eax, word [edx + 0x22]
cmp esi, eax
jl 0x4bf0f9
mov esi, dword [ebp]
push str._ROWID_
push esi
call fcn.004d2a70
add esp, 8
test eax, eax
je 0x4bf0e0
push str.ROWID
push esi
call fcn.004d2a70
add esp, 8
test eax, eax
je 0x4bf0e0
push 0x689520
push esi
call fcn.004d2a70
add esp, 8
test eax, eax
jne 0x4bf187
cmp byte [esp + 0x68], 0
jne 0x4bf187
mov edx, dword [esp + 0x10]
xor bl, bl
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc0]
inc edi
add ebp, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x5c], ebp
cmp edi, dword [eax]
jge 0x4bf1b7
mov eax, dword [esp + 0x84]
jmp 0x4bf060
mov ebp, dword [esp + 0x5c]
xor eax, eax
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
cmp edi, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 4], esi
movzx ebx, bl
cmovne ebx, eax
movsx eax, word [edx + 0x20]
cmp esi, eax
mov dword [esp + 0x28], ebx
mov eax, dword [edx + 4]
cmove ecx, edi
mov dword [esp + 0x38], ecx
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x4bf09b
push dword [eax + ecx*8]
mov esi, dword [esp + 0xb8]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.004b0ca0
add esp, 0xc
mov ebx, dword [esp + 0x1c]
xor esi, esi
jmp 0x4c00d3
mov eax, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xb8]
add eax, 8
push eax
push str.table__S_has_no_column_named__s
push esi
call fcn.004b0ca0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
mov byte [esi + 0x11], 1
xor esi, esi
jmp 0x4c00d3
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bf525
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x4bf24b
test byte [ecx + 0x30], 0x20
je 0x4bf24b
cmp dword [eax + 0x34], 0
jne 0x4bf24b
mov eax, dword [ecx + 0x28]
add ecx, 8
mov dword [esp + 0x48], eax
push ecx
push str.SCAN__S
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x1c]
push 0
mov dword [esp + 0x40], edi
mov eax, dword [eax + 0x1c]
push ebp
mov edi, dword [eax]
mov dword [esp + 0x38], edi
call fcn.004e0dc0
add esp, 0x10
test bl, bl
je 0x4bf30a
movsx eax, word [esi + 0x22]
cmp edi, eax
jne 0x4bf30a
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
lea ecx, [eax - 1]
xor eax, eax
cmp byte [esi + 0x2b], 1
mov dword [esp + 0x2c], ecx
sete al
sub ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x4bf30a
mov esi, dword [ebp + 0x2c]
inc esi
mov dword [ebp + 0x2c], esi
mov edi, dword [edi + 0x6c]
lea eax, [edi + 1]
push eax
push 0
push esi
push 0xb
push dword [esp + 0x24]
call fcn.004d77f0
mov edx, dword [esp + 0x24]
xor eax, eax
test bl, bl
mov byte [esp + 0x9c], 0xd
mov ebx, dword [esp + 0x30]
cmovne eax, dword [esp + 0x68]
mov dword [esp + 0xa8], eax
movsx eax, word [edx + 0x22]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x9c]
push eax
push ebx
push ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xbc], 0
call fcn.004cdaf0
mov ecx, dword [esp + 0xb4]
add esp, 0x20
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4bf180
cmp dword [ebp + 0x24], eax
jne 0x4bf180
mov ebx, dword [esp + 0x14]
push esi
push ebx
call fcn.004d8300
push edi
push ebx
call fcn.004e1730
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x50], 0
jne 0x4bf3f2
mov ecx, dword [ebp + 8]
mov dword [esp + 0x5c], ecx
test ecx, ecx
jne 0x4bf344
cmp dword [ebp + 0x80], ecx
jne 0x4bf335
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x4bf335
mov byte [ebp + 0x17], 1
push ebp
call fcn.004d7d60
add esp, 4
mov dword [esp + 0x5c], eax
mov ecx, eax
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x84], eax
cmp byte [edi + 0x2b], 1
jne 0x4bf372
mov esi, dword [edi + 0x34]
test esi, esi
je 0x4bf374
mov eax, dword [ebp]
cmp dword [esi], eax
je 0x4bf36d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4bf362
mov eax, dword [ecx + 0x6c]
jmp 0x4bf374
xor esi, esi
mov ebx, 1
cmp eax, ebx
jle 0x4bf497
mov eax, dword [ecx]
lea edi, [ebx + 0x13]
mov al, byte [eax + 0x57]
mov byte [esp + 0x47], al
nop dword [eax]
test al, al
je 0x4bf39b
mov ecx, 0x718388
jmp 0x4bf3a0
mov ecx, dword [ecx + 0x68]
add ecx, edi
cmp byte [ecx], 0x70
jne 0x4bf3cd
mov eax, dword [esp + 0x78]
cmp dword [ecx + 0xc], eax
jne 0x4bf3d7
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
cmp edx, dword [eax + 0x14]
je 0x4bf3f2
mov eax, dword [eax + 8]
test eax, eax
je 0x4bf3d7
cmp edx, dword [eax + 0x2c]
je 0x4bf3f2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4bf3c1
cmp byte [ecx], 0xad
jne 0x4bf3d7
cmp dword [ecx + 0x10], esi
je 0x4bf3f2
inc ebx
add edi, 0x14
cmp ebx, dword [esp + 0x84]
jge 0x4bf493
mov al, byte [esp + 0x47]
mov ecx, dword [esp + 0x5c]
jmp 0x4bf390
mov edx, dword [ebp + 0x28]
push ebp
mov byte [esp + 0x1f], 1
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.004bd070
push ebp
mov edi, eax
call fcn.004bd070
push dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov ebx, eax
push edx
push 0x76
push esi
call fcn.004d7790
push dword [esp + 0x4c]
push 0xc
push esi
call fcn.004d7730
push edi
push dword [esp + 0x50]
mov esi, eax
push dword [esp + 0x74]
push 0x61
push dword [esp + 0x48]
call fcn.004d77f0
push ebx
push dword [esp + 0x6c]
push 0x7f
push dword [esp + 0x58]
call fcn.004d7790
add esp, 0x48
push ebx
push edi
push dword [esp + 0x38]
push 0x80
push dword [esp + 0x24]
call fcn.004d77f0
push esi
push dword [esp + 0x2c]
call fcn.004e1170
push esi
push dword [esp + 0x34]
call fcn.004e1730
push edi
push ebp
call fcn.004cbbd0
push ebx
push ebp
call fcn.004cbbd0
add esp, 0x34
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
cmp dword [esp + 0xc0], 0
jne 0x4bf5cc
test esi, esi
jle 0x4bf5cc
movsx ebx, word [edi + 0x20]
mov dword [esp + 0x38], ebx
test ebx, ebx
js 0x4bf4ec
test byte [edi + 0x1c], 0x60
je 0x4bf4ec
lea edx, [ebx - 1]
test edx, edx
js 0x4bf4ec
mov ecx, edx
shl ecx, 4
add ecx, 0xe
add ecx, dword [edi + 4]
test byte [ecx], 0x60
lea eax, [ebx - 1]
lea ecx, [ecx - 0x10]
cmove eax, ebx
sub edx, 1
mov ebx, eax
jns 0x4bf4d5
mov dword [esp + 0x38], ebx
test byte [edi + 0x1c], 0x62
je 0x4bf59a
movsx edx, word [edi + 0x22]
test edx, edx
jle 0x4bf59a
mov ecx, dword [edi + 4]
add ecx, 0xe
xor ebx, ebx
nop word [eax + eax]
test byte [ecx], 0x62
lea eax, [ebx + 1]
lea ecx, [ecx + 0x10]
cmove eax, ebx
mov ebx, eax
sub edx, 1
jne 0x4bf510
jmp 0x4bf59c
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0x88], ebp
mov dword [esp + 0x30], 0xffffffff
test eax, eax
je 0x4bf58b
mov esi, dword [eax]
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x2c], esi
push eax
call fcn.004cc170
add esp, 8
test eax, eax
jne 0x4bf17c
mov edi, dword [esp + 0x10]
jmp 0x4bf49b
mov edi, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x28], esi
jmp 0x4bf49b
xor ebx, ebx
movsx eax, word [edi + 0x22]
sub eax, ebx
cmp esi, eax
je 0x4bf5cc
push esi
push eax
mov eax, dword [esp + 0xc0]
add eax, 8
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebp
call fcn.004b0ca0
mov ebx, dword [esp + 0x30]
add esp, 0x14
xor esi, esi
jmp 0x4c00d3
mov edi, dword [esp + 0xc0]
test edi, edi
je 0x4bf5f8
mov eax, dword [edi]
cmp esi, eax
je 0x4bf5f8
push eax
push esi
push str._d_values_for__d_columns
push ebp
call fcn.004b0ca0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
xor esi, esi
jmp 0x4c00da
mov ecx, dword [esp + 0x64]
xor eax, eax
mov ecx, dword [ecx + 0x24]
and ecx, 1
or eax, ecx
je 0x4bf642
cmp byte [ebp + 0x12], 0
jne 0x4bf642
cmp dword [ebp + 0x84], 0
jne 0x4bf642
cmp byte [ebp + 0x9f], 0
mov edi, dword [esp + 0x14]
jne 0x4bf646
mov eax, dword [ebp + 0x2c]
inc eax
push eax
push 0
push 0x47
push edi
mov dword [esp + 0x90], eax
mov dword [ebp + 0x2c], eax
call fcn.004d7790
add esp, 0x10
jmp 0x4bf646
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x27], 2
mov ebx, dword [esp + 0x10]
je 0x4bf6cc
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x71
push ebx
push ebp
call fcn.004c28e0
mov esi, eax
push 0
lea eax, [esi*4 + 8]
push eax
push dword [esp + 0x8c]
call fcn.004aebd0
add esp, 0x2c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4c00cb
mov edx, dword [ebx + 8]
xor ecx, ecx
test esi, esi
jle 0x4bf6bc
mov edi, eax
nop dword [eax]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [ebp + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x4bf6a0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x2c]
mov esi, dword [esp + 0x3c]
inc eax
mov dword [ebp + 0x2c], eax
mov dword [esi + ecx*4], eax
jmp 0x4bf6ce
xor esi, esi
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x4bf787
mov al, byte [ebx + 0x2b]
cmp al, 1
jne 0x4bf6fd
push dword [ebx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push ebp
call fcn.004b0ca0
add esp, 0xc
mov ebx, dword [esp + 0x1c]
jmp 0x4c00d3
cmp al, 2
jne 0x4bf718
push str.cannot_UPSERT_a_view
push ebp
call fcn.004b0ca0
mov ebx, dword [esp + 0x24]
add esp, 8
jmp 0x4c00d3
push dword [ecx]
push ebp
call fcn.004bdb20
add esp, 8
test eax, eax
jne 0x4bf6f4
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xc8]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov dword [ecx + 0x34], eax
cmp dword [esi], 0
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
je 0x4bf77e
push dword [esp + 0xc8]
push esi
push ecx
push ebp
call fcn.004d6a10
add esp, 0x10
test eax, eax
jne 0x4c00cb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x60]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4bf744
jmp 0x4bf78b
mov ebx, dword [esp + 0x54]
cmp byte [esp + 0x1b], 0
je 0x4bf7b1
push dword [esp + 0x30]
push 0x24
push edi
call fcn.004d7730
mov dword [esp + 0x80], eax
add esp, 0xc
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x70], eax
jmp 0x4bf7ed
cmp dword [esp + 0x1c], 0
je 0x4bf7ed
push dword [esp + 0x34]
push 0xc
push edi
call fcn.004d7730
mov dword [esp + 0x7c], eax
add esp, 0xc
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x4bf7ed
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
add ecx, eax
push ecx
push 0x50
push edi
call fcn.004d7790
add esp, 0x10
mov esi, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x34], ecx
cmp ax, word [esi + 0x22]
jge 0x4bf99a
nop dword [eax]
movsx eax, word [esi + 0x20]
cmp ecx, eax
jne 0x4bf870
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4bf835
push 0
push 0
push ebx
push 0x4c
push edi
call fcn.00486380
add esp, 0x14
jmp 0x4bf980
mov ebp, dword [esp + 0xb4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bf984
shl ecx, 4
add ecx, dword [esi + 4]
movzx eax, word [ecx + 0xe]
test al, 0x62
je 0x4bf9db
inc edx
mov dword [esp + 0x20], edx
test al, 0x20
je 0x4bf891
dec ebx
jmp 0x4bf984
test al, 0x40
je 0x4bf8a5
test byte [esp + 0x7c], 1
je 0x4bf984
jmp 0x4bf818
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x4bf9e6
movzx eax, word [ecx + 0xc]
test ax, ax
jne 0x4bf8c1
xor esi, esi
jmp 0x4bf8e1
cmp byte [esi + 0x2b], 0
je 0x4bf8cb
xor esi, esi
jmp 0x4bf8e1
mov esi, dword [esi + 0x34]
test esi, esi
je 0x4bf8e1
cmp dword [esi], eax
jge 0x4bf8da
xor esi, esi
jmp 0x4bf8e1
lea eax, [eax + eax*4]
mov esi, dword [esi + eax*4 - 0xc]
cmp byte [ebp + 0x17], 0
je 0x4bf93e
mov dword [esp + 0x90], 0x4d10f0
mov eax, 2
mov dword [esp + 0x8c], fcn.0047ee40
mov dword [esp + 0x88], ebp
mov word [esp + 0x9c], ax
test esi, esi
je 0x4bf931
lea eax, [esp + 0x88]
push esi
push eax
call fcn.004e6260
add esp, 8
cmp word [esp + 0x9c], 0
je 0x4bf93e
push ebx
push esi
push ebp
call fcn.004b2f10
add esp, 0xc
jmp 0x4bf97c
mov edi, dword [ebp]
test esi, esi
je 0x4bf957
push 0
push 0
push esi
push edi
call fcn.0047df60
add esp, 0x10
mov esi, eax
jmp 0x4bf959
xor esi, esi
cmp byte [edi + 0x57], 0
jne 0x4bf96a
push ebx
push esi
push ebp
call fcn.004b1c60
add esp, 0xc
test esi, esi
je 0x4bf978
push esi
push edi
call fcn.004b4a30
add esp, 8
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc ebx
movsx eax, word [esi + 0x22]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x4bf810
dec dword [ebp + 0x38]
test byte [esp + 0x7c], 1
mov ebx, dword [ebp + 0x38]
je 0x4bfcd3
movsx eax, word [esi + 0x22]
inc eax
push eax
push ebp
call fcn.004bd010
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x38]
push esi
test eax, eax
jns 0x4bfbaa
push 0xffffffffffffffff
push 0x47
push edi
call fcn.004d7790
add esp, 0x10
jmp 0x4bfc24
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4bfa4c
mov esi, dword [eax]
xor edx, edx
test esi, esi
jle 0x4bfa07
mov edi, dword [esp + 0x34]
mov ecx, esi
add eax, 0xc
cmp dword [eax], edi
je 0x4bfa03
inc edx
add eax, 8
cmp edx, ecx
jl 0x4bf9f7
mov edi, dword [esp + 0x14]
cmp edx, esi
jl 0x4bfa46
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [edx + 4]
movzx eax, word [eax + ecx*8 + 0xc]
test ax, ax
jne 0x4bfa29
xor esi, esi
jmp 0x4bf8e1
cmp byte [edx + 0x2b], 0
je 0x4bfa36
xor esi, esi
jmp 0x4bf8e1
mov esi, dword [edx + 0x34]
test esi, esi
jne 0x4bf8d2
jmp 0x4bf8e1
mov esi, dword [esp + 0x10]
jmp 0x4bfa6f
cmp dword [esp + 0x28], 0
jne 0x4bfa67
movzx eax, word [ecx + 0xc]
test ax, ax
jne 0x4bf8c1
xor esi, esi
jmp 0x4bf8e1
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x20]
cmp byte [esp + 0x1b], 0
je 0x4bfacb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4bfa94
push ebx
push edx
push dword [esp + 0x38]
push 0x5e
push edi
call fcn.00486380
add esp, 0x14
jmp 0x4bf980
mov ebp, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bf980
cmp dword [esp + 0x1c], 0
je 0x4bfb2e
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x54]
je 0x4bf980
mov ecx, dword [edi + 0x6c]
add edx, eax
cmp dword [edi + 0x70], ecx
jg 0x4bfafe
push 0
push ebx
push edx
push 0x51
push edi
call fcn.00486380
add esp, 0x14
jmp 0x4bf980
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bf97c
mov ecx, dword [esp + 0x58]
lea eax, [edx + edx*4]
push ebx
mov edi, dword [ecx + eax*4 + 8]
push edi
push ebp
call fcn.004b30f0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4bf978
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x14]
shr edx, 0x16
not edx
and edx, 1
mov ecx, dword [edi + 0x6c]
or edx, 0x50
cmp dword [edi + 0x70], ecx
jg 0x4bfb7b
push 0
push ebx
push esi
push edx
push edi
call fcn.00486380
add esp, 0x14
jmp 0x4bf97c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x4bf97c
cmp byte [esp + 0x1f], 0
je 0x4bfbc3
push eax
push dword [esp + 0x38]
push 0x5e
push edi
call fcn.004d77f0
add esp, 0x14
jmp 0x4bfbd7
mov ecx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.004b1c60
add esp, 0xc
push esi
push 0x33
push edi
call fcn.004d7730
push esi
push 0xffffffffffffffff
push 0x47
push dword [esp + 0x2c]
mov edi, eax
call fcn.004d7790
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [eax]
mov edx, dword [eax + 0x6c]
cmp byte [ecx + 0x57], 0
je 0x4bfc09
mov eax, 0x718388
jmp 0x4bfc12
mov eax, dword [eax + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
push esi
push 0xd
push dword [esp + 0x1c]
mov dword [eax + 8], edx
call fcn.004d7730
add esp, 0xc
mov edx, dword [esp + 0x10]
lea edi, [esi + 1]
movsx eax, word [edx + 0x24]
dec eax
push eax
mov eax, dword [esp + 0x30]
push edi
inc eax
push eax
push 0x50
push dword [esp + 0x24]
call fcn.004d77f0
mov eax, dword [esp + 0x24]
add esp, 0x14
test byte [eax + 0x1c], 0x60
je 0x4bfc5f
push eax
push edi
push ebp
call fcn.004ac720
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [esp + 0x27], 2
je 0x4bfc74
push edi
push eax
push dword [esp + 0x1c]
call fcn.004d2f20
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, esi
push ebx
push dword [esp + 0xc8]
movsx eax, word [edx + 0x22]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x7f
push dword [esp + 0x6c]
push ebp
call fcn.004ab4a0
mov ecx, dword [esp + 0x34]
add esp, 0x24
movsx eax, word [ecx + 0x22]
inc eax
cmp eax, 1
jne 0x4bfcc6
test esi, esi
je 0x4bfcd7
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4bfcd7
movzx eax, al
mov dword [ebp + eax*4 + 0xa4], esi
inc byte [ebp + 0x13]
jmp 0x4bfcd7
cmp eax, dword [ebp + 0x1c]
jle 0x4bfcd7
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], esi
jmp 0x4bfcd7
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x27], 2
mov edi, dword [esp + 0x14]
je 0x4bff94
cmp byte [ecx + 0x2b], 1
jne 0x4bfd01
push dword [esp + 0x4c]
push 0
push 0x4b
push edi
call fcn.004d7790
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
js 0x4bfde4
cmp byte [esp + 0x1b], 0
je 0x4bfd2b
mov esi, dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x38]
push 0x5e
push edi
call fcn.004d77f0
add esp, 0x14
jmp 0x4bfd7e
cmp dword [esp + 0x1c], 0
jne 0x4bfd7a
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
cmp byte [eax], 0x79
jne 0x4bfd69
cmp byte [ecx + 0x2b], 1
je 0x4bfd69
push dword [esp + 0x6c]
push dword [esp + 0x30]
push dword [esp + 0x48]
push 0x7f
push edi
call fcn.004d77f0
add esp, 0x14
mov esi, 1
jmp 0x4bfe22
mov esi, dword [esp + 0x2c]
push esi
push eax
push ebp
call fcn.004b1c60
add esp, 0xc
jmp 0x4bfd7e
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x2b], 1
je 0x4bfdc3
push esi
push 0x33
push edi
call fcn.004d7730
push dword [esp + 0x78]
mov esi, eax
push dword [esp + 0x3c]
push dword [esp + 0x54]
push 0x7f
push edi
call fcn.004d77f0
push esi
push edi
call fcn.004e1730
mov esi, dword [esp + 0x54]
add esp, 0x28
push esi
push 0xd
push edi
call fcn.004d7730
add esp, 0xc
jmp 0x4bfe20
mov eax, dword [edi + 0x6c]
add eax, 2
push eax
push esi
push 0x32
push edi
call fcn.004d7790
add esp, 0x10
push esi
push 0xd
push edi
call fcn.004d7730
add esp, 0xc
jmp 0x4bfe20
cmp byte [ecx + 0x2b], 1
je 0x4bfe0f
cmp byte [esp + 0x68], 0
jne 0x4bfe0f
push dword [esp + 0x6c]
push dword [esp + 0x30]
push dword [esp + 0x48]
push 0x7f
push edi
call fcn.004d77f0
add esp, 0x14
mov esi, 1
jmp 0x4bfe22
push dword [esp + 0x2c]
push 0
push 0x4b
push edi
call fcn.004d7790
add esp, 0x10
xor esi, esi
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x4bfe3f
push dword [esp + 0x2c]
push eax
push 0x9f
push dword [ebp + 8]
call fcn.004d7790
add esp, 0x10
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x1c], 0x60
je 0x4bfe5d
mov eax, dword [esp + 0x2c]
push ecx
inc eax
push eax
push ebp
call fcn.004ac720
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp byte [ecx + 0x2b], 1
jne 0x4bfee1
mov esi, dword [ecx + 0x34]
test esi, esi
je 0x4bfe7d
mov eax, dword [esp + 0x64]
cmp dword [esi], eax
je 0x4bfe7d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4bfe72
push ecx
push ebp
call fcn.004e5280
push 0xfffffffffffffff5
push esi
mov esi, dword [esp + 0x20]
push dword [esp + 0x5c]
movsx eax, word [esi + 0x22]
add eax, 2
push eax
push 1
push 7
push edi
call fcn.004d7850
mov eax, dword [edi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4bfecb
mov ecx, dword [esp + 0xc4]
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 [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4bff98
push dword [esp + 0xc8]
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0
push 0
push eax
mov eax, dword [esp + 0x44]
push ebx
push dword [esp + 0xd4]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x80]
push dword [esp + 0x64]
push dword [esp + 0x64]
push ecx
push ebp
call fcn.004ba2a0
mov eax, dword [esp + 0x98]
add esp, 0x34
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4bff57
mov edx, dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x54]
push 0
push edx
push ebp
call fcn.004b8450
add esp, 0x18
cmp dword [esp + 0x68], 0
je 0x4bff6b
cmp dword [edi + 0xe0], 0
je 0x4bff6b
xor eax, eax
jmp 0x4bff70
mov eax, 1
push eax
push esi
mov esi, dword [esp + 0x18]
push 0
push dword [esp + 0x48]
push dword [esp + 0x5c]
push dword [esp + 0x74]
push dword [esp + 0x58]
push esi
push ebp
call fcn.004ac4d0
add esp, 0x24
jmp 0x4bff98
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4bffb1
push 1
push eax
push 0x56
push edi
call fcn.004d7790
add esp, 0x10
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4bffe0
movsx eax, word [esi + 0x22]
mov ecx, dword [esp + 0x54]
push ebx
push dword [esp + 0xc8]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7f
push edx
push ebp
call fcn.004ab4a0
add esp, 0x24
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4bfffa
push ebx
push edi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x4c0003
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
cmp byte [esp + 0x1b], 0
je 0x4c008e
push dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
push ebx
push 0x27
push edi
call fcn.004d7790
mov eax, dword [edi]
add esp, 0x10
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c0034
mov eax, 0x718388
jmp 0x4c0041
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
push ebx
push 0x7a
push edi
mov dword [eax + 8], edx
call fcn.004d7730
add esp, 0xc
mov ebx, dword [esp + 0x1c]
cmp byte [ebp + 0x12], 0
jne 0x4c0072
cmp dword [ebp + 0x84], 0
jne 0x4c0072
cmp dword [ebp + 0x7c], 0
je 0x4c0072
push ebp
call fcn.0046f450
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4c00cf
push str.rows_inserted
push eax
push edi
call fcn.004aaa70
add esp, 0xc
jmp 0x4c00cf
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4c0054
push dword [esp + 0x70]
push edi
call fcn.004e1170
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c00b8
mov eax, 0x718388
mov dword [eax + 8], edx
jmp 0x4c0054
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c0054
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0xc0]
push dword [esp + 0xb8]
mov ebp, dword [esp + 0x68]
push ebp
call fcn.004d16e0
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
je 0x4c0100
push eax
push ebp
call fcn.0047ea30
add esp, 8
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4c0115
push eax
push ebp
call fcn.004f2710
add esp, 8
test ebx, ebx
je 0x4c0125
push 1
push ebx
push ebp
call fcn.00474df0
add esp, 0xc
push edi
push ebp
call fcn.004be0e0
add esp, 8
test esi, esi
je 0x4c013d
push esi
push ebp
call fcn.004aecf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret