Function at 0x4aa170
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 + 0xc], ecx
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, dword [ebp + 0x14]
xor edx, edx
push edi
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0xa7
mov dword [eax + 0x1c], 0xffffffff
test esi, esi
je 0x4aa29e
test byte [ecx + 0x18], 6
je 0x4aa1d8
mov dword [esp + 0x14], edx
jmp 0x4aa2a0
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x4aa220
mov ebx, dword [ecx + 0x10]
nop dword [eax]
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa257
test ecx, ecx
jne 0x4aa269
mov edx, dword [esp + 0x2c]
mov eax, edi
mov esi, dword [esp + 0x14]
add eax, eax
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + eax*8 + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
xor ebx, ebx
cmp edi, eax
jne 0x4aa296
mov edx, 0x5a04fc
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa281
test ecx, ecx
jne 0x4aa293
mov eax, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x4aa2a0
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa26c
inc edx
jmp 0x4aa1f4
mov eax, dword [esp + 0x44]
inc edi
mov esi, dword [esp + 0x14]
add ebx, 0x10
cmp edi, eax
jge 0x4aa21e
jmp 0x4aa1f0
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa296
inc edx
jmp 0x4aa230
mov edx, dword [esp + 0x14]
xor edi, edi
jmp 0x4aa2a0
mov edx, esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4aa616
xor ecx, ecx
lea ebx, [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
cmp dword [eax], ecx
jle 0x4aa5e3
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x38], esi
test eax, eax
je 0x4aa370
test dword [eax + 4], 0x800
je 0x4aa370
mov ebx, dword [eax + 0x1c]
xor esi, esi
mov dword [esp + 0x44], 0
cmp dword [ebx], esi
jle 0x4aa35a
lea edi, [ebx + 8]
push edx
push dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.004a9f80
add esp, 8
test eax, eax
je 0x4aa33e
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x20], 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 0x4aa342
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4aa303
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4aa5bc
cmp dword [ebp + 8], 0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
je 0x4aa5c4
mov esi, dword [esp + 0x38]
test edx, edx
je 0x4aa3bd
mov eax, dword [esp + 0x30]
cmp dword [esi + 0x3c], eax
jne 0x4aa5c4
test eax, eax
jne 0x4aa3bd
mov ecx, 0x594a50
mov eax, edx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4aa3b0
test dl, dl
je 0x4aa3ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4aa3b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4aa390
xor eax, eax
jmp 0x4aa3b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4aa6a3
mov eax, dword [ebp + 8]
test eax, eax
je 0x4aa42f
mov edi, dword [ebx + 0xc]
mov edx, edi
test edi, edi
jne 0x4aa3cf
mov edx, dword [esi]
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa410
test ecx, ecx
jne 0x4aa426
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd0], 2
jb 0x4aa42f
test edi, edi
je 0x4aa42f
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x4aa42f
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x4aa429
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4aa403
jmp 0x4aa42f
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa69a
inc edx
jmp 0x4aa3d3
mov dword [eax], 0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00474fa0
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 0x4aa509
cmp byte [ebx + 0xa], cl
jne 0x4aa4f1
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa53f
test ecx, ecx
jne 0x4aa551
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x4aa585
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x4aa4e6
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4aa585
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x4aa585
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 0x4aa557
test eax, eax
jne 0x4aa569
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 0x4aa460
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x4aa68d
test dword [edx + 0x1c], 0x200
mov edx, dword [esp + 0x14]
jne 0x4aa6ab
inc dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
jmp 0x4aa5c8
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa4e6
inc edx
jmp 0x4aa470
movzx ecx, byte [ecx + 0x597af8]
movzx eax, byte [eax + 0x597af8]
sub eax, ecx
jne 0x4aa56f
inc edx
jmp 0x4aa4c7
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x4aa4c0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
movsx eax, word [edx + 0x20]
cmp edi, eax
jne 0x4aa5ad
mov ebx, dword [ebp + 0x14]
or eax, 0xffffffff
mov word [ebx + 0x20], ax
jmp 0x4aa50d
mov ebx, dword [ebp + 0x14]
movzx eax, di
mov word [ebx + 0x20], ax
jmp 0x4aa50d
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
inc ecx
add ebx, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
cmp ecx, dword [eax]
jl 0x4aa2d0
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4aa60e
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 0x4aa607
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x4aa962
test edx, edx
jne 0x4aa86e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4aa750
mov bl, byte [ecx + 0x94]
mov edi, dword [ebp + 8]
cmp byte [ecx + 0x95], dl
je 0x4aa6cd
test dword [esi + 0x18], 0x400
je 0x4aa753
test edi, edi
je 0x4aa66f
mov esi, dword [eax]
mov edx, edi
sub esi, edi
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa6b4
test ecx, ecx
jne 0x4aa6ca
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp bl, 0x80
setne al
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
jmp 0x4aa753
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
jmp 0x4aa5c8
mov ecx, dword [esp + 0x24]
jmp 0x4aa5c0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
jmp 0x4aa5c8
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa753
inc edx
jmp 0x4aa660
cmp bl, 0x80
je 0x4aa720
test edi, edi
je 0x4aa71b
mov edx, 0x5a3e1c
mov esi, edi
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aa706
test ecx, ecx
jne 0x4aa718
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x1c], 1
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
jmp 0x4aa753
movzx eax, byte [eax + 0x597af8]
movzx ecx, byte [ecx + 0x597af8]
sub ecx, eax
jne 0x4aa71b
inc edx
jmp 0x4aa6e0
cmp bl, 0x7f
je 0x4aa753
test edi, edi
je 0x4aa753
mov edx, 0x5a5e1c
sub edi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4aa796
test eax, eax
jne 0x4aa7a8
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x4aa7c0
test edi, edi
je 0x4aa7c0
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4aa7c0
mov edx, str.excluded
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4aa7ab
test eax, eax
jne 0x4aa7bd
mov eax, dword [ebx + 0x20]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], edi
mov dword [eax + 0x1c], 2
jmp 0x4aa7c4
movzx ecx, byte [eax + 0x597af8]
movzx eax, byte [esi + 0x597af8]
sub ecx, eax
jne 0x4aa750
inc edx
jmp 0x4aa730
movzx ecx, byte [eax + 0x597af8]
movzx eax, byte [esi + 0x597af8]
sub ecx, eax
jne 0x4aa7c0
inc edx
jmp 0x4aa771
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4aa86a
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00474fa0
mov edx, dword [esp + 0x1c]
mov cl, al
inc dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0xf], cl
mov eax, dword [edx + 0x3c]
movsx esi, word [edx + 0x22]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], esi
test esi, esi
jle 0x4aa83e
cmp byte [eax + 0xa], cl
jne 0x4aa903
mov edx, dword [eax]
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x4aa8dc
test eax, eax
jne 0x4aa8ee
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x20]
cmp ebx, eax
je 0x4aa976
mov esi, dword [esp + 0x44]
mov edi, dword [ebp + 0xc]
cmp ebx, esi
jl 0x4aa860
mov ecx, edi
call fcn.004afce0
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4aa860
test dword [edx + 0x1c], 0x200
mov eax, 0xffffffff
cmove ebx, eax
mov eax, ebx
cmp ebx, esi
jl 0x4aa97b
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x28], 1
mov esi, dword [ebp + 0x10]
jne 0x4aa89e
test ebx, ebx
je 0x4aa89e
test byte [esi + 0x18], 0x28
jne 0x4aa89e
mov ecx, dword [ebp + 0xc]
call fcn.004afce0
test eax, eax
je 0x4aa89e
mov eax, dword [ebx + 0x10]
test dword [eax + 0x1c], 0x200
je 0x4aaaae
test byte [esi + 0x18], 0x80
mov ebx, dword [ebp + 8]
je 0x4aa93f
test ebx, ebx
jne 0x4aa93f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
test ecx, ecx
jle 0x4aa93c
lea esi, [eax + 0x14]
test byte [esi], 3
mov edi, dword [esi - 8]
jne 0x4aa931
mov eax, dword [ebp + 0xc]
test edi, edi
jne 0x4aa918
neg eax
sbb eax, eax
jmp 0x4aa929
movzx ecx, byte [eax + 0x597af8]
movzx eax, byte [esi + 0x597af8]
sub ecx, eax
jne 0x4aa8f4
inc edx
jmp 0x4aa810
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov cl, byte [esp + 0xf]
mov edi, dword [ebp + 0xc]
inc ebx
add eax, 0x10
mov dword [esp + 0x4c], eax
cmp ebx, esi
jl 0x4aa800
jmp 0x4aa842
test eax, eax
je 0x4aa931
mov edx, eax
mov ecx, edi
call fcn.00474ee0
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x4aaac6
inc ebx
add esi, 0x14
cmp ebx, ecx
jl 0x4aa8c7
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], esi
test esi, esi
je 0x4aabac
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x4aa2a3
mov esi, dword [ebp + 0x14]
cmp edi, 1
je 0x4aad0c
mov ebx, dword [ebp + 8]
jmp 0x4aac75
or ebx, 0xffffffff
or eax, ebx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, 1
mov dword [esp + 0x10], edi
movzx eax, ax
mov esi, dword [ecx + 0x1c]
cmp esi, 2
jne 0x4aa9ed
mov edx, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd0], 2
jb 0x4aa9c5
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 0x34], 0xa7
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0x10]
mov word [esi + 0x20], dx
jmp 0x4aad08
mov ecx, dword [esp + 0x1c]
call fcn.004c09f0
mov esi, dword [ebp + 0x14]
movsx ecx, ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0xb0
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [esi + 0x1c], ecx
jmp 0x4aad08
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x95], 0
je 0x4aaa3b
mov edi, dword [esp + 0x1c]
mov edx, eax
mov byte [ecx + 2], 0xa7
mov ecx, edi
mov dword [esp + 0x34], 0xb0
call fcn.004c09f0
movsx ecx, ax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x10]
inc eax
imul eax, esi
mov esi, dword [ebp + 0x14]
add ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [esi + 0x1c], eax
jmp 0x4aad08
mov word [ecx + 0x20], ax
mov dword [esp + 0x34], 0x4d
test ebx, ebx
jns 0x4aaa56
mov esi, ecx
mov byte [esi + 1], 0x44
jmp 0x4aad08
test esi, esi
jne 0x4aaa84
cmp ebx, 0x20
jl 0x4aaa70
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
or dword [edx + 0x8c], eax
jmp 0x4aad08
mov esi, dword [ebp + 0x14]
mov eax, edi
mov ecx, ebx
shl eax, cl
or dword [edx + 0x8c], eax
jmp 0x4aad08
cmp ebx, 0x20
jl 0x4aaa9a
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
or dword [edx + 0x90], eax
jmp 0x4aad08
mov esi, dword [ebp + 0x14]
mov eax, edi
mov ecx, ebx
shl eax, cl
or dword [edx + 0x90], eax
jmp 0x4aad08
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edi, 1
mov word [esi + 0x20], ax
mov byte [esi + 1], 0x44
jmp 0x4aad0c
mov esi, dword [ebp + 0x10]
lea eax, [ebx + ebx*4]
test byte [esi + 0x18], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + eax*4 + 8]
jne 0x4aaafd
test byte [eax + 4], 0x10
je 0x4aaafd
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x20]
call fcn.00474d40
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4aab1d
test dword [esi + 0x18], 0x4000
je 0x4aab15
cmp esi, dword [esp + 0x3c]
je 0x4aab1d
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x4aaae5
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x4aab27
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x4aab31
mov eax, dword [eax + 0x14]
jmp 0x4aab3c
cmp cl, 0x8a
jne 0x4aab5e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4aab5e
push str.row_value_misused
push dword [esp + 0x1c]
call fcn.00474d40
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, edi
push eax
push esi
push ebx
call fcn.004a9da0
add esp, 0xc
cmp byte [edi + 0xd0], 2
jb 0x4aadf0
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4aadf0
cmp dword [eax], esi
je 0x4aaba1
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4aab91
jmp 0x4aadf0
mov dword [eax], 0
jmp 0x4aadf0
mov esi, dword [ebp + 0x14]
test ebx, ebx
jne 0x4aac71
mov ebx, dword [esi + 4]
test bl, 0x40
je 0x4aac46
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xb1], 0
jne 0x4aac1d
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x10000
je 0x4aac12
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4aabf8
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x4aac1d
and ecx, 0x20000000
or ecx, 0
je 0x4aac0c
mov eax, 1
test eax, eax
jmp 0x4aac1b
xor eax, eax
test eax, eax
jmp 0x4aac1b
and ecx, 0x40000000
or ecx, 0
je 0x4aac46
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00474320
xorps xmm0, xmm0
mov byte [esi], 0x75
add esp, 0xc
movq qword [esi + 0x2c], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000400
jne 0x4aac6e
mov ecx, dword [esi + 8]
call fcn.004af780
test eax, eax
je 0x4aac6e
or ebx, eax
mov byte [esi], 0xaa
mov dword [esi + 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 + 0x14]
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 0x4aaca6
push ebx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x2c]
call fcn.00474d40
add esp, 0x18
jmp 0x4aacd1
test ebx, ebx
je 0x4aacbf
push ebx
push eax
push str._s:__s._s
push dword [esp + 0x28]
call fcn.00474d40
add esp, 0x14
jmp 0x4aacd1
push eax
push str._s:__s
push dword [esp + 0x24]
call fcn.00474d40
add esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, esi
mov edx, dword [edx]
nop dword [eax]
test byte [eax + 4], 1
jne 0x4aaced
mov ecx, dword [eax + 0x24]
test ecx, ecx
jg 0x4aacf6
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4aace0
jmp 0x4aacf9
mov dword [edx + 0x44], ecx
mov eax, dword [esp + 0x18]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x3c]
inc dword [eax + 0x14]
mov ebx, dword [esp + 0x20]
movzx eax, word [esi + 0x20]
test ax, ax
js 0x4aad97
test ebx, ebx
je 0x4aad97
movsx esi, ax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x2c]
test byte [edx + 0x1c], 0x60
je 0x4aad6e
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x4aad6e
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x4aad50
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x4aad8e
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 0x4aad8e
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
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
test eax, 0x804000
jne 0x4aadd5
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
test edx, edx
je 0x4aadb6
mov ecx, ebx
call fcn.004ae3f0
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test edx, edx
je 0x4aadce
mov ecx, ebx
call fcn.004ae3f0
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x34]
or eax, 0x800000
mov byte [esi], cl
mov dword [esi + 4], eax
cmp edi, 1
jne 0x4aaaf1
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp dword [eax + 0x168], 0
je 0x4aaec9
mov bl, byte [esi]
cmp bl, 0xa7
je 0x4aae0f
cmp bl, 0x4d
jne 0x4aaec9
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
test esi, esi
je 0x4aaec9
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], esi
je 0x4aae47
inc edx
lea eax, [eax + 0x10]
mov ecx, edx
cmp dword [eax], esi
jne 0x4aae31
test ecx, ecx
js 0x4aaec9
mov ecx, dword [esp + 0x4c]
cmp bl, 0x4d
jne 0x4aae54
mov esi, dword [edi + 0x78]
mov ebx, dword [ebp + 0x14]
jmp 0x4aae82
mov esi, dword [ecx]
xor eax, eax
test esi, esi
jle 0x4aaec9
mov ebx, dword [ebp + 0x14]
add ecx, 0x34
mov edi, dword [ebx + 0x1c]
cmp edi, dword [ecx]
je 0x4aae73
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4aae65
jmp 0x4aaec9
mov esi, dword [esp + 0x4c]
lea eax, [eax + eax*8]
mov edi, dword [esp + 0x18]
mov esi, dword [esi + eax*8 + 0x18]
test esi, esi
je 0x4aaec9
movsx ecx, word [ebx + 0x20]
test ecx, ecx
js 0x4aae98
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4aaeb3
movzx eax, word [esi + 0x20]
test ax, ax
js 0x4aaeae
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4aaeb3
mov eax, str.ROWID
push edx
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.004beb70
add esp, 8
cmp eax, 2
jne 0x4aaec9
mov byte [ebx], 0x79
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4aaee1
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4aaed7
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret