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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x7851cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [esi]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov byte [ebp - 0x2d], cl
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x84], ebx
cmp dword [esi + 0x24], ecx
jne 0x51c235
cmp byte [ebx + 0x51], cl
jne 0x51c235
mov dword [ebp - 0x68], ecx
test eax, eax
je 0x51b45d
test dword [eax + 4], 0x200
je 0x51b45d
cmp dword [eax + 0x34], ecx
jne 0x51b45d
mov ecx, dword [eax + 0x1c]
push eax
push ebx
mov dword [ebp - 0x70], ecx
mov dword [eax + 0x1c], 0
call fcn.00528d50
add esp, 8
mov dword [ebp - 0x48], 0
push dword [ebp - 0x7c]
push esi
call fcn.00529f40
mov edi, eax
add esp, 8
mov dword [ebp - 0x28], edi
test edi, edi
je 0x51c232
push dword [edi + 0x48]
push ebx
call fcn.00526620
mov ecx, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [edi]
push 0x12
push esi
call fcn.00506350
add esp, 0x1c
test eax, eax
jne 0x51c232
mov eax, dword [edi + 0x24]
shr eax, 7
and eax, 0xffffff01
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x7d
push edi
push esi
call fcn.0052b230
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0xc]
push edi
push esi
mov dword [ebp - 0xa8], eax
call fcn.0053a7a0
add esp, 0x1c
test eax, eax
jne 0x51c232
push dword [ebp - 0xa4]
push edi
push esi
call fcn.0051c520
add esp, 0xc
test eax, eax
jne 0x51c232
push esi
call fcn.0051a480
mov ebx, eax
add esp, 4
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x51c232
cmp byte [esi + 0x12], 0
jne 0x51b522
or dword [ebx + 0x98], 0x20
cmp dword [ebp - 0x48], 0
jne 0x51b535
cmp dword [ebp - 0x94], 0
jne 0x51b535
xor eax, eax
jmp 0x51b53a
mov eax, 1
push dword [ebp - 0x38]
push eax
push esi
call fcn.00506e00
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x51b568
push dword [ebp - 0x38]
push dword [ebp + 0x18]
push dword [ebp - 0x48]
push edi
push esi
call fcn.00555b20
add esp, 0x14
test eax, eax
jne 0x51c1b0
push edi
push dword [ebp - 0x38]
push esi
call fcn.004e07a0
mov ecx, dword [esi + 0x2c]
add esp, 0xc
mov dword [ebp - 0x8c], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [ebp - 0x88], eax
movsx eax, word [edi + 0x2a]
inc eax
mov dword [ebp - 0x40], edx
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x38], 0
je 0x51b5a6
lea edx, [ecx + 2]
inc eax
mov dword [ebp - 0x40], edx
mov dword [esi + 0x2c], eax
test dword [edi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp - 0x2c]
sete byte [ebp - 0x2e]
mov dword [ebp - 0x60], eax
test edx, edx
je 0x51b6bd
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x51b5e0
nop dword [eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x51b5d0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp dword [edx + 4], ecx
jle 0x51b6bd
mov edx, dword [ebp - 0x28]
movsx eax, word [edx + 0x2a]
xor edi, edi
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x51b673
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x5c], eax
nop
push dword [eax]
push dword [ecx]
call fcn.0052a7f0
add esp, 8
test eax, eax
je 0x51b637
mov eax, dword [ebp - 0x5c]
inc edi
mov ecx, dword [ebp - 0x78]
add eax, 0x14
mov dword [ebp - 0x5c], eax
cmp edi, dword [ebp - 0x4c]
jl 0x51b610
mov edx, dword [ebp - 0x28]
jmp 0x51b670
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp dword [ebp - 0x34], edi
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edi
movzx eax, byte [ebp - 0x2e]
cmove ecx, eax
movsx eax, word [edx + 0x28]
mov byte [ebp - 0x2e], cl
cmp edi, eax
mov ecx, dword [ebp - 0x50]
cmove ecx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
mov dword [ebp - 0x50], ecx
lea ecx, [edi + edi*4]
test byte [eax + ecx*4 + 0x10], 0x60
jne 0x51b789
mov ecx, dword [ebp - 0x34]
movsx eax, word [edx + 0x2a]
cmp edi, eax
mov edi, dword [ebp - 0x2c]
jl 0x51b6ad
mov eax, dword [edi]
push dword [eax + ecx*8]
call fcn.0051c580
add esp, 4
test eax, eax
je 0x51b7a2
cmp byte [ebp - 0xb0], 0
jne 0x51b7a2
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x2e], 0
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, dword [edi + 4]
jl 0x51b5f1
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x48], 0
je 0x51b865
inc dword [esi + 0x2c]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x4c], eax
inc eax
push eax
push 0
push ecx
push 0xd
push ebx
mov dword [ebp - 0x5c], ecx
call fcn.0052e700
mov eax, dword [ebp - 0x5c]
mov dl, byte [ebp - 0x2e]
mov dword [ebp - 0x18], eax
xor eax, eax
test dl, dl
mov byte [ebp - 0x1c], 0xd
mov dword [ebp - 0xc], 0
cmovne eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
movsx eax, word [edi + 0x2a]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x48]
push esi
call fcn.00526660
mov ecx, dword [ebp - 0x14]
add esp, 0x20
mov dword [ebp - 0x54], ecx
test eax, eax
jne 0x51c232
mov eax, dword [ebp - 0x84]
cmp byte [eax + 0x51], 0
jne 0x51c232
cmp dword [esi + 0x24], 0
jne 0x51c232
push dword [ebp - 0x5c]
push ebx
call fcn.0052f270
push dword [ebp - 0x4c]
push ebx
call fcn.00537320
mov eax, dword [ebp - 0x48]
add esp, 0x10
cmp dword [ebp - 0x94], 0
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jne 0x51b7c6
push edi
push dword [ebp - 0x38]
push esi
call fcn.004fe470
add esp, 0xc
test eax, eax
jne 0x51b7c6
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
jmp 0x51b8a2
lea ecx, [edi + edi*4]
push dword [eax + ecx*4]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.0050fe10
add esp, 0xc
jmp 0x51c232
mov eax, dword [edi]
mov edx, dword [ebp - 0x34]
push dword [eax + edx*8]
push 0
push dword [ebp - 0x7c]
push str.table__S_has_no_column_named__s
push esi
call fcn.0050fe10
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x51c235
mov edx, dword [esi + 0x28]
push esi
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x58], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.00519b30
push esi
mov edi, eax
call fcn.00519b30
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x44]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.0052e6a0
mov eax, dword [ebp - 0x18]
push eax
push 0xe
push esi
mov dword [ebp - 0x68], eax
call fcn.0052e640
push edi
push dword [ebp - 0x34]
mov esi, eax
push dword [ebp - 0x54]
push 0x5b
push dword [ebp - 0x44]
call fcn.0052e700
push ebx
push dword [ebp - 0x58]
push 0x78
push dword [ebp - 0x44]
call fcn.0052e6a0
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x58]
push 0x79
push dword [ebp - 0x44]
call fcn.0052e700
push esi
push dword [ebp - 0x44]
call fcn.00536c60
push esi
push dword [ebp - 0x44]
call fcn.00537320
mov esi, dword [ebp - 0x6c]
push edi
push esi
call fcn.00524950
push ebx
push esi
call fcn.00524950
mov ebx, dword [ebp - 0x44]
add esp, 0x34
mov edi, dword [ebp - 0x34]
jmp 0x51b8a2
mov eax, dword [ebp - 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0xffffffff
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], esi
movups xmmword [ebp - 0x14], xmm0
test eax, eax
je 0x51b89d
mov edi, dword [eax]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], edi
push eax
call fcn.00524d30
add esp, 8
test eax, eax
jne 0x51c232
jmp 0x51b8a2
xor edi, edi
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x2c], 0
jne 0x51b8f8
test edi, edi
mov edi, dword [ebp - 0x28]
jle 0x51b8fb
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x50], eax
test eax, eax
js 0x51b8fb
test byte [edi + 0x24], 0x60
je 0x51b8fb
lea edx, [eax - 1]
test edx, edx
js 0x51b8fb
mov edi, dword [edi + 4]
lea ecx, [edx + edx*4]
add edi, 0x10
mov ebx, eax
lea edi, [edi + ecx*4]
mov ax, word [edi]
lea edi, [edi - 0x14]
and ax, 0x60
movzx ecx, ax
lea eax, [ebx - 1]
test cx, cx
cmove eax, ebx
sub edx, 1
mov ebx, eax
jns 0x51b8d5
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x28]
movsx eax, word [edi + 0x2a]
test eax, eax
jle 0x51b93a
mov edx, dword [edi + 4]
mov ebx, eax
add edx, 0x10
xor esi, esi
nop dword [eax]
mov ax, word [edx]
lea ecx, [esi + 1]
and ax, 0x62
lea edx, [edx + 0x14]
movzx eax, ax
test ax, ax
cmove ecx, esi
mov esi, ecx
sub ebx, 1
jne 0x51b910
mov ebx, dword [ebp - 0x44]
movsx eax, word [edi + 0x2a]
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
test ecx, ecx
jne 0x51b968
test edx, edx
je 0x51b984
sub eax, dword [ebp - 0x80]
cmp edx, eax
je 0x51b984
push edx
push eax
push ecx
push dword [ebp - 0x7c]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.0050fe10
add esp, 0x18
jmp 0x51c232
mov eax, dword [ecx + 4]
cmp edx, eax
je 0x51b984
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.0050fe10
add esp, 0x10
jmp 0x51c232
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x51b9bc
cmp byte [esi + 0x12], 0
jne 0x51b9bc
cmp dword [esi + 0x78], 0
jne 0x51b9bc
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x45
push ebx
mov dword [ebp - 0xac], eax
call fcn.0052e6a0
add esp, 0x10
cmp dword [ebp - 0xa8], 0
jne 0x51ba4a
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
push edi
push esi
call fcn.0051e640
mov dword [ebp - 0x80], eax
push 0
lea eax, [eax*4 + 8]
push eax
push dword [ebp - 0x84]
call fcn.0050df90
add esp, 0x2c
mov dword [ebp - 0x74], eax
test eax, eax
je 0x51c232
mov edx, dword [edi + 8]
xor ecx, ecx
cmp dword [ebp - 0x80], ecx
jle 0x51ba3e
mov ebx, dword [ebp - 0x80]
mov edi, eax
nop dword [eax + eax]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [esi + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, ebx
jl 0x51ba20
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x74]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x51bad1
cmp dword [edi + 0x38], 0
je 0x51ba6f
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
push esi
call fcn.0050fe10
add esp, 0xc
jmp 0x51c232
cmp dword [edi + 0xc], 0
je 0x51ba88
push str.cannot_UPSERT_a_view
push esi
call fcn.0050fe10
add esp, 8
jmp 0x51c232
push dword [eax]
push esi
call fcn.0051a530
add esp, 8
test eax, eax
jne 0x51c232
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [edx + 0x34], ecx
cmp dword [eax], 0
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edi
mov dword [eax + 0x20], ecx
je 0x51bad4
push eax
push edx
push esi
call fcn.0052d900
add esp, 0xc
jmp 0x51bad4
mov edi, dword [ebp - 0x60]
cmp byte [ebp - 0x2d], 0
je 0x51baf9
push dword [ebp - 0x58]
push 0x25
push ebx
call fcn.0052e640
mov dword [ebp - 0x9c], eax
add esp, 0xc
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x98], eax
jmp 0x51bb34
cmp dword [ebp - 0x48], 0
je 0x51bb34
push dword [ebp - 0x68]
push 0xe
push ebx
call fcn.0052e640
mov dword [ebp - 0x98], eax
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
js 0x51bb34
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x54]
add ecx, eax
push ecx
push 0x4d
push ebx
call fcn.0052e6a0
add esp, 0x10
mov ecx, dword [ebp - 0x28]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x38], edx
cmp ax, word [ecx + 0x2a]
jge 0x51bc8e
mov dword [ebp - 0x5c], eax
movsx eax, word [ecx + 0x28]
cmp edx, eax
jne 0x51bb68
push edi
push 0x49
push ebx
call fcn.0052e640
jmp 0x51bc70
mov eax, dword [ecx + 4]
add eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
movzx eax, word [eax + 0x10]
test al, 0x62
je 0x51bbc0
inc dword [ebp - 0x78]
test al, 0x20
je 0x51bb89
dec edi
jmp 0x51bc79
test al, 0x40
je 0x51bba8
test byte [ebp - 0xa4], 1
je 0x51bc79
push edi
push 0x49
push ebx
call fcn.0052e640
jmp 0x51bc70
cmp dword [ebp - 0x2c], 0
jne 0x51bbc6
mov eax, dword [ebp - 0x68]
push edi
push dword [eax + 4]
push esi
call fcn.00510aa0
jmp 0x51bc70
cmp dword [ebp - 0x2c], 0
je 0x51bc0a
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x51bbf2
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add ecx, 4
nop dword [eax]
cmp dword [ecx], ebx
je 0x51bbec
inc eax
add ecx, 8
cmp eax, edx
jl 0x51bbe0
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
cmp eax, edx
jl 0x51bc05
mov eax, dword [ebp - 0x68]
push edi
push dword [eax + 4]
push esi
call fcn.00510aa0
jmp 0x51bc70
mov edx, dword [ebp - 0x38]
jmp 0x51bc24
cmp dword [ebp - 0x34], 0
jne 0x51bc1f
mov eax, dword [ebp - 0x68]
push edi
push dword [eax + 4]
push esi
call fcn.00510aa0
jmp 0x51bc70
mov eax, edx
sub eax, dword [ebp - 0x78]
cmp byte [ebp - 0x2d], 0
je 0x51bc3c
push edi
push eax
push dword [ebp - 0x58]
push 0x59
push ebx
call fcn.0052e700
add esp, 0x14
jmp 0x51bc73
cmp dword [ebp - 0x48], 0
je 0x51bc5f
mov esi, dword [ebp - 0x60]
cmp dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x6c]
je 0x51bc79
add eax, dword [ebp - 0x54]
push edi
push eax
push 0x4e
push ebx
call fcn.0052e6a0
add esp, 0x10
jmp 0x51bc73
mov ecx, dword [ebp - 0x70]
lea eax, [eax + eax*4]
push edi
push dword [ecx + eax*4 + 4]
push esi
call fcn.00510780
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
movsx eax, word [ecx + 0x2a]
inc edx
add dword [ebp - 0x5c], 0x14
inc edi
mov dword [ebp - 0x38], edx
cmp edx, eax
jl 0x51bb52
dec dword [esi + 0x38]
test byte [ebp - 0xa4], 1
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x54], eax
je 0x51be28
movsx eax, word [ecx + 0x2a]
inc eax
push eax
push esi
call fcn.00519ad0
add esp, 8
mov edi, eax
mov eax, dword [ebp - 0x50]
push edi
test eax, eax
jns 0x51bccc
push 0xffffffffffffffff
push 0x45
push ebx
call fcn.0052e6a0
add esp, 0x10
jmp 0x51bd44
cmp byte [ebp - 0x2d], 0
je 0x51bce3
push eax
push dword [ebp - 0x58]
push 0x59
push ebx
call fcn.0052e700
add esp, 0x14
jmp 0x51bcf6
mov ecx, dword [ebp - 0x70]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push esi
call fcn.00510780
add esp, 0xc
push edi
push 0x33
push ebx
call fcn.0052e640
push edi
push 0xffffffffffffffff
push 0x45
push ebx
mov dword [ebp - 0x4c], eax
call fcn.0052e6a0
mov ecx, dword [ebp - 0x4c]
add esp, 0x1c
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x51bd1d
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x51bd2c
mov eax, 0x78e1cc
jmp 0x51bd35
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
push edi
push 0xf
push ebx
mov dword [eax + 8], edx
call fcn.0052e640
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x6c]
movsx eax, word [edx + 0x2c]
lea edx, [edi + 1]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 0x70], ecx
jg 0x51bd6f
push eax
push edx
push dword [ebp - 0x60]
push 0x4d
push ebx
call fcn.004f30c0
add esp, 0x14
lea edx, [edi + 1]
jmp 0x51bd9f
mov esi, dword [ebp - 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x4c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x28]
test byte [eax + 0x24], 0x60
je 0x51bdb6
push eax
push edx
push esi
call fcn.0050c770
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0xa8], 0
jne 0x51bdcd
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call fcn.0052a900
add esp, 0xc
push dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
mov ecx, edi
push dword [ebp + 0x18]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x7d
push dword [ebp - 0x94]
push esi
call fcn.0050b9a0
mov ecx, dword [ebp - 0x28]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x51be1d
test edi, edi
je 0x51be28
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x51be28
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x51be28
cmp eax, dword [esi + 0x1c]
jle 0x51be28
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
cmp dword [ebp - 0xa8], 0
jne 0x51c09e
cmp dword [ecx + 0x38], 0
je 0x51be51
push dword [ebp - 0x88]
push 0
push 0x48
push ebx
call fcn.0052e6a0
mov ecx, dword [ebp - 0x28]
add esp, 0x10
mov eax, dword [ebp - 0x50]
test eax, eax
js 0x51bf2a
cmp byte [ebp - 0x2d], 0
je 0x51be76
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x58]
push 0x59
push ebx
call fcn.0052e700
add esp, 0x14
jmp 0x51bebe
cmp dword [ebp - 0x48], 0
jne 0x51bebe
mov edx, dword [ebp - 0x70]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x51beb1
cmp dword [ecx + 0x38], 0
jne 0x51beb1
push dword [ebp - 0x8c]
push dword [ebp - 0x40]
push dword [ebp - 0x64]
push 0x78
push ebx
call fcn.0052e700
add esp, 0x14
mov byte [ebp - 0x39], 1
jmp 0x51bf66
push dword [ebp - 0x40]
push eax
push esi
call fcn.00510780
add esp, 0xc
mov edi, dword [ebp - 0x28]
cmp dword [edi + 0x38], 0
jne 0x51bf05
push dword [ebp - 0x40]
push 0x33
push ebx
call fcn.0052e640
push dword [ebp - 0x8c]
mov esi, eax
push dword [ebp - 0x40]
push dword [ebp - 0x64]
push 0x78
push ebx
call fcn.0052e700
push esi
push ebx
call fcn.00537320
mov esi, dword [ebp - 0x6c]
add esp, 0x28
push dword [ebp - 0x40]
push 0xf
push ebx
call fcn.0052e640
add esp, 0xc
jmp 0x51bf69
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x40]
push 0x32
push ebx
call fcn.0052e6a0
add esp, 0x10
push dword [ebp - 0x40]
push 0xf
push ebx
call fcn.0052e640
add esp, 0xc
jmp 0x51bf69
cmp dword [ecx + 0x38], 0
jne 0x51bf56
cmp byte [ebp - 0xb0], 0
jne 0x51bf56
push dword [ebp - 0x8c]
push dword [ebp - 0x40]
push dword [ebp - 0x64]
push 0x78
push ebx
call fcn.0052e700
add esp, 0x14
mov byte [ebp - 0x39], 1
jmp 0x51bf66
push dword [ebp - 0x40]
push 0
push 0x48
push ebx
call fcn.0052e6a0
add esp, 0x10
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x40]
push dword [ebp - 0x8c]
push esi
call fcn.004e0860
add esp, 0xc
test byte [edi + 0x24], 0x60
je 0x51bf8e
push edi
push dword [ebp - 0x60]
push esi
call fcn.0050c770
add esp, 0xc
cmp dword [edi + 0x38], 0
je 0x51c010
mov edi, dword [edi + 0x40]
test edi, edi
je 0x51bfac
mov eax, dword [ebp - 0x84]
cmp dword [edi], eax
je 0x51bfac
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x51bfa1
mov edx, dword [ebp - 0x28]
push edx
push esi
call fcn.0053b430
push 0xfffffffffffffff4
push edi
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x88]
movsx eax, word [edi + 0x2a]
add eax, 2
push eax
push 1
push 0xa
push ebx
call fcn.0052e750
mov eax, dword [ebx + 0x6c]
add esp, 0x24
test eax, eax
jle 0x51bffd
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x4c], 2
cmove edx, dword [ebp - 0x4c]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x51c0a1
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x4c]
push ecx
push 0
push eax
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push dword [ebp + 0x18]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [ebp - 0x88]
push dword [ebp - 0x90]
push dword [ebp - 0x64]
push dword [ebp - 0x74]
push edi
push esi
call fcn.00517090
push 0
push 0
push dword [ebp - 0x88]
push 0
push edi
push esi
call fcn.00516090
add esp, 0x4c
cmp dword [ebp - 0x4c], 0
je 0x51c073
cmp dword [ebx + 0xd8], 0
je 0x51c073
xor eax, eax
jmp 0x51c078
mov eax, 1
push eax
movzx eax, byte [ebp - 0x39]
push eax
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x88]
push dword [ebp - 0x90]
push dword [ebp - 0x64]
push edi
push esi
call fcn.0050c550
add esp, 0x24
jmp 0x51c0a1
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x51c0b9
push 1
push eax
push 0x52
push ebx
call fcn.0052e6a0
add esp, 0x10
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x51c0e7
push dword [ebp - 0x54]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x60]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x7d
push edx
push esi
call fcn.0050b9a0
add esp, 0x24
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x51c104
push edx
push ebx
push ecx
call fcn.00500350
add esp, 0xc
jmp 0x51c10d
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [ebp - 0x2d], 0
je 0x51c170
push dword [ebp - 0x98]
mov edi, dword [ebp - 0x58]
push edi
push 5
push ebx
call fcn.0052e6a0
mov ecx, dword [ebp - 0x9c]
add esp, 0x10
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x51c138
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x51c156
mov eax, 0x78e1cc
push edi
push 0x74
push ebx
mov dword [eax + 8], edx
call fcn.0052e640
add esp, 0xc
jmp 0x51c1b0
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
push edi
push 0x74
push ebx
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
call fcn.0052e640
add esp, 0xc
jmp 0x51c1b0
cmp dword [ebp - 0x48], 0
je 0x51c1b0
push dword [ebp - 0x98]
push ebx
call fcn.00536c60
mov ecx, dword [ebp - 0x9c]
add esp, 8
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x51c195
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x51c1a4
mov eax, 0x78e1cc
jmp 0x51c1ad
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [esi + 0x12], 0
jne 0x51c1cb
cmp dword [esi + 0x78], 0
jne 0x51c1cb
cmp dword [esi + 0x70], 0
je 0x51c1cb
push esi
call fcn.004e08d0
add esp, 4
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x51c232
push 1
push eax
push 0x50
push ebx
call fcn.0052e6a0
push 1
push ebx
call fcn.00539b80
mov eax, dword [ebx]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x51c232
mov esi, dword [ebx + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x51c207
cmp dword [esi + 0x18], 0
je 0x51c210
push esi
call fcn.005479d0
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_inserted
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xd
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
push esi
call fcn.00529930
mov eax, dword [ebp - 0x70]
add esp, 8
test eax, eax
je 0x51c258
push eax
push esi
call fcn.004edbc0
add esp, 8
mov ebx, dword [ebp - 0xa0]
test ebx, ebx
je 0x51c2af
mov eax, dword [ebx]
test eax, eax
je 0x51c272
push eax
push esi
call fcn.004edbc0
add esp, 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x51c283
push eax
push esi
call fcn.00513360
add esp, 8
mov eax, dword [ebx + 8]
test eax, eax
je 0x51c294
push eax
push esi
call fcn.004edbc0
add esp, 8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x51c2a5
push eax
push esi
call fcn.00513360
add esp, 8
push ebx
push esi
call fcn.0050df20
add esp, 8
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x51c2c2
push 1
push eax
push esi
call fcn.004e59b0
add esp, 0xc
push edi
push esi
call fcn.0051a910
mov eax, dword [ebp - 0x74]
add esp, 8
test eax, eax
je 0x51c2dd
push eax
push esi
call fcn.0050df20
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062702c
mov esp, ebp
pop ebp
ret