Function at 0x4ae020
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 + 4], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov eax, 0xa2
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], ecx
mov dword [eax + 0x1c], 0xffffffff
test edx, edx
je 0x4ae0d0
test byte [ecx + 0x18], 6
je 0x4ae082
mov dword [esp + 0x28], esi
jmp 0x4ae0d0
mov ebx, dword [ebx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4ae0cc
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x10]
mov ecx, dword [edi]
call fcn.00480400
test eax, eax
je 0x4ae0b2
mov edx, dword [esp + 0x28]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4ae092
mov ecx, dword [ebp + 0x10]
xor esi, esi
xor edi, edi
jmp 0x4ae0d0
mov ecx, dword [esp + 0x2c]
add esi, esi
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + esi*8 + 0xc]
xor esi, esi
mov dword [esp + 0x30], eax
xor edi, edi
jmp 0x4ae0d0
xor esi, esi
nop
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x4ae3de
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [ecx], edx
jle 0x4ae3b7
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
test ebx, ebx
je 0x4ae1fd
test dword [ebx + 8], 0x800
je 0x4ae1fd
mov ebx, dword [ebx]
xor esi, esi
mov dword [esp + 0x3c], 0
cmp dword [ebx], esi
jle 0x4ae184
lea edi, [ebx + 0xc]
push dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.004adf60
add esp, 8
test eax, eax
je 0x4ae164
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x3c], eax
jmp 0x4ae168
mov eax, dword [esp + 0x3c]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x4ae126
mov edx, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4ae397
mov ecx, dword [esp + 0x34]
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ae397
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x28], 0
mov ebx, edi
je 0x4ae1ad
mov eax, dword [esp + 0x30]
cmp dword [ecx + 0x48], eax
mov eax, dword [esp + 0x14]
jne 0x4ae39b
test esi, esi
je 0x4ae221
mov edi, dword [eax + 0xc]
mov edx, edi
test edi, edi
jne 0x4ae1bc
mov edx, dword [ecx]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4ae202
test ecx, ecx
jne 0x4ae218
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x4ae221
test edi, edi
je 0x4ae221
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4ae221
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x4ae21b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4ae1f0
jmp 0x4ae221
mov esi, dword [ebp + 8]
jmp 0x4ae193
movzx eax, byte [eax + 0x617210]
movzx ecx, byte [ecx + 0x617210]
sub ecx, eax
jne 0x4ae38f
inc edx
jmp 0x4ae1c0
mov dword [eax], 0
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x1c]
test ebx, ebx
mov esi, dword [esp + 0x14]
cmovne esi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [ecx + 4]
movsx ecx, word [ecx + 0x2a]
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], eax
test ecx, ecx
jle 0x4ae381
mov edi, dword [ebp + 0xc]
mov edx, dword [eax]
sub edi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4ae30c
test eax, eax
jne 0x4ae31e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edx, 1
jne 0x4ae35b
test byte [ecx + 0x24], 4
jne 0x4ae2d3
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4ae35b
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x4ae357
mov ebx, dword [eax]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4ae324
test eax, eax
jne 0x4ae336
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
inc ebx
mov eax, dword [esp + 0x4c]
add eax, 0x10
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], eax
movsx ecx, word [edx + 0x2a]
cmp ebx, ecx
jl 0x4ae251
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
jmp 0x4ae39f
movzx ecx, byte [eax + 0x617210]
movzx eax, byte [esi + 0x617210]
sub ecx, eax
jne 0x4ae2d3
inc edx
jmp 0x4ae260
movzx ecx, byte [eax + 0x617210]
movzx eax, byte [esi + 0x617210]
sub ecx, eax
jne 0x4ae339
inc edx
jmp 0x4ae2c0
mov ecx, dword [esp + 0x48]
add ebx, 8
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x50]
jl 0x4ae2b2
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc edx
mov esi, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x4ae377
or eax, 0xffffffff
jmp 0x4ae37a
movzx eax, bx
mov ecx, dword [ebp + 0x14]
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
jmp 0x4ae39f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
inc edx
add eax, 0x48
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp edx, dword [ecx]
jl 0x4ae0f4
test esi, esi
je 0x4ae3de
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x2c], eax
test byte [esi + 0x24], 8
je 0x4ae3d7
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x28], 0
jne 0x4ae67b
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ae67b
test edi, edi
jne 0x4ae67b
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
cmp dword [ecx + 0x78], edi
je 0x4ae481
mov bl, byte [ecx + 0x90]
cmp bl, 0x79
je 0x4ae453
mov edx, 0x611774
mov edi, eax
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4ae43b
test eax, eax
jne 0x4ae44d
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x1c], 1
jmp 0x4ae476
movzx ecx, byte [eax + 0x617210]
movzx eax, byte [esi + 0x617210]
sub ecx, eax
jne 0x4ae450
inc edx
jmp 0x4ae420
mov eax, dword [ebp + 8]
cmp bl, 0x78
je 0x4ae481
mov edx, 0x611778
mov edi, eax
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4ae4c5
test eax, eax
jne 0x4ae4d7
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x4ae4ef
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4ae4ef
mov edi, dword [ebp + 8]
mov edx, str.excluded
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4ae4da
test eax, eax
jne 0x4ae4ec
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x1c], 2
jmp 0x4ae4f3
movzx ecx, byte [eax + 0x617210]
movzx eax, byte [esi + 0x617210]
sub ecx, eax
jne 0x4ae481
inc edx
jmp 0x4ae461
movzx ecx, byte [eax + 0x617210]
movzx eax, byte [esi + 0x617210]
sub ecx, eax
jne 0x4ae4ef
inc edx
jmp 0x4ae4a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ae67b
movsx edi, word [eax + 0x2a]
xor esi, esi
mov ecx, dword [eax + 0x48]
mov ebx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x4c], edi
test edi, edi
jle 0x4ae56f
nop dword [eax + eax]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
movzx ecx, byte [edx]
movzx eax, byte [edi + edx]
cmp ecx, eax
jne 0x4ae54e
test ecx, ecx
jne 0x4ae560
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
movsx eax, word [ebx + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x4ae573
movzx eax, byte [eax + 0x617210]
movzx ecx, byte [ecx + 0x617210]
sub ecx, eax
jne 0x4ae563
inc edx
jmp 0x4ae527
mov edi, dword [esp + 0x4c]
inc esi
add ebx, 0x10
cmp esi, edi
jl 0x4ae520
mov ebx, dword [esp + 0x14]
cmp esi, edi
jl 0x4ae597
mov ecx, dword [ebp + 0xc]
call fcn.004b2b60
test eax, eax
je 0x4ae58f
test byte [ebx + 0x24], 0x40
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x4ae67b
mov edi, dword [ebp + 0x14]
inc dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x4ae5e9
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x4ae5ca
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x38], 0xa2
jmp 0x4ae681
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], 0xa8
mov eax, dword [eax + 0x18]
add eax, esi
or dword [edi + 4], 0x400000
mov dword [edi + 0x1c], eax
jmp 0x4ae681
test esi, esi
jns 0x4ae602
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [esp + 0x38], 0x4d
jmp 0x4ae67e
test eax, eax
jne 0x4ae64d
cmp esi, 0x20
jl 0x4ae629
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esp + 0x38], 0x4d
or dword [ecx + 0x88], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4ae67e
mov ecx, esi
mov dword [esp + 0x38], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
or dword [ecx + 0x88], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4ae67e
cmp esi, 0x20
jl 0x4ae657
or eax, 0xffffffff
jmp 0x4ae660
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], 0x4d
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4ae67e
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x4ae6cb
cmp dword [esp + 0x1c], 1
jne 0x4ae6cb
cmp dword [esp + 0x18], ebx
je 0x4ae6cb
test byte [ecx + 0x18], 0x20
jne 0x4ae6cb
mov ecx, esi
call fcn.004b2b60
test eax, eax
je 0x4ae6cb
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4ae6cb
mov ebx, 1
mov byte [edi + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x20], ebx
mov word [edi + 0x20], ax
mov ecx, dword [ebp + 0x10]
test byte [ecx + 0x18], 0x80
je 0x4ae7b8
test ebx, ebx
jne 0x4ae7bc
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4ae799
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
cmp dword [eax], ebx
jle 0x4ae800
mov ecx, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0x4c], eax
mov edi, dword [eax]
test edi, edi
je 0x4ae77c
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4ae75f
test ecx, ecx
jne 0x4ae771
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + ebx*2]
mov edx, dword [esp + 0x3c]
test byte [ecx + 0x18], 1
mov eax, dword [edx + eax*8 + 4]
jne 0x4ae806
test byte [eax + 4], 0x10
je 0x4ae806
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.00480240
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x617210]
movzx ecx, byte [ecx + 0x617210]
sub ecx, eax
jne 0x4ae774
inc edx
jmp 0x4ae710
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ebp + 0xc]
inc ebx
add eax, 0x18
mov dword [esp + 0x4c], eax
cmp ebx, dword [ecx]
jl 0x4ae705
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
inc dword [esp + 0x40]
mov dword [ebp + 0x10], ecx
test ecx, ecx
je 0x4ae8bb
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x4ae0d0
test ebx, ebx
je 0x4ae796
cmp ebx, 1
je 0x4ae9df
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x28]
test ebx, ebx
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test esi, esi
je 0x4ae9a5
push edx
push esi
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.00480240
add esp, 0x18
jmp 0x4ae9d0
mov ebx, dword [esp + 0x20]
jmp 0x4ae799
test dword [ecx + 0x18], 0x4000
jne 0x4ae823
test dword [eax + 4], 0x8000
je 0x4ae823
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x4ae747
mov cl, byte [eax]
cmp cl, 0xa8
jne 0x4ae82d
mov cl, byte [eax + 0x26]
cmp cl, 0xa9
jne 0x4ae837
add eax, 0x14
jmp 0x4ae83f
cmp cl, 0x83
jne 0x4ae863
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x4ae863
push str.row_value_misused
push dword [esp + 0x14]
call fcn.00480240
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x40]
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x60fec4
push edi
push ebx
call fcn.004ade10
add esp, 0x10
cmp byte [esi + 0xc8], 2
jb 0x4aea64
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4aea64
nop dword [eax + eax]
cmp dword [eax], edi
je 0x4ae8b0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4ae8a0
jmp 0x4aea64
mov dword [eax], 0
jmp 0x4aea64
test edx, edx
jne 0x4ae7c8
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4ae943
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xa5], dl
jne 0x4ae91b
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x10000
je 0x4ae910
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4ae908
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4ae91b
and ecx, 0x20000000
jmp 0x4ae916
and ecx, 0x40000000
or ecx, 0
je 0x4ae943
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.0047f850
add esp, 0xc
mov byte [edi], 0x6e
mov dword [edi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x4ae99c
mov esi, dword [edi + 8]
mov edx, str.true
mov ecx, esi
call fcn.00480400
test eax, eax
je 0x4ae96e
mov edx, str.false
mov ecx, esi
call fcn.00480400
test eax, eax
jne 0x4ae993
mov byte [edi], 0x9f
mov eax, 0x20000000
cmp byte [esi + 4], 0
mov ecx, 0x10000000
cmove eax, ecx
or eax, ebx
mov dword [edi + 4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x20]
jmp 0x4ae7c5
mov ebx, dword [esp + 0x20]
jmp 0x4ae7c8
test edx, edx
je 0x4ae9be
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.00480240
add esp, 0x14
jmp 0x4ae9d0
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.00480240
add esp, 0x10
mov eax, dword [esp + 0x10]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x44]
inc dword [eax + 0x14]
mov edi, dword [ebp + 0x14]
movzx eax, word [edi + 0x20]
test ax, ax
js 0x4aea1c
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4aea1c
movsx edx, ax
mov eax, 0x3f
cmp edx, 0x40
cmovge edx, eax
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [esi + 0x38], eax
or dword [esi + 0x3c], ecx
mov edx, dword [edi + 0xc]
mov esi, dword [esp + 0x2c]
test edx, edx
je 0x4aea2e
mov ecx, esi
call fcn.004b1380
mov edx, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test edx, edx
je 0x4aea43
mov ecx, esi
call fcn.004b1380
mov eax, dword [esp + 0x38]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], al
cmp ebx, 1
jne 0x4ae753
mov esi, dword [esp + 0x10]
test dword [edi + 4], 0x400000
jne 0x4aeb25
mov eax, dword [esi]
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x140], 0
mov ebx, dword [ebx + 4]
je 0x4aeb25
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4aeb25
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4aeaac
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4aeaa0
test edx, edx
js 0x4aeb25
cmp byte [edi], 0x4d
jne 0x4aeab6
mov esi, dword [esi + 0x78]
jmp 0x4aeadc
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4aeb25
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4aead2
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4aeac4
jmp 0x4aeb25
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4aeb25
movsx ecx, word [edi + 0x20]
test ecx, ecx
js 0x4aeaf2
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4aeb0d
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4aeb08
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4aeb0d
mov eax, str.ROWID
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
call fcn.004bc470
add esp, 8
cmp eax, 2
jne 0x4aeb25
mov byte [edi], 0x72
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4aeb3d
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4aeb33
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret