Function at 0x51a6b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x54]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
push esi
mov ebp, dword [ebp]
xor esi, esi
push edi
xor edi, edi
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0xa7
test eax, eax
je 0x51a787
test byte [ebx + 0x18], 6
je 0x51a711
mov dword [esp + 0x54], ecx
jmp 0x51a787
mov ebx, dword [ebp + 0x14]
xor esi, esi
test ebx, ebx
jle 0x51a753
mov ebp, dword [ebp + 0x10]
mov edi, ebp
nop
push eax
push dword [edi]
call fcn.0055c450
add esp, 8
test eax, eax
je 0x51a73d
mov eax, dword [esp + 0x54]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x51a720
jmp 0x51a74d
mov eax, esi
add eax, eax
mov ecx, dword [ebp + eax*8 + 0xc]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x2c]
xor edi, edi
cmp esi, ebx
jne 0x51a781
push eax
push str.main
call fcn.0055c450
mov ebx, dword [esp + 0x68]
add esp, 8
xor esi, esi
test eax, eax
jne 0x51a787
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], eax
jmp 0x51a787
mov ebx, dword [esp + 0x60]
xor esi, esi
mov edx, dword [esp + 0x58]
jmp 0x51a790
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], eax
test eax, eax
je 0x51aa67
xor ecx, ecx
lea ebp, [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
cmp dword [eax], ecx
jle 0x51aa37
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x34], ebx
test eax, eax
je 0x51a83f
test dword [eax + 4], 0x800
je 0x51a83f
mov ebx, dword [eax + 0x1c]
xor esi, esi
xor ebp, ebp
cmp dword [ebx], esi
jle 0x51a82f
lea edi, [ebx + 8]
lea esp, [esp]
push dword [esp + 0x54]
push edx
push dword [esp + 0x64]
push edi
call fcn.0054e3c0
add esp, 0x10
test eax, eax
je 0x51a817
mov eax, dword [esp + 0x1c]
mov ebp, 1
inc dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], 2
mov word [eax + 0x20], si
mov edx, dword [esp + 0x58]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x51a7e0
mov ecx, dword [esp + 0x20]
test ebp, ebp
jne 0x51aa0f
mov ebp, dword [esp + 0x1c]
test edx, edx
je 0x51aa13
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x51a891
mov esi, dword [esp + 0x28]
cmp dword [ebx + 0x3c], esi
jne 0x51aa13
test esi, esi
jne 0x51a891
mov ecx, 0x5c86bc
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x51a880
test dl, dl
je 0x51a87c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x51a880
add eax, 2
add ecx, 2
test dl, dl
jne 0x51a860
xor eax, eax
jmp 0x51a885
sbb eax, eax
or eax, 1
mov edx, dword [esp + 0x58]
test eax, eax
jne 0x51aafc
test edx, edx
je 0x51a903
mov edi, dword [ebp + 0xc]
mov edx, edi
test edi, edi
jne 0x51a8a0
mov edx, dword [ebx]
mov esi, dword [esp + 0x58]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51a8e4
test ecx, ecx
jne 0x51a8fa
mov eax, dword [esp + 0x50]
cmp byte [eax + 0xd0], 2
jb 0x51a903
test edi, edi
je 0x51a903
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x51a903
mov ecx, dword [esp + 0x64]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x51a8fd
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x51a8d7
jmp 0x51a903
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51aaef
inc edx
jmp 0x51a8a6
mov dword [eax], 0
mov esi, dword [esp + 0x5c]
push esi
call fcn.0055c490
mov edx, dword [esp + 0x38]
add esp, 4
xor ebx, ebx
mov byte [esp + 0x13], al
movsx ebp, word [edx + 0x22]
mov edi, dword [edx + 4]
test ebp, ebp
jle 0x51a9cd
lea esp, [esp]
cmp byte [edi + 0xa], al
jne 0x51a9bd
mov edx, dword [edi]
sub esi, edx
lea ecx, [ecx]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x51a9a0
test eax, eax
jne 0x51a9b2
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x51a97a
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x5c]
test byte [eax + 0x24], 4
jne 0x51a9b9
push esi
push dword [eax + 0x34]
call fcn.0051dfe0
add esp, 8
test eax, eax
jne 0x51a9b9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
movsx eax, word [edx + 0x20]
cmp ebx, eax
jne 0x51aa02
mov ebx, dword [esp + 0x64]
or eax, 0xffffffff
mov word [ebx + 0x20], ax
jmp 0x51a9d1
movzx ecx, byte [ecx + 0x5c0080]
movzx eax, byte [eax + 0x5c0080]
sub eax, ecx
jne 0x51a9b5
inc edx
jmp 0x51a940
mov esi, dword [esp + 0x5c]
mov al, byte [esp + 0x13]
inc ebx
add edi, 0x10
cmp ebx, ebp
jl 0x51a930
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test esi, esi
jne 0x51aae2
test dword [edx + 0x1c], 0x200
mov edx, dword [esp + 0x58]
jne 0x51aad9
inc dword [esp + 0x24]
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jmp 0x51aa1b
movsx eax, bx
mov ebx, dword [esp + 0x64]
mov word [ebx + 0x20], ax
jmp 0x51a9d1
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
inc ecx
add ebp, 0x48
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
cmp ecx, dword [eax]
jl 0x51a7b4
mov ebx, dword [esp + 0x60]
test edi, edi
je 0x51aa5f
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x2c], eax
test byte [edi + 0x24], 8
je 0x51aa58
or dword [ecx + 4], 0x100000
mov ebp, dword [eax + 0x3c]
mov dword [esp + 0x28], ebp
test esi, esi
jne 0x51adc4
cmp dword [esp + 0x54], 0
jne 0x51acbe
mov esi, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x78]
test eax, eax
je 0x51ab9d
cmp byte [esi + 0x95], 0
movzx edi, byte [esi + 0x94]
je 0x51ab0d
test dword [ebx + 0x18], 0x400
je 0x51ab9d
test edx, edx
je 0x51aabb
push dword [eax]
push edx
call fcn.0055c450
add esp, 8
test eax, eax
jne 0x51ab9d
mov ebx, dword [esp + 0x64]
xor eax, eax
cmp edi, 0x80
setne al
mov dword [ebx + 0x1c], eax
mov ebp, dword [esi + 0x78]
mov dword [esp + 0x1c], ebp
jmp 0x51aba1
mov ecx, dword [esp + 0x20]
jmp 0x51aa17
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
jmp 0x51aa17
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
jmp 0x51aa13
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
jmp 0x51aa1b
cmp edi, 0x80
je 0x51ab64
test edx, edx
je 0x51ab64
mov esi, dword [esp + 0x58]
mov edx, 0x5c86c0
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51ab4b
test ecx, ecx
jne 0x51ab5d
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x50]
mov dword [ebx + 0x1c], 1
mov ebp, dword [ebp + 0x78]
mov dword [esp + 0x1c], ebp
jmp 0x51aba1
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51ab60
inc edx
jmp 0x51ab24
mov esi, dword [esp + 0x50]
cmp edi, 0x7f
je 0x51ab9d
mov eax, dword [esp + 0x58]
test eax, eax
je 0x51ab97
push eax
push 0x5c86c4
call fcn.0055c450
mov ebx, dword [esp + 0x6c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x58]
jne 0x51aba5
mov dword [ebx + 0x1c], ebp
mov ebp, dword [esi + 0x78]
mov dword [esp + 0x1c], ebp
jmp 0x51aba5
mov ebx, dword [esp + 0x64]
jmp 0x51aba5
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
test dword [ecx + 0x18], 0x200
je 0x51abea
test eax, eax
je 0x51abea
mov edi, dword [ecx + 8]
test edi, edi
je 0x51abea
mov edx, str.excluded
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51ac50
test ecx, ecx
jne 0x51ac62
mov eax, dword [edi + 0x20]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [ebx + 0x1c], 2
test ebp, ebp
je 0x51acbe
mov esi, dword [esp + 0x5c]
push esi
call fcn.0055c490
mov ecx, dword [ebp + 0x3c]
add esp, 4
mov edi, dword [ebp + 4]
xor ebx, ebx
movsx ebp, word [ebp + 0x22]
inc dword [esp + 0x24]
mov byte [esp + 0x13], al
mov dword [esp + 0x28], ecx
test ebp, ebp
jle 0x51ac8d
jmp 0x51ac20
cmp byte [edi + 0xa], al
jne 0x51ac85
mov edx, dword [edi]
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51ac68
test ecx, ecx
jne 0x51ac7a
mov esi, dword [esp + 0x1c]
movsx eax, word [esi + 0x20]
cmp ebx, eax
jne 0x51ac91
or ebx, 0xffffffff
jmp 0x51ac91
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51abea
inc edx
jmp 0x51abc6
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51ac7d
inc edx
jmp 0x51ac30
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x5c]
inc ebx
add edi, 0x10
cmp ebx, ebp
jl 0x51ac20
mov esi, dword [esp + 0x1c]
cmp ebx, ebp
jl 0x51add7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0054c690
add esp, 4
test eax, eax
je 0x51acb6
test dword [esi + 0x1c], 0x200
jne 0x51acb6
or ebx, 0xffffffff
cmp ebx, ebp
jl 0x51add7
cmp dword [esp + 0x24], 1
jne 0x51ad11
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x51ad11
mov esi, dword [esp + 0x60]
test byte [esi + 0x18], 0x28
mov esi, dword [esp + 0x5c]
jne 0x51ad15
push esi
call fcn.0054c690
add esp, 4
test eax, eax
je 0x51ad15
mov eax, dword [ebx + 0x10]
test dword [eax + 0x1c], 0x200
jne 0x51ad15
mov edx, dword [esp + 0x64]
or eax, 0xffffffff
mov edi, dword [esp + 0x50]
mov ebp, 1
mov word [edx + 0x20], ax
mov byte [edx + 1], 0x44
jmp 0x51b272
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
test byte [ebx + 0x18], 0x80
je 0x51ad8f
test edx, edx
jne 0x51ad8f
mov ecx, dword [ebx + 8]
xor ebp, ebp
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x51ad8f
lea ebx, [ecx + 0x14]
lea esp, [esp]
test byte [ebx], 3
mov edi, dword [ebx - 8]
jne 0x51ad7f
test edi, edi
jne 0x51ad54
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x51ad77
test esi, esi
je 0x51ad7f
mov edx, edi
sub esi, edi
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51adaf
test ecx, ecx
jne 0x51adc1
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
test ecx, ecx
je 0x51afa3
inc ebp
add ebx, 0x14
cmp ebp, eax
jl 0x51ad40
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0xc]
inc dword [esp + 0x3c]
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x51b09b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x51a790
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51ad6f
inc edx
jmp 0x51ad60
cmp esi, 1
je 0x51b262
mov eax, str.ambiguous_column_name
jmp 0x51b1d6
mov edx, dword [esp + 0x64]
mov ebp, 1
mov dword [esp + 0x14], 0
mov edi, dword [edx + 0x1c]
cmp edi, 2
jne 0x51ae8d
mov edi, dword [esp + 0x50]
cmp byte [edi + 0xd0], 2
jb 0x51ae15
mov word [edx + 0x20], bx
mov dword [edx + 0x2c], esi
mov dword [esp + 0x30], 0xa7
jmp 0x51b26e
test byte [esi + 0x1c], 0x20
je 0x51ae6d
test bx, bx
js 0x51ae6d
movsx ecx, bx
xor esi, esi
mov ebx, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
jle 0x51ae43
mov eax, dword [ebx + 4]
mov esi, ecx
add eax, 0xe
test byte [eax], 0x20
jne 0x51ae3d
inc edx
add eax, 0x10
dec ecx
jne 0x51ae37
mov eax, dword [ebx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x20
je 0x51ae64
mov ax, word [ebx + 0x24]
sub ax, dx
mov edx, dword [esp + 0x64]
add ax, si
movzx ecx, ax
jmp 0x51ae70
movzx ecx, dx
mov edx, dword [esp + 0x64]
jmp 0x51ae70
movzx ecx, bx
mov esi, dword [esp + 0x60]
movsx ecx, cx
mov dword [esp + 0x30], 0xb0
mov eax, dword [esi + 8]
add ecx, dword [eax + 0x24]
mov dword [edx + 0x1c], ecx
jmp 0x51b26e
mov eax, dword [esp + 0x50]
mov dword [edx + 0x2c], esi
cmp byte [eax + 0x95], 0
je 0x51af2c
mov byte [edx + 2], 0xa7
test byte [esi + 0x1c], 0x20
mov dword [esp + 0x30], 0xb0
je 0x51af0e
test bx, bx
js 0x51af0e
movsx ecx, bx
xor esi, esi
mov ebx, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
jle 0x51aedc
mov eax, dword [ebx + 4]
mov esi, ecx
add eax, 0xe
nop
test byte [eax], 0x20
jne 0x51aed6
inc edx
add eax, 0x10
dec ecx
jne 0x51aed0
mov eax, dword [ebx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x20
je 0x51af01
mov ax, word [ebx + 0x24]
sub ax, dx
mov edx, dword [esp + 0x64]
add ax, si
mov esi, dword [esp + 0x1c]
movzx eax, ax
jmp 0x51af11
mov esi, dword [esp + 0x1c]
movzx eax, dx
mov edx, dword [esp + 0x64]
jmp 0x51af11
movzx eax, bx
movsx ecx, word [esi + 0x22]
mov esi, dword [esp + 0x60]
inc ecx
imul ecx, edi
cwde
inc eax
add ecx, dword [esi + 8]
add eax, ecx
mov dword [edx + 0x1c], eax
jmp 0x51b26a
mov word [edx + 0x20], bx
mov dword [esp + 0x30], 0x4d
test ebx, ebx
jns 0x51af47
mov byte [edx + 1], 0x44
mov edi, eax
jmp 0x51b26e
test edi, edi
jne 0x51af77
cmp ebx, 0x20
jl 0x51af62
mov edi, dword [esp + 0x50]
or eax, 0xffffffff
or dword [edi + 0x8c], eax
jmp 0x51b26e
mov edi, dword [esp + 0x50]
mov eax, ebp
mov ecx, ebx
shl eax, cl
or dword [edi + 0x8c], eax
jmp 0x51b26e
cmp ebx, 0x20
jl 0x51af8e
mov edi, dword [esp + 0x50]
or eax, 0xffffffff
or dword [edi + 0x90], eax
jmp 0x51b26e
mov edi, dword [esp + 0x50]
mov eax, ebp
mov ecx, ebx
shl eax, cl
or dword [edi + 0x90], eax
jmp 0x51b26e
mov ebx, dword [esp + 0x60]
lea eax, [ebp*4]
add eax, ebp
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edx + eax*4 + 8]
test cl, 1
jne 0x51afe4
test byte [eax + 4], 0x10
je 0x51afe4
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x58]
call fcn.00539ba0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x3c
ret
test dword [eax + 4], 0x8000
je 0x51b005
test ecx, 0x4000
je 0x51affd
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
je 0x51b005
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x51afcb
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x51b00f
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x51b019
mov eax, dword [eax + 0x14]
jmp 0x51b024
cmp cl, 0x8a
jne 0x51b049
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x51b049
push str.row_value_misused
push dword [esp + 0x54]
call fcn.00539ba0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
push eax
push dword [esp + 0x68]
push ebp
push edx
push edi
call fcn.00527960
mov edx, dword [esp + 0x78]
add esp, 0x14
cmp byte [edi + 0xd0], 2
jb 0x51b343
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x51b343
cmp dword [eax], edx
je 0x51b090
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x51b080
jmp 0x51b343
mov dword [eax], 0
jmp 0x51b343
test edx, edx
jne 0x51b1d1
mov ebp, dword [esp + 0x64]
mov ebx, dword [ebp + 4]
test bl, 0x40
je 0x51b0fd
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xb1], dl
jne 0x51b14a
mov ecx, dword [esp + 0x38]
test dword [ecx + 0x18], 0x10000
je 0x51b13d
mov ecx, dword [eax + 0x20]
xor edi, edi
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x51b0f3
test edi, edi
jne 0x51b0f3
mov eax, ecx
and eax, 0x40000000
or eax, edi
jne 0x51b14a
and ecx, 0x20000000
or ecx, edi
jne 0x51b14a
test ebx, 0x4000400
jne 0x51b1d1
mov edx, dword [ebp + 8]
mov edi, 0x5c707c
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x51b173
test ecx, ecx
jne 0x51b185
mov eax, 0x10000000
mov byte [ebp], 0xaa
pop edi
or ebx, eax
lea eax, [ecx + 1]
pop esi
mov dword [ebp + 4], ebx
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [eax + 0x20]
and eax, 0x40000000
or eax, 0
je 0x51b0fd
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004e9df0
add esp, 0xc
mov byte [ebp], 0x75
xor eax, eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51b188
inc esi
jmp 0x51b115
mov esi, 0x5c7098
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x51b1b8
test ecx, ecx
jne 0x51b1ca
mov eax, 0x20000000
mov byte [ebp], 0xaa
pop edi
or ebx, eax
lea eax, [ecx + 1]
pop esi
mov dword [ebp + 4], ebx
pop ebp
pop ebx
add esp, 0x3c
ret
movzx eax, byte [eax + 0x5c0080]
movzx ecx, byte [ecx + 0x5c0080]
sub ecx, eax
jne 0x51b1cd
inc edx
jmp 0x51b190
mov edx, dword [esp + 0x58]
mov eax, str.no_such_column
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
push ecx
test ebx, ebx
je 0x51b1fa
push edx
push ebx
push eax
push str._s:__s._s._s
push edi
call fcn.00539ba0
add esp, 0x18
jmp 0x51b21f
test edx, edx
je 0x51b210
push edx
push eax
push str._s:__s._s
push edi
call fcn.00539ba0
add esp, 0x14
jmp 0x51b21f
push eax
push str._s:__s
push edi
call fcn.00539ba0
add esp, 0x10
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [edi]
test byte [eax + 4], 1
jne 0x51b233
cmp dword [eax + 0x24], 0
jg 0x51b24b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x51b227
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov byte [edi + 0x11], 1
inc dword [eax + 0x14]
jmp 0x51b26e
mov eax, dword [eax + 0x24]
mov ebp, dword [esp + 0x18]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x38]
mov byte [edi + 0x11], 1
inc dword [eax + 0x14]
jmp 0x51b26e
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
movzx eax, word [edx + 0x20]
test ax, ax
js 0x51b2e4
test ebx, ebx
je 0x51b2e4
mov edx, dword [edx + 0x2c]
movsx esi, ax
test byte [edx + 0x1c], 0x60
je 0x51b2c2
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x51b2c2
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x51b2ab
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x51b2da
movsx ecx, ax
xor edx, edx
mov eax, 1
call fcn.0042e9b0
add eax, 0xffffffff
adc edx, 0xffffffff
jmp 0x51b2da
cmp esi, 0x40
jl 0x51b2cc
mov esi, 0x3f
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.0042e9b0
or dword [ebx + 0x38], eax
or dword [ebx + 0x3c], edx
mov edx, dword [esp + 0x64]
test dword [edx + 4], 0x804000
jne 0x51b329
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x51b306
push eax
push esi
call fcn.0053d5f0
mov edx, dword [esp + 0x6c]
add esp, 8
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], 0
test eax, eax
je 0x51b322
push eax
push esi
call fcn.0053d5f0
mov edx, dword [esp + 0x6c]
add esp, 8
mov dword [edx + 0x10], 0
or dword [edx + 4], 0x800000
mov eax, dword [esp + 0x30]
mov byte [edx], al
cmp ebp, 1
jne 0x51afd7
mov ebx, dword [esp + 0x60]
mov eax, dword [edi]
cmp dword [eax + 0x168], 0
je 0x51b36a
mov al, byte [edx]
cmp al, 0xa7
je 0x51b358
cmp al, 0x4d
jne 0x51b36a
push dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push edi
call fcn.0052e490
add esp, 0x10
mov eax, dword [esp + 0x38]
inc dword [eax + 0x10]
cmp eax, ebx
je 0x51b37f
mov eax, dword [eax + 0xc]
inc dword [eax + 0x10]
cmp eax, ebx
jne 0x51b375
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret