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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
xor eax, eax
mov dword [esp + 8], ecx
mov ecx, dword [ecx]
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [eax + 0x1c], 0xffffffff
mov dword [esp + 0x18], esi
mov eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0xa6
test esi, esi
je 0x1003df90
test byte [eax + 0x18], 6
je 0x1003deca
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x1003df90
mov eax, dword [ecx + 0x14]
xor edi, edi
mov dword [esp + 0x44], eax
test eax, eax
jle 0x1003df10
mov ebx, dword [ecx + 0x10]
nop word [eax + eax]
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003df47
test ecx, ecx
jne 0x1003df59
mov edx, dword [esp + 0x30]
mov eax, edi
mov esi, dword [esp + 0x18]
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp edi, eax
jne 0x1003df86
mov edx, str.main
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003df71
test ecx, ecx
jne 0x1003df83
mov eax, dword [esp + 0x30]
xor edi, edi
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], esi
jmp 0x1003df8c
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003df5c
inc edx
jmp 0x1003dee4
mov eax, dword [esp + 0x44]
inc edi
mov esi, dword [esp + 0x18]
add ebx, 0x10
cmp edi, eax
jge 0x1003df0e
jmp 0x1003dee0
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003df86
inc edx
jmp 0x1003df20
xor edi, edi
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
nop
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x1003e2cf
xor edx, edx
lea ebx, [eax + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
cmp dword [eax], edx
jle 0x1003e29c
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x1003e056
test dword [eax + 4], 0x800
je 0x1003e056
mov ebx, dword [eax + 0x1c]
xor esi, esi
mov dword [esp + 0x44], 0
cmp dword [ebx], esi
jle 0x1003e041
lea edi, [ebx + 8]
push dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1003dc70
add esp, 8
test eax, eax
je 0x1003e025
mov eax, dword [esp + 0x20]
inc dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x44], eax
jmp 0x1003e029
mov eax, dword [esp + 0x44]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x1003dfe7
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x1003e26c
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x1003e280
jmp 0x1003e059
mov eax, dword [ebp + 8]
test esi, esi
je 0x1003e06a
mov edi, dword [esp + 0x2c]
cmp dword [ecx + 0x3c], edi
jne 0x1003e280
test eax, eax
je 0x1003e0dc
mov edi, dword [ebx + 0xc]
mov edx, edi
test edi, edi
jne 0x1003e079
mov edx, dword [ecx]
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e0bd
test ecx, ecx
jne 0x1003e0d3
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xcc], 2
jb 0x1003e0dc
test edi, edi
je 0x1003e0dc
mov eax, dword [eax + 0x108]
test eax, eax
je 0x1003e0dc
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x1003e0d6
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1003e0b0
jmp 0x1003e0dc
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e278
inc edx
jmp 0x1003e080
mov dword [eax], 0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.10008e40
mov edx, dword [esp + 0x38]
mov cl, al
xor edi, edi
mov byte [esp + 0xf], cl
mov dword [esp + 0x44], edi
movsx eax, word [edx + 0x22]
mov ebx, dword [edx + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x1003e1b9
nop dword [eax]
cmp byte [ebx + 0xa], cl
jne 0x1003e1a1
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e1ef
test ecx, ecx
jne 0x1003e201
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x1003e235
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 4
jne 0x1003e196
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1003e235
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x1003e235
mov edi, dword [eax]
nop dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x1003e207
test eax, eax
jne 0x1003e219
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov cl, byte [esp + 0xf]
mov esi, dword [ebp + 0xc]
inc edi
add ebx, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ebx
cmp edi, eax
jl 0x1003e110
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x1003e272
test dword [edx + 0x1c], 0x200
mov edx, dword [esp + 0x24]
jne 0x1003e284
inc dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
jmp 0x1003e284
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e196
inc edx
jmp 0x1003e120
movzx ecx, byte [ecx + 0x10114750]
movzx eax, byte [eax + 0x10114750]
sub eax, ecx
jne 0x1003e21f
inc edx
jmp 0x1003e177
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x1003e170
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
movsx eax, word [edx + 0x20]
cmp edi, eax
jne 0x1003e25d
mov ebx, dword [ebp + 0x14]
or eax, 0xffffffff
mov word [ebx + 0x20], ax
jmp 0x1003e1bd
mov ebx, dword [ebp + 0x14]
movzx eax, di
mov word [ebx + 0x20], ax
jmp 0x1003e1bd
mov ebx, dword [esp + 0x20]
jmp 0x1003e27c
mov edx, dword [esp + 0x24]
jmp 0x1003e284
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
inc edx
add ebx, 0x48
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
cmp edx, dword [eax]
jl 0x1003dfb4
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x1003e2c7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x1003e2c0
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x1003e643
test esi, esi
jne 0x1003e501
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ebx
mov esi, dword [eax + 0x78]
test esi, esi
je 0x1003e40b
cmp byte [eax + 0x95], 0
mov bl, byte [eax + 0x94]
je 0x1003e366
mov edx, dword [ebp + 0x10]
test dword [edx + 0x18], 0x400
je 0x1003e407
test edi, edi
je 0x1003e32f
mov esi, dword [esi]
mov edx, edi
sub esi, edi
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e34d
test ecx, ecx
jne 0x1003e363
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp bl, 0x7f
setne al
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x1003e40b
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e407
inc edx
jmp 0x1003e320
cmp bl, 0x7f
je 0x1003e3c0
test edi, edi
je 0x1003e3bb
mov edx, 0x10109204
mov esi, edi
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e3a6
test ecx, ecx
jne 0x1003e3b8
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], 1
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x1003e40b
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e3bb
inc edx
jmp 0x1003e380
cmp bl, 0x7e
je 0x1003e407
test edi, edi
je 0x1003e407
mov edx, 0x10109208
mov esi, edi
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e3f2
test ecx, ecx
jne 0x1003e404
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x20], ebx
jmp 0x1003e40b
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e407
inc edx
jmp 0x1003e3d0
mov ebx, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
test dword [edx + 0x18], 0x200
je 0x1003e45b
test edi, edi
je 0x1003e45b
mov edi, dword [edx + 8]
test edi, edi
je 0x1003e45b
mov esi, dword [ebp + 8]
mov edx, str.excluded
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e57a
test ecx, ecx
jne 0x1003e590
mov eax, dword [edi + 0x20]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x1003e4fd
mov ecx, dword [ebp + 0xc]
call fcn.10008e40
mov edi, dword [esp + 0x20]
mov cl, al
mov eax, dword [ebx + 0x3c]
xor ebx, ebx
inc dword [esp + 0x28]
mov dword [esp + 0x2c], eax
movsx esi, word [edi + 0x22]
mov eax, dword [edi + 4]
mov byte [esp + 0xf], cl
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], esi
test esi, esi
jle 0x1003e4d0
cmp byte [eax + 0xa], cl
jne 0x1003e5ba
mov edi, dword [ebp + 0xc]
mov edx, dword [eax]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x1003e596
test eax, eax
jne 0x1003e5a8
mov edi, dword [esp + 0x20]
movsx eax, word [edi + 0x20]
cmp ebx, eax
je 0x1003e654
mov esi, dword [esp + 0x44]
cmp ebx, esi
jl 0x1003e4f3
mov ecx, dword [ebp + 0xc]
call fcn.10043ec0
mov edi, dword [esp + 0x20]
test eax, eax
je 0x1003e4f3
test dword [edi + 0x1c], 0x200
mov eax, 0xffffffff
cmove ebx, eax
mov eax, ebx
cmp ebx, esi
jl 0x1003e659
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x28], 1
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
jne 0x1003e533
test ebx, ebx
je 0x1003e533
test byte [edi + 0x18], 0x28
jne 0x1003e533
mov ecx, esi
call fcn.10043ec0
test eax, eax
je 0x1003e533
mov eax, dword [ebx + 0x10]
test dword [eax + 0x1c], 0x200
je 0x1003e7af
test byte [edi + 0x18], 0x80
mov ebx, dword [ebp + 8]
je 0x1003e60f
test ebx, ebx
jne 0x1003e60f
mov ecx, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x4c], edx
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
test eax, eax
jle 0x1003e60f
lea edi, [ecx + 0x14]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x1003e5f9
test ebx, ebx
jne 0x1003e5cf
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x1003e5f1
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x1003e45b
inc edx
jmp 0x1003e430
movzx ecx, byte [eax + 0x10114750]
movzx eax, byte [esi + 0x10114750]
sub ecx, eax
jne 0x1003e5ae
inc edx
jmp 0x1003e4a5
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov cl, byte [esp + 0xf]
inc ebx
add eax, 0x10
mov dword [esp + 0x4c], eax
cmp ebx, esi
jl 0x1003e495
jmp 0x1003e4d4
test esi, esi
je 0x1003e5f9
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1003e62e
test ecx, ecx
jne 0x1003e640
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x1003e7c7
inc edx
add edi, 0x14
mov dword [esp + 0x4c], edx
cmp edx, eax
jl 0x1003e562
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], edi
test edi, edi
je 0x1003e8af
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x1003df88
movzx ecx, byte [ecx + 0x10114750]
movzx eax, byte [eax + 0x10114750]
sub ecx, eax
jne 0x1003e5e6
inc edx
jmp 0x1003e5d7
cmp edi, 1
je 0x1003e9d2
mov ebx, dword [ebp + 8]
jmp 0x1003e967
or ebx, 0xffffffff
or eax, ebx
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edx
movzx eax, ax
mov esi, dword [ecx + 0x1c]
cmp esi, 2
jne 0x1003e6c8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xcc], 2
jb 0x1003e69e
mov ebx, ecx
mov dword [esp + 0x34], 0xa6
mov dword [ebx + 0x2c], edi
mov edi, dword [esp + 0x10]
mov word [ebx + 0x20], dx
jmp 0x1003e9d5
mov ecx, edi
call fcn.10053d40
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
movsx ecx, ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0xaf
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [ebx + 0x1c], ecx
jmp 0x1003e9d5
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x2c], edi
cmp byte [edx + 0x95], 0
mov edx, dword [esp + 0x1c]
je 0x1003e712
mov edx, eax
mov dword [esp + 0x34], 0xaf
mov ecx, edi
call fcn.10053d40
mov ebx, dword [ebp + 0x14]
movsx ecx, ax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x10]
inc eax
imul eax, esi
add ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [ebx + 0x1c], eax
jmp 0x1003e9d5
mov word [ecx + 0x20], ax
mov dword [esp + 0x34], 0x4d
test ebx, ebx
jns 0x1003e731
mov edi, dword [esp + 0x10]
mov ebx, ecx
mov byte [ebx + 1], 0x44
jmp 0x1003e9d9
test esi, esi
jne 0x1003e772
cmp ebx, 0x20
jl 0x1003e753
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov edi, dword [esp + 0x10]
mov ebx, dword [ebp + 0x14]
or dword [ecx + 0x8c], eax
jmp 0x1003e9d9
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov ebx, dword [ebp + 0x14]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x8c], eax
jmp 0x1003e9d9
cmp ebx, 0x20
jl 0x1003e790
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov edi, dword [esp + 0x10]
mov ebx, dword [ebp + 0x14]
or dword [ecx + 0x90], eax
jmp 0x1003e9d9
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov ebx, dword [ebp + 0x14]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x90], eax
jmp 0x1003e9d9
mov ebx, dword [ebp + 0x14]
or eax, 0xffffffff
mov edi, 1
mov word [ebx + 0x20], ax
mov byte [ebx + 1], 0x44
jmp 0x1003e9d5
mov ecx, dword [ebp + 0x10]
lea eax, [edx + edx*4]
test byte [ecx + 0x18], 1
mov esi, dword [ecx + 8]
mov eax, dword [esi + eax*4 + 8]
jne 0x1003e7fe
test byte [eax + 4], 0x10
je 0x1003e7fe
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x1c]
call fcn.10008be0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x1003e81e
test dword [ecx + 0x18], 0x4000
je 0x1003e816
cmp ecx, dword [esp + 0x3c]
je 0x1003e81e
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x1003e7e6
mov cl, byte [eax]
cmp cl, 0xaf
jne 0x1003e828
mov cl, byte [eax + 2]
cmp cl, 0xb0
jne 0x1003e832
mov eax, dword [eax + 0x14]
jmp 0x1003e83d
cmp cl, 0x89
jne 0x1003e85f
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x1003e85f
push str.row_value_misused
push dword [esp + 0x18]
call fcn.10008be0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push ebx
push edx
mov edx, esi
call fcn.1003db10
add esp, 0xc
cmp byte [edi + 0xcc], 2
jb 0x1003eaab
mov eax, dword [edi + 0x108]
test eax, eax
je 0x1003eaab
cmp dword [eax], ebx
je 0x1003e8a4
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1003e894
jmp 0x1003eaab
mov dword [eax], 0
jmp 0x1003eaab
test ebx, ebx
jne 0x1003e963
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x1003e938
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xb1], 0
jne 0x1003e911
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x10000
je 0x1003e906
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x1003e8fe
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x1003e911
and ecx, 0x20000000
jmp 0x1003e90c
and ecx, 0x40000000
or ecx, 0
je 0x1003e938
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call sym.sqlite3.dll_sqlite3_log
xorps xmm0, xmm0
mov byte [edi], 0x74
add esp, 0xc
movq qword [edi + 0x2c], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000400
jne 0x1003e960
mov ecx, dword [edi + 8]
call fcn.10043960
test eax, eax
je 0x1003e960
or ebx, eax
mov byte [edi], 0xa9
mov dword [edi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test edx, edx
je 0x1003e998
push ebx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x28]
call fcn.10008be0
add esp, 0x18
jmp 0x1003e9c3
test ebx, ebx
je 0x1003e9b1
push ebx
push eax
push str._s:__s._s
push dword [esp + 0x24]
call fcn.10008be0
add esp, 0x14
jmp 0x1003e9c3
push eax
push str._s:__s
push dword [esp + 0x20]
call fcn.10008be0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x3c]
inc dword [eax + 0x14]
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x1003ea5a
test edx, edx
je 0x1003ea5a
mov edx, dword [ebx + 0x2c]
movsx esi, ax
test byte [edx + 0x1c], 0x60
je 0x1003ea30
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x1003ea30
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x1003ea12
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x1003ea50
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x1003ea50
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
mov eax, dword [esp + 0x1c]
or dword [eax + 0x38], ecx
or dword [eax + 0x3c], edx
test dword [ebx + 4], 0x804000
jne 0x1003ea91
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x30]
test edx, edx
je 0x1003ea75
mov ecx, esi
call fcn.10042580
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test edx, edx
je 0x1003ea8a
mov ecx, esi
call fcn.10042580
mov dword [ebx + 0x10], 0
mov eax, dword [esp + 0x34]
or dword [ebx + 4], 0x800000
mov byte [ebx], al
cmp edi, 1
jne 0x1003e7f2
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp dword [eax + 0x168], 0
je 0x1003eb76
mov cl, byte [ebx]
cmp cl, 0xa6
je 0x1003eaca
cmp cl, 0x4d
jne 0x1003eb76
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
mov ebx, dword [edx + 4]
test esi, esi
je 0x1003eb76
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], esi
je 0x1003eaf8
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], esi
jne 0x1003eae8
test edx, edx
js 0x1003eb76
cmp cl, 0x4d
jne 0x1003eb02
mov esi, dword [edi + 0x78]
jmp 0x1003eb2c
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x1003eb76
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x1003eb21
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x1003eb13
jmp 0x1003eb76
mov edi, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x1003eb76
mov ebx, dword [ebp + 0x14]
movsx ecx, word [ebx + 0x20]
test ecx, ecx
js 0x1003eb45
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x1003eb60
movzx eax, word [esi + 0x20]
test ax, ax
js 0x1003eb5b
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x1003eb60
mov eax, str.ROWID
push edx
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.10051ab0
add esp, 8
cmp eax, 2
jne 0x1003eb76
mov byte [ebx], 0x78
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x1003eb8e
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x1003eb84
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret