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

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
or eax, 0xffffffff
push esi
mov dword [esp + 0x34], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x7c], 0
push edi
mov edi, dword [ebp]
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x1a], al
mov byte [esp + 0x23], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x5c], edi
cmp dword [ebp + 0x24], eax
jne 0x519897
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x5188f7
test dword [ebx + 4], 0x200
je 0x5188f7
cmp dword [ebx + 0x34], eax
jne 0x5188f7
mov eax, dword [ebx + 0x1c]
push 1
push ebx
push edi
mov dword [esp + 0x54], eax
mov dword [ebx + 0x1c], esi
call fcn.004c3480
add esp, 0xc
mov dword [esp + 0x14], esi
push dword [esp + 0xac]
push ebp
call fcn.00529120
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
test esi, esi
je 0x5198aa
mov ecx, dword [esi + 0x3c]
mov ebx, 0xffff8000
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x518941
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x28], ebx
cmp dword [eax], ecx
je 0x518941
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x518935
mov dword [esp + 0x28], 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.004fb9f0
add esp, 0x14
test eax, eax
jne 0x518ca9
mov eax, dword [esi + 0x1c]
shr eax, 7
and eax, 0xffffff01
mov dword [esp + 0x50], eax
lea eax, [esp + 0x78]
push eax
push 0
push 0x7f
push esi
push ebp
call fcn.0052a680
mov edi, eax
xor eax, eax
cmp byte [esi + 0x2b], 2
push esi
sete al
mov dword [esp + 0x94], edi
push ebp
mov dword [esp + 0x8c], eax
call fcn.0053a4d0
add esp, 0x1c
test eax, eax
jne 0x518ca9
push dword [esp + 0x78]
push esi
push ebp
call fcn.00519c60
add esp, 0xc
test eax, eax
jne 0x518ca9
push ebp
call fcn.005177d0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x518ca9
cmp byte [ebp + 0x12], 0
jne 0x5189e4
or dword [eax + 0xa0], 0x10
cmp dword [esp + 0x14], 0
jne 0x5189f3
test edi, edi
jne 0x5189f3
xor eax, eax
jmp 0x5189f8
mov eax, 1
push ebx
push eax
push ebp
call fcn.004fc4b0
add esp, 0xc
cmp dword [esp + 0xb4], 0
jne 0x518a34
mov eax, dword [esp + 0x14]
test eax, eax
je 0x518a34
test edi, edi
jne 0x518a34
push ebx
push dword [esp + 0xbc]
push eax
push esi
push ebp
call fcn.00557bd0
add esp, 0x14
test eax, eax
jne 0x5197cf
push esi
push ebx
push ebp
call fcn.004be070
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov dword [esp + 0x64], eax
movsx eax, word [esi + 0x22]
inc eax
lea edi, [ecx + 1]
add eax, ecx
mov edx, edi
mov dword [ebp + 0x2c], eax
cmp byte [esi + 0x2b], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], edx
jne 0x518a6e
lea edx, [edi + 1]
inc eax
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x2c], eax
test dword [esi + 0x1c], 0x440
lea eax, [edx + 1]
mov edx, dword [esp + 0xb4]
sete byte [esp + 0x1b]
mov dword [esp + 0x44], eax
test edx, edx
je 0x518bb2
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x518ab0
jmp 0x518aa0
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x518aa0
xor edi, edi
mov dword [esp + 0x30], edi
cmp dword [edx + 4], edi
jle 0x518bb2
mov edx, dword [esp + 0x1c]
movsx ebx, word [edx + 0x22]
xor esi, esi
test ebx, ebx
jle 0x518b3a
mov eax, dword [esp + 0xb4]
mov eax, dword [eax]
lea eax, [eax + edi*8]
mov edi, dword [edx + 4]
mov dword [esp + 0x4c], eax
push dword [edi]
push dword [eax]
call fcn.00529a80
add esp, 8
test eax, eax
mov eax, dword [esp + 0x4c]
je 0x518b06
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x518ae0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
jmp 0x518b3a
mov edi, dword [esp + 0x30]
cmp edi, esi
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], esi
setne al
dec al
and byte [esp + 0x1b], al
movsx eax, word [edx + 0x20]
cmp esi, eax
jne 0x518b28
mov dword [esp + 0x38], edi
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
jne 0x518c96
movsx eax, word [edx + 0x22]
mov ebx, dword [esp + 0xb4]
cmp esi, eax
jl 0x518ba0
mov eax, dword [ebx]
push str._ROWID_
mov esi, dword [eax + edi*8]
push esi
call fcn.00529a80
add esp, 8
test eax, eax
je 0x518b88
push str.ROWID
push esi
call fcn.00529a80
add esp, 8
test eax, eax
je 0x518b88
push 0x589af4
push esi
call fcn.00529a80
add esp, 8
test eax, eax
jne 0x518cb0
cmp byte [esp + 0x50], 0
jne 0x518cb0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov byte [esp + 0x1b], 0
inc edi
mov dword [esp + 0x30], edi
cmp edi, dword [ebx + 4]
jl 0x518ac3
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x14], 0
je 0x518d85
mov eax, dword [esp + 0x10]
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
mov esi, dword [eax + 0x74]
inc esi
push esi
push 0
push edi
push 0xd
push eax
call fcn.0052e3e0
movzx eax, byte [esp + 0x2f]
neg eax
mov byte [esp + 0x98], 0xd
mov dword [esp + 0x9c], edi
sbb eax, eax
mov dword [esp + 0xa0], 0
and eax, dword [esp + 0x58]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], 0
movsx eax, word [eax + 0x22]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x2c]
push ebp
call fcn.00525770
mov ecx, dword [esp + 0xb0]
add esp, 0x20
mov dword [esp + 0x6c], ecx
test eax, eax
jne 0x518ca9
cmp dword [ebp + 0x24], eax
jne 0x518ca9
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.0052f490
lea eax, [esi - 1]
push eax
push edi
call fcn.00536e00
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x7c], 0
mov eax, dword [eax + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x30], esi
jne 0x518cd9
push dword [esp + 0x1c]
push ebx
push ebp
call fcn.004f27a0
add esp, 0xc
test eax, eax
jne 0x518cd9
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
jmp 0x518e01
add esi, esi
push dword [eax + esi*8]
push str.cannot_INSERT_into_generated_column___s_
push ebp
call fcn.005071d0
add esp, 0xc
xor esi, esi
jmp 0x519809
mov eax, dword [ebx]
push dword [eax + edi*8]
mov eax, dword [esp + 0xb0]
add eax, 8
push eax
push str.table__S_has_no_column_named__s
push ebp
call fcn.005071d0
add esp, 0x10
mov byte [ebp + 0x11], 1
xor esi, esi
jmp 0x519810
mov edx, dword [ebp + 0x28]
push ebp
mov byte [esp + 0x1e], 1
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.00516dc0
push ebp
mov edi, eax
call fcn.00516dc0
push esi
mov esi, dword [esp + 0x1c]
mov ebx, eax
push edx
push 0x74
push esi
call fcn.0052e380
mov eax, dword [esp + 0xa0]
push eax
push 0xe
push esi
mov dword [esp + 0x48], eax
call fcn.0052e320
push edi
push dword [esp + 0x58]
mov esi, eax
push dword [esp + 0x98]
push 0x60
push dword [esp + 0x44]
call fcn.0052e3e0
push ebx
push dword [esp + 0x78]
push 0x7e
push dword [esp + 0x54]
call fcn.0052e380
add esp, 0x48
push ebx
push edi
push dword [esp + 0x44]
push 0x7f
push dword [esp + 0x20]
call fcn.0052e3e0
push esi
push dword [esp + 0x28]
call fcn.00536710
push esi
push dword [esp + 0x30]
call fcn.00536e00
push edi
push ebp
call fcn.00523a60
push ebx
push ebp
call fcn.00523a60
mov esi, dword [esp + 0x64]
add esp, 0x34
jmp 0x518dfd
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], ebp
test eax, eax
je 0x518df7
mov esi, dword [eax]
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x34], esi
push eax
call fcn.00523f90
add esp, 8
test eax, eax
jne 0x518ca9
jmp 0x518dfd
xor esi, esi
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb4]
test ebx, ebx
jne 0x518ebb
mov ebx, dword [esp + 0x1c]
test esi, esi
jle 0x518edd
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x38], eax
test eax, eax
js 0x518e5a
test byte [ebx + 0x1c], 0x60
je 0x518e5a
lea edx, [eax - 1]
test edx, edx
js 0x518e5a
mov eax, dword [ebx + 4]
mov ecx, edx
mov edi, dword [esp + 0x38]
add eax, 0xe
shl ecx, 4
add eax, ecx
test byte [eax], 0x60
je 0x518e4c
dec edi
sub eax, 0x10
dec edx
jns 0x518e46
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x10]
test byte [ebx + 0x1c], 0x62
je 0x518e8a
movsx ecx, word [ebx + 0x22]
test ecx, ecx
jle 0x518e8a
mov eax, dword [ebx + 4]
add eax, 0xe
xor ebp, ebp
test byte [eax], 0x62
je 0x518e76
inc ebp
add eax, 0x10
dec ecx
jne 0x518e70
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0xa8]
movsx eax, word [ebx + 0x22]
sub eax, dword [esp + 0x80]
cmp esi, eax
je 0x518edd
push esi
push eax
mov eax, dword [esp + 0xb4]
add eax, 8
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebp
call fcn.005071d0
add esp, 0x14
xor esi, esi
jmp 0x519809
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x518ed9
push eax
push esi
push str._d_values_for__d_columns
push ebp
call fcn.005071d0
add esp, 0x10
xor esi, esi
jmp 0x519810
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
xor eax, eax
mov ecx, dword [ecx + 0x24]
and ecx, 1
or eax, ecx
je 0x518f1d
cmp byte [ebp + 0x12], 0
jne 0x518f1d
cmp dword [ebp + 0x78], 0
jne 0x518f1d
cmp byte [ebp + 0x95], 0
jne 0x518f1d
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x47
push edi
mov dword [esp + 0x84], eax
call fcn.0052e380
add esp, 0x10
cmp dword [esp + 0x70], 0
jne 0x518f9b
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x70
push ebx
push ebp
call fcn.0051c4d0
mov esi, eax
push 0
lea eax, [esi*4 + 8]
push eax
push dword [esp + 0x84]
call fcn.00504e90
add esp, 0x2c
mov dword [esp + 0x34], eax
test eax, eax
je 0x519805
mov edx, dword [ebx + 8]
xor ecx, ecx
test esi, esi
jle 0x518f8c
mov edi, eax
nop
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 0x518f70
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esi + ecx*4], eax
jmp 0x518f9d
xor esi, esi
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x519052
mov al, byte [ebx + 0x2b]
cmp al, 1
jne 0x518fc8
push dword [ebx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push ebp
call fcn.005071d0
add esp, 0xc
jmp 0x519809
cmp al, 2
jne 0x518fdf
push str.cannot_UPSERT_a_view
push ebp
call fcn.005071d0
add esp, 8
jmp 0x519809
push dword [ecx]
push ebp
call fcn.00517880
add esp, 8
test eax, eax
jne 0x519809
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0xbc]
mov eax, dword [esp + 0x44]
mov dword [edx + 0x34], ecx
jmp 0x519010
cmp dword [esi], 0
mov ebx, dword [esp + 0x60]
mov dword [esi + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
je 0x51904b
push esi
push edx
push ebp
call fcn.0052d3d0
add esp, 0xc
test eax, eax
jne 0x519805
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x519010
cmp byte [esp + 0x1a], 0
je 0x519075
push dword [esp + 0x3c]
push 0x26
push edi
call fcn.0052e320
mov dword [esp + 0x74], eax
add esp, 0xc
mov eax, dword [edi + 0x74]
mov dword [esp + 0x58], eax
jmp 0x5190b3
cmp dword [esp + 0x14], 0
je 0x5190b3
push dword [esp + 0x24]
push 0xe
push edi
call fcn.0052e320
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], edx
mov dword [esp + 0x68], edx
test eax, eax
js 0x5190b3
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
add ecx, eax
push ecx
push 0x4f
push edi
call fcn.0052e380
add esp, 0x10
mov esi, dword [esp + 0x44]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], ecx
cmp ax, word [ebx + 0x22]
jge 0x5192b7
xor edx, edx
mov dword [esp + 0x28], edx
movsx eax, word [ebx + 0x20]
cmp ecx, eax
jne 0x5190f8
push esi
push 0x4b
push edi
call fcn.0052e320
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x28]
jmp 0x51929e
mov edi, dword [ebx + 4]
add edi, edx
movzx eax, word [edi + 0xe]
test al, 0x62
je 0x519160
inc dword [esp + 0x4c]
test al, 0x20
je 0x519113
dec esi
jmp 0x51929a
test al, 0x40
je 0x51913f
test byte [esp + 0x78], 1
je 0x51929a
mov edi, dword [esp + 0x10]
push esi
push 0x4b
push edi
call fcn.0052e320
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x28]
jmp 0x51929e
cmp dword [esp + 0xb4], 0
jne 0x51916e
push esi
push edi
push ebx
call fcn.00502350
add esp, 8
push eax
push ebp
call fcn.00508120
jmp 0x51928f
cmp dword [esp + 0xb4], 0
je 0x519218
mov edx, dword [esp + 0xb4]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x5191a7
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, 4
mov edi, edi
cmp dword [ecx], ebp
je 0x51919c
inc eax
add ecx, 8
cmp eax, edx
jl 0x519190
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x24]
cmp eax, edx
jl 0x519212
movzx eax, word [edi + 0xc]
test ax, ax
jne 0x5191c3
xor eax, eax
push esi
push eax
push ebp
call fcn.00508120
jmp 0x51928f
cmp byte [ebx + 0x2b], 0
je 0x5191d8
xor eax, eax
push esi
push eax
push ebp
call fcn.00508120
jmp 0x51928f
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jne 0x5191ee
xor eax, eax
push esi
push eax
push ebp
call fcn.00508120
jmp 0x51928f
cmp dword [ecx], eax
jge 0x519201
xor eax, eax
push esi
push eax
push ebp
call fcn.00508120
jmp 0x51928f
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
push esi
push eax
push ebp
call fcn.00508120
jmp 0x51928f
mov edx, dword [esp + 0x28]
jmp 0x519229
cmp dword [esp + 0x30], 0
je 0x519149
mov eax, ecx
sub eax, dword [esp + 0x4c]
cmp byte [esp + 0x1a], 0
je 0x51924f
mov edi, dword [esp + 0x10]
push esi
push eax
push dword [esp + 0x44]
push 0x5d
push edi
call fcn.0052e3e0
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x28]
jmp 0x51929e
cmp dword [esp + 0x14], 0
je 0x51927d
mov edi, dword [esp + 0x6c]
cmp edi, dword [esp + 0x44]
je 0x51929a
push esi
add eax, edi
mov edi, dword [esp + 0x14]
push eax
push 0x50
push edi
call fcn.0052e380
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov edx, dword [esp + 0x28]
jmp 0x51929e
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 8]
push ebp
call fcn.00507eb0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
movsx eax, word [ebx + 0x22]
inc ecx
add edx, 0x10
mov dword [esp + 0x24], ecx
inc esi
mov dword [esp + 0x28], edx
cmp ecx, eax
jl 0x5190d7
dec dword [ebp + 0x38]
test byte [esp + 0x78], 1
mov ebx, dword [ebp + 0x38]
je 0x51942b
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x22]
inc eax
push eax
push ebp
call fcn.00516d60
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x38]
push esi
test eax, eax
jns 0x5192f8
push 0xffffffffffffffff
push 0x47
push edi
call fcn.0052e380
add esp, 0x10
jmp 0x51937d
cmp byte [esp + 0x1e], 0
je 0x519311
push eax
push dword [esp + 0x44]
push 0x5d
push edi
call fcn.0052e3e0
add esp, 0x14
jmp 0x519325
mov ecx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.00507eb0
add esp, 0xc
push esi
push 0x33
push edi
call fcn.0052e320
push esi
push 0xffffffffffffffff
push 0x47
push dword [esp + 0x28]
mov edi, eax
call fcn.0052e380
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov edx, dword [eax + 0x74]
test edi, edi
jns 0x51934f
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x51935e
mov eax, 0x784c9c
jmp 0x51936b
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x70]
lea eax, [eax + ecx*4]
push esi
push 0xf
push dword [esp + 0x18]
mov dword [eax + 8], edx
call fcn.0052e320
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea edi, [esi + 1]
movsx eax, word [eax + 0x24]
dec eax
push eax
push edi
push dword [esp + 0x4c]
push 0x4f
push dword [esp + 0x20]
call fcn.0052e3e0
mov eax, dword [esp + 0x30]
add esp, 0x14
test byte [eax + 0x1c], 0x60
je 0x5193b2
push eax
push edi
push ebp
call fcn.00502cd0
add esp, 0xc
cmp dword [esp + 0x70], 0
jne 0x5193cd
push edi
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x18]
call fcn.00529c00
add esp, 0xc
jmp 0x5193d1
mov edi, dword [esp + 0x1c]
movsx eax, word [edi + 0x22]
mov ecx, esi
push ebx
push dword [esp + 0xbc]
sub ecx, eax
dec ecx
push ecx
push edi
push 1
push 0
push 0x7f
push dword [esp + 0x98]
push ebp
call fcn.00501c40
movsx eax, word [edi + 0x22]
add esp, 0x24
inc eax
cmp eax, 1
jne 0x51941e
test esi, esi
je 0x51942f
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x51942f
movzx eax, al
mov dword [ebp + eax*4 + 0x98], esi
inc byte [ebp + 0x13]
jmp 0x51942f
cmp eax, dword [ebp + 0x1c]
jle 0x51942f
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], esi
jmp 0x51942f
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x70], 0
mov esi, dword [esp + 0x10]
jne 0x5196c3
cmp byte [edi + 0x2b], 1
jne 0x519455
push dword [esp + 0x54]
push 0
push 0x4a
push esi
call fcn.0052e380
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
js 0x51953b
cmp byte [esp + 0x1a], 0
je 0x51947e
push dword [esp + 0x2c]
push eax
push dword [esp + 0x44]
push 0x5d
push esi
call fcn.0052e3e0
add esp, 0x14
jmp 0x5194ca
cmp dword [esp + 0x14], 0
jne 0x5194ca
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 8]
cmp byte [eax], 0x79
jne 0x5194bc
cmp byte [edi + 0x2b], 1
je 0x5194bc
push dword [esp + 0x64]
push dword [esp + 0x30]
push dword [esp + 0x48]
push 0x7e
push esi
call fcn.0052e3e0
add esp, 0x14
mov byte [esp + 0x23], 1
jmp 0x519577
push dword [esp + 0x2c]
push eax
push ebp
call fcn.00507eb0
add esp, 0xc
cmp byte [edi + 0x2b], 1
je 0x519514
push dword [esp + 0x2c]
push 0x33
push esi
call fcn.0052e320
push dword [esp + 0x70]
mov esi, eax
push dword [esp + 0x3c]
push dword [esp + 0x54]
push 0x7e
push dword [esp + 0x2c]
call fcn.0052e3e0
push esi
mov esi, dword [esp + 0x34]
push esi
call fcn.00536e00
add esp, 0x28
push dword [esp + 0x2c]
push 0xf
push esi
call fcn.0052e320
add esp, 0xc
jmp 0x519577
mov eax, dword [esi + 0x74]
add eax, 2
push eax
push dword [esp + 0x30]
push 0x32
push esi
call fcn.0052e380
add esp, 0x10
push dword [esp + 0x2c]
push 0xf
push esi
call fcn.0052e320
add esp, 0xc
jmp 0x519577
cmp byte [edi + 0x2b], 1
je 0x519566
cmp byte [esp + 0x50], 0
jne 0x519566
push dword [esp + 0x64]
push dword [esp + 0x30]
push dword [esp + 0x48]
push 0x7e
push esi
call fcn.0052e3e0
add esp, 0x14
mov byte [esp + 0x23], 1
jmp 0x519577
push dword [esp + 0x2c]
push 0
push 0x4a
push esi
call fcn.0052e380
add esp, 0x10
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x519594
push dword [esp + 0x2c]
push eax
push 0x9e
push dword [ebp + 8]
call fcn.0052e380
add esp, 0x10
test byte [edi + 0x1c], 0x60
je 0x5195a8
push edi
push dword [esp + 0x48]
push ebp
call fcn.00502cd0
add esp, 0xc
cmp byte [edi + 0x2b], 1
jne 0x519629
mov esi, dword [edi + 0x34]
test esi, esi
je 0x5195cb
mov eax, dword [esp + 0x5c]
lea esp, [esp]
cmp dword [esi], eax
je 0x5195cb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x5195c0
push edi
push ebp
call fcn.0053b1b0
movsx eax, word [edi + 0x22]
push 0xfffffffffffffff4
push esi
push dword [esp + 0x64]
mov esi, dword [esp + 0x24]
add eax, 2
push eax
push 1
push 0xa
push esi
call fcn.0052e440
mov eax, dword [esp + 0xdc]
add esp, 0x24
mov edx, 2
cmp eax, 0xb
je 0x519605
mov edx, eax
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x519617
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x519620
mov eax, ebp
mov byte [eax + 0x15], 1
jmp 0x5196c3
push dword [esp + 0xbc]
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push 0
push eax
mov eax, dword [esp + 0x44]
test eax, eax
push ebx
push dword [esp + 0xc8]
setns al
movzx eax, al
push eax
push 0
push dword [esp + 0x70]
push dword [esp + 0x80]
push dword [esp + 0x64]
push dword [esp + 0x5c]
push edi
push ebp
call fcn.00513ea0
push 0
push 0
push dword [esp + 0x90]
push 0
push edi
push ebp
call fcn.0050de90
add esp, 0x4c
cmp dword [esp + 0x50], 0
je 0x51969b
cmp dword [esi + 0xe8], 0
je 0x51969b
xor eax, eax
jmp 0x5196a0
mov eax, 1
push eax
movzx eax, byte [esp + 0x27]
push eax
push 0
push dword [esp + 0x40]
push dword [esp + 0x64]
push dword [esp + 0x74]
push dword [esp + 0x58]
push edi
push ebp
call fcn.00502ae0
add esp, 0x24
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5196d9
push 1
push eax
push 0x55
push esi
call fcn.0052e380
add esp, 0x10
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x519708
movsx eax, word [edi + 0x22]
mov ecx, dword [esp + 0x44]
push ebx
push dword [esp + 0xbc]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x7f
push edx
push ebp
call fcn.00501c40
add esp, 0x24
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x519722
push ebx
push esi
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x51972b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + ebx*4], eax
cmp byte [esp + 0x1a], 0
je 0x51978c
push dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
push ebx
push 5
push esi
call fcn.0052e380
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x519754
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x519772
mov eax, 0x784c9c
push ebx
push 0x79
push esi
mov dword [eax + 8], edx
call fcn.0052e320
add esp, 0xc
jmp 0x5197d3
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
push ebx
push 0x79
push esi
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
call fcn.0052e320
add esp, 0xc
jmp 0x5197d3
cmp dword [esp + 0x14], 0
je 0x5197d3
push dword [esp + 0x58]
push esi
call fcn.00536710
mov ecx, dword [esp + 0x70]
add esp, 8
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x5197ae
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5197c0
mov eax, 0x784c9c
mov dword [eax + 8], edx
jmp 0x5197d3
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x5197d3
mov esi, dword [esp + 0x10]
cmp byte [ebp + 0x12], 0
jne 0x5197ee
cmp dword [ebp + 0x78], 0
jne 0x5197ee
cmp dword [ebp + 0x70], 0
je 0x5197ee
push ebp
call fcn.004be170
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x519805
push str.rows_inserted
push eax
push esi
call fcn.005013d0
add esp, 0xc
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0x14]
push dword [esp + 0xac]
mov ebp, dword [esp + 0x60]
push ebp
call fcn.00528a60
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
je 0x51983a
push eax
push ebp
call fcn.004cc570
add esp, 8
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x51984f
push eax
push ebp
call fcn.00547390
add esp, 8
test edi, edi
je 0x51985f
push 1
push edi
push ebp
call fcn.004c3480
add esp, 0xc
push ebx
push ebp
call fcn.00517cd0
add esp, 8
test esi, esi
je 0x51990f
test ebp, ebp
je 0x519906
cmp dword [ebp + 0x210], 0
je 0x5198bc
push esi
push ebp
call fcn.004e8fc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
jmp 0x519814
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0xb4]
jmp 0x519814
cmp esi, dword [ebp + 0x164]
jae 0x519906
cmp esi, dword [ebp + 0x15c]
jb 0x5198e5
mov eax, dword [ebp + 0x158]
pop edi
mov dword [esi], eax
mov dword [ebp + 0x158], esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
cmp esi, dword [ebp + 0x160]
jb 0x519906
mov eax, dword [ebp + 0x150]
pop edi
mov dword [esi], eax
mov dword [ebp + 0x150], esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
push esi
call fcn.004ad100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret