Function at 0x42eb53
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x18], edx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx]
or dword [esi + 0x1c], 0xffffffff
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], 0xa7
mov dword [ebp - 0xc], ecx
test edx, edx
je 0x42ec13
test byte [edi + 0x18], 6
je 0x42eba0
mov dword [ebp - 0x18], ecx
jmp 0x42ec13
mov edi, ecx
cmp dword [eax + 0x14], ecx
jle 0x42ebe7
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x10], eax
mov ecx, dword [eax]
call fcn.00408637
test eax, eax
je 0x42ebd1
mov ecx, dword [ebp - 0x10]
inc edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp + 0x10], eax
cmp edi, dword [ecx + 0x14]
jl 0x42ebad
mov eax, ecx
jmp 0x42ebe7
mov edx, dword [ebp - 0x10]
mov eax, edi
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov dword [ebp - 0x24], eax
mov eax, edx
mov edx, dword [ebp - 0x18]
cmp edi, dword [eax + 0x14]
jne 0x42ec10
mov ecx, 0x48f1b8
call fcn.00408637
mov edi, dword [ebp - 4]
test eax, eax
jne 0x42ec13
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
jmp 0x42ec13
mov edi, dword [ebp - 4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42ede5
xor edx, edx
lea ecx, [eax + 8]
mov edi, edx
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x20], edi
cmp dword [eax], edx
jle 0x42edb4
test dword [ecx + 0x28], 0x2000
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], edx
je 0x42ed4b
and dword [ebp + 0x10], 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x40], eax
cmp dword [eax], 0
jle 0x42ed40
lea edi, [eax + 0x14]
push dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
lea ecx, [edi - 0xc]
push dword [ebp + 8]
call fcn.0042e95c
pop ecx
pop ecx
test eax, eax
je 0x42ed1b
mov eax, dword [ebp - 8]
test eax, eax
jle 0x42ecef
mov eax, dword [ebp + 0x14]
test dword [eax + 0x28], 0x400
je 0x42ecda
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
call fcn.00440283
test eax, eax
js 0x42ecda
mov ecx, dword [ebp + 0x14]
mov al, byte [ecx + 0x24]
test al, 0x10
je 0x42ed1b
test al, 8
jne 0x42ecc6
push dword [ebp - 0xc]
xor eax, eax
push dword [ebp - 0x10]
call fcn.004325ff
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x42eced
movzx eax, word [esi + 0x20]
lea edx, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0042ea71
jmp 0x42ecea
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004325ff
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
inc eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], eax
xor eax, eax
mov word [esi + 0x20], dx
inc eax
or dword [edi], 0x40
test byte [edi], 0x80
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], eax
jne 0x42ed9c
jmp 0x42ed21
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
inc edx
add edi, 0x14
mov dword [ebp + 0x10], edx
cmp edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
jl 0x42ec67
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x42ed9f
mov edx, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x14]
jne 0x42ed55
jmp 0x42eda2
cmp dword [ebp + 8], 0
je 0x42ee95
cmp dword [ebp - 0x18], 0
je 0x42ed7c
mov ecx, dword [ebp - 0x24]
cmp dword [edx + 0x3c], ecx
mov ecx, dword [ebp + 0x14]
jne 0x42eda2
cmp dword [ebp - 0x24], 0
jne 0x42ed7c
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x2a
jne 0x42ed9f
movzx eax, byte [eax + 1]
test al, al
jne 0x42ed9f
mov edi, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
test edi, edi
je 0x42ee4c
mov edx, edi
call fcn.00408637
test eax, eax
je 0x42ee7a
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
inc edi
add ecx, 0x48
mov dword [ebp - 0x20], edi
mov dword [ebp + 0x14], ecx
cmp edi, dword [eax]
jl 0x42ec36
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x42edda
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x2c], eax
test byte [ecx + 0x24], 0x48
je 0x42edd4
or dword [esi + 4], 0x200000
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 8]
test edi, edi
jne 0x42f1df
cmp dword [ebp - 0x18], 0
jne 0x42f0e1
mov edx, dword [ebx + 0x7c]
xor eax, eax
mov edi, eax
mov dword [ebp + 0x14], edi
test edx, edx
je 0x42f001
cmp byte [ebx + 0x9d], 0
mov al, byte [ebx + 0x9c]
mov byte [ebp + 0x13], al
je 0x42efb8
mov ecx, dword [ebp - 4]
test dword [ecx + 0x18], 0x400
je 0x42f001
cmp dword [ebp + 8], edi
je 0x42ee3e
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
call fcn.00408637
test eax, eax
jne 0x42f001
xor eax, eax
cmp byte [ebp + 0x13], 0x80
setne al
jmp 0x42eff8
mov edx, dword [edx]
call fcn.00408637
test eax, eax
je 0x42ee7a
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 1
jne 0x42ed99
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.0042eabf
pop ecx
test eax, eax
je 0x42ed99
cmp byte [ebx + 0xd8], 2
jb 0x42ee95
test edi, edi
je 0x42ee95
lea eax, [esi + 0x2c]
xor edx, edx
push eax
mov ecx, ebx
call fcn.004377ec
pop ecx
mov ecx, dword [ebp + 0xc]
call fcn.004086cc
mov ecx, dword [ebp - 0x2c]
mov dl, al
xor eax, eax
mov byte [ebp + 0x13], dl
mov dword [ebp - 0x34], eax
mov edi, dword [ecx + 4]
movsx ecx, word [ecx + 0x22]
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x42ef11
cmp byte [edi + 0xa], dl
jne 0x42ef06
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi]
call fcn.00408637
test eax, eax
jne 0x42eefd
cmp dword [ebp - 8], eax
jle 0x42ef7d
mov eax, dword [ebp + 0x14]
test dword [eax + 0x28], 0x400
je 0x42ef6b
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
call fcn.00440283
test eax, eax
js 0x42ef6b
mov eax, dword [ebp + 0x14]
mov al, byte [eax + 0x24]
test al, 0x10
jne 0x42ef3e
mov dl, byte [ebp + 0x13]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
inc eax
add edi, 0x10
mov dword [ebp - 0x34], eax
cmp eax, ecx
jl 0x42eeb8
mov edi, dword [ebp + 0x14]
cmp dword [ebp - 8], 0
jne 0x42ed99
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
test dword [eax + 0x1c], 0x200
mov eax, dword [ebp - 0x14]
jne 0x42ef36
inc dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x20]
jmp 0x42eda2
test al, 8
jne 0x42ef57
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp - 0x10]
mov dword [ebp - 8], edi
call fcn.004325ff
mov dword [ebp - 0xc], edi
jmp 0x42ef7b
movzx eax, word [esi + 0x20]
lea edx, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0042ea71
jmp 0x42ef7b
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004325ff
xor eax, eax
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 8]
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp + 0x14]
movsx eax, word [eax + 0x20]
cmp edx, eax
movzx ecx, dx
push 0xffffffffffffffff
pop eax
cmove ecx, eax
mov dword [ebp - 0x1c], edi
mov word [esi + 0x20], cx
test dword [edi + 0x28], 0x2000
je 0x42ef14
mov ecx, edi
call fcn.0044e570
jmp 0x42ef14
cmp al, 0x80
je 0x42efe2
cmp dword [ebp + 8], edi
je 0x42efde
mov edx, dword [ebp + 8]
mov ecx, 0x4929d8
call fcn.00408637
test eax, eax
jne 0x42efdb
mov dword [esi + 0x1c], 1
jmp 0x42effb
mov al, byte [ebp + 0x13]
cmp al, 0x7f
je 0x42f001
cmp dword [ebp + 8], edi
je 0x42f001
mov edx, dword [ebp + 8]
mov ecx, 0x494a8c
call fcn.00408637
test eax, eax
jne 0x42f001
mov dword [esi + 0x1c], eax
mov edi, dword [ebx + 0x7c]
mov dword [ebp + 0x14], edi
mov ecx, dword [ebp - 4]
test dword [ecx + 0x18], 0x200
je 0x42f040
cmp dword [ebp + 8], 0
je 0x42f040
cmp dword [ecx + 8], 0
je 0x42f040
mov edx, dword [ebp + 8]
mov ecx, str.excluded
call fcn.00408637
test eax, eax
jne 0x42f040
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + 0x18]
mov dword [ebp + 0x14], edi
mov dword [esi + 0x1c], 2
test edi, edi
je 0x42f0e1
mov ecx, dword [ebp + 0xc]
call fcn.004086cc
mov ecx, dword [ebp + 0x14]
inc dword [ebp - 0x28]
mov byte [ebp + 0x13], al
mov eax, dword [edi + 0x3c]
movsx edx, word [ecx + 0x22]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x34], edx
mov edi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
test edx, edx
jle 0x42f0b3
mov cl, byte [ebp + 0x13]
cmp byte [eax + 0xa], cl
jne 0x42f093
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
call fcn.00408637
test eax, eax
je 0x42f0a0
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp + 0x13]
inc edi
add eax, 0x10
mov dword [ebp - 0x40], eax
cmp edi, edx
jl 0x42f077
jmp 0x42f0b7
mov ecx, dword [ebp + 0x14]
movsx eax, word [ecx + 0x20]
cmp edi, eax
je 0x42f1ed
movsx edx, word [ecx + 0x22]
cmp edi, edx
jl 0x42f0d3
mov ecx, dword [ebp + 0xc]
call fcn.00432adc
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x42f0d3
test dword [ecx + 0x1c], 0x200
push 0xffffffffffffffff
pop eax
cmove edi, eax
movsx eax, word [ecx + 0x22]
mov edx, edi
cmp edi, eax
jl 0x42f1f4
cmp dword [ebp - 0x28], 1
mov edi, dword [ebp - 4]
jne 0x42f115
cmp dword [ebp - 0x1c], 0
je 0x42f115
test byte [edi + 0x18], 0x28
jne 0x42f115
mov ecx, dword [ebp + 0xc]
call fcn.00432adc
test eax, eax
je 0x42f115
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
test dword [eax + 0x1c], 0x200
je 0x42f2d2
test byte [edi + 0x18], 0x80
je 0x42f168
xor edx, edx
cmp dword [ebp + 8], edx
jne 0x42f16a
mov eax, dword [edi + 8]
mov edi, edx
mov ecx, dword [eax]
mov dword [ebp + 0x14], ecx
test ecx, ecx
jle 0x42f1da
add eax, 0x14
mov dword [ebp + 0x10], eax
test byte [eax], 3
jne 0x42f15a
push dword [ebp + 0xc]
push dword [eax - 8]
call fcn.00408612
pop ecx
pop ecx
test eax, eax
je 0x42f2e2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
inc edi
add eax, 0x14
mov dword [ebp + 0x10], eax
cmp edi, ecx
jl 0x42f13a
mov edi, dword [ebp - 4]
xor edx, edx
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x3c]
mov dword [ebp - 4], edi
test edi, edi
jne 0x42ec13
cmp dword [ebp + 8], edi
jne 0x42f3c0
test byte [esi + 4], 0x80
je 0x42f3b5
mov edi, dword [ebp - 0x10]
cmp byte [edi + 0xb1], 0
jne 0x42f390
mov eax, dword [ebp - 0x38]
test dword [eax + 0x18], 0x10000
je 0x42f384
mov ecx, edi
call fcn.0043c219
test eax, eax
je 0x42f1ca
mov eax, dword [edi + 0x20]
and eax, 0x40000000
or eax, 0
jne 0x42f390
mov eax, dword [edi + 0x20]
and eax, 0x20000000
or eax, 0
jmp 0x42f38e
mov edi, dword [ebp - 4]
jmp 0x42f16a
cmp edi, 1
je 0x42f4a5
jmp 0x42f3c3
or eax, 0xffffffff
mov edi, eax
mov edx, eax
xor eax, eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
movzx edx, dx
cmp eax, 2
jne 0x42f249
cmp byte [ebx + 0xd8], al
jb 0x42f229
mov word [esi + 0x20], dx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x30], 0xa7
jmp 0x42f4a5
call fcn.0043c333
movsx ecx, ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], 0xb0
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [esi + 0x1c], ecx
jmp 0x42f4a5
mov dword [esi + 0x2c], ecx
mov al, byte [ebx + 0x9d]
mov word [esi + 0x20], dx
test al, al
je 0x42f28c
mov dword [ebp - 0x30], 0xb0
mov byte [esi + 2], 0xa7
call fcn.0043c333
movsx ecx, ax
mov eax, dword [ebp + 0x14]
movsx eax, word [eax + 0x22]
inc eax
imul eax, dword [ebp + 0x10]
add ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [esi + 0x1c], eax
jmp 0x42f4a5
mov dword [ebp - 0x30], 0x4d
test edi, edi
jns 0x42f2a0
mov byte [esi + 1], 0x44
jmp 0x42f4a5
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
cmp dword [ebp + 0x10], 0
push 0xffffffffffffffff
pop ecx
jne 0x42f2c1
cmp edi, 0x20
cmovge eax, ecx
or dword [ebx + 0x90], eax
jmp 0x42f4a5
cmp edi, 0x20
cmovge eax, ecx
or dword [ebx + 0x94], eax
jmp 0x42f4a5
or eax, 0xffffffff
mov dword [ebp - 8], 1
mov word [esi + 0x20], ax
jmp 0x42f297
mov ecx, dword [ebp - 4]
imul eax, edi, 0x14
mov edx, dword [ecx + 8]
mov ecx, dword [eax + edx + 8]
mov eax, dword [ebp - 4]
test byte [eax + 0x18], 1
jne 0x42f31a
test byte [ecx + 4], 0x10
je 0x42f31a
mov ecx, dword [ebp + 0x10]
push dword [ecx - 8]
push str.misuse_of_aliased_aggregate__s
push ebx
call fcn.004084dd
add esp, 0xc
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
test dword [ecx + 4], 0x8000
je 0x42f33e
test dword [eax + 0x18], 0x4000
je 0x42f331
cmp eax, dword [ebp - 0x38]
je 0x42f33e
mov ecx, dword [ebp + 0x10]
push dword [ecx - 8]
push str.misuse_of_aliased_window_function__s
jmp 0x42f309
call fcn.00430f46
cmp eax, 1
je 0x42f357
push str.row_value_misused
push ebx
call fcn.004084dd
pop ecx
pop ecx
jmp 0x42f312
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
push eax
push esi
push edi
call fcn.0042e87b
add esp, 0xc
cmp byte [ebx + 0xd8], 2
jb 0x42f504
push esi
xor edx, edx
mov ecx, ebx
call fcn.004377ec
pop ecx
jmp 0x42f504
mov eax, dword [edi + 0x20]
and eax, 0x40000000
or eax, edx
je 0x42f3b5
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.0040787c
add esp, 0xc
mov byte [esi], 0x75
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
xor eax, eax
inc eax
jmp 0x42f315
mov ecx, esi
call fcn.00432659
test eax, eax
jne 0x42f3ad
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x42f43b
lea eax, [edi - 1]
cmp dword [ecx], eax
jne 0x42f430
mov eax, dword [esi + 4]
test eax, 0x800000
je 0x42f3e5
and eax, 0xff7fffff
mov dword [esi + 4], eax
jmp 0x42f407
push dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
push edi
call fcn.004319f8
push dword [esi + 0x10]
xor eax, eax
push edi
mov dword [esi + 0xc], eax
call fcn.004319f8
add esp, 0x10
xor eax, eax
mov dword [esi + 0x10], eax
movzx eax, word [esi + 0x20]
lea edx, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0042ea71
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov byte [esi], 0xac
mov dword [esi + 8], str.coalesce
mov dword [esi + 0x14], eax
jmp 0x42f504
push ecx
push dword [ebp - 0x10]
call fcn.004325ff
pop ecx
pop ecx
push dword [ebp + 0xc]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42f469
push dword [ebp + 8]
push ecx
push eax
push str._s:__s._s._s
push ebx
call fcn.004084dd
add esp, 0x18
jmp 0x42f492
cmp dword [ebp + 8], 0
je 0x42f483
push dword [ebp + 8]
push eax
push str._s:__s._s
push ebx
call fcn.004084dd
add esp, 0x14
jmp 0x42f492
push eax
push str._s:__s
push ebx
call fcn.004084dd
add esp, 0x10
mov ecx, dword [ebx]
mov edx, esi
call fcn.00407256
mov eax, dword [ebp - 0x38]
mov byte [ebx + 0x11], 1
inc dword [eax + 0x14]
test dword [esi + 4], 0x810000
jne 0x42f4d9
push dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
push edi
call fcn.004319f8
push dword [esi + 0x10]
xor eax, eax
push edi
mov dword [esi + 0xc], eax
call fcn.004319f8
xor eax, eax
add esp, 0x10
or dword [esi + 4], 0x800000
mov dword [esi + 0x10], eax
jmp 0x42f4db
xor eax, eax
cmp word [esi + 0x20], ax
jl 0x42f4f5
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x42f4f5
mov ecx, esi
call fcn.0042e9ff
or dword [edi + 0x38], eax
or dword [edi + 0x3c], edx
mov eax, dword [ebp - 0x30]
mov byte [esi], al
cmp dword [ebp - 8], 1
jne 0x42f312
mov eax, dword [ebx]
xor ecx, ecx
cmp dword [eax + 0x16c], ecx
je 0x42f52e
mov al, byte [esi]
cmp al, 0xa7
je 0x42f51a
cmp al, 0x4d
jne 0x42f52e
mov eax, dword [ebp - 4]
mov edx, esi
mov ecx, ebx
push dword [eax + 4]
push dword [ebp - 0x24]
call fcn.0043b294
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
jmp 0x42f539
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x42f536
jmp 0x42f3ad