Function at 0x4aed80
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 0x4aee30
test byte [ecx + 0x18], 6
je 0x4aede2
mov dword [esp + 0x28], esi
jmp 0x4aee30
mov ebx, dword [ebx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4aee2c
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x10]
mov ecx, dword [edi]
call fcn.00481170
test eax, eax
je 0x4aee12
mov edx, dword [esp + 0x28]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4aedf2
mov ecx, dword [ebp + 0x10]
xor esi, esi
xor edi, edi
jmp 0x4aee30
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 0x4aee30
xor esi, esi
nop
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x4af13e
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [ecx], edx
jle 0x4af117
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
test ebx, ebx
je 0x4aef5d
test dword [ebx + 8], 0x800
je 0x4aef5d
mov ebx, dword [ebx]
xor esi, esi
mov dword [esp + 0x3c], 0
cmp dword [ebx], esi
jle 0x4aeee4
lea edi, [ebx + 0xc]
push dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.004aecc0
add esp, 8
test eax, eax
je 0x4aeec4
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 0x4aeec8
mov eax, dword [esp + 0x3c]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x4aee86
mov edx, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4af0f7
mov ecx, dword [esp + 0x34]
mov esi, dword [ebp + 8]
test esi, esi
je 0x4af0f7
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x28], 0
mov ebx, edi
je 0x4aef0d
mov eax, dword [esp + 0x30]
cmp dword [ecx + 0x48], eax
mov eax, dword [esp + 0x14]
jne 0x4af0fb
test esi, esi
je 0x4aef81
mov edi, dword [eax + 0xc]
mov edx, edi
test edi, edi
jne 0x4aef1c
mov edx, dword [ecx]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4aef62
test ecx, ecx
jne 0x4aef78
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x4aef81
test edi, edi
je 0x4aef81
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4aef81
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x4aef7b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4aef50
jmp 0x4aef81
mov esi, dword [ebp + 8]
jmp 0x4aeef3
movzx eax, byte [eax + 0x6182a0]
movzx ecx, byte [ecx + 0x6182a0]
sub ecx, eax
jne 0x4af0ef
inc edx
jmp 0x4aef20
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 0x4af0e1
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 0x4af06c
test eax, eax
jne 0x4af07e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edx, 1
jne 0x4af0bb
test byte [ecx + 0x24], 4
jne 0x4af033
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4af0bb
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x4af0b7
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 0x4af084
test eax, eax
jne 0x4af096
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 0x4aefb1
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 0x4af0ff
movzx ecx, byte [eax + 0x6182a0]
movzx eax, byte [esi + 0x6182a0]
sub ecx, eax
jne 0x4af033
inc edx
jmp 0x4aefc0
movzx ecx, byte [eax + 0x6182a0]
movzx eax, byte [esi + 0x6182a0]
sub ecx, eax
jne 0x4af099
inc edx
jmp 0x4af020
mov ecx, dword [esp + 0x48]
add ebx, 8
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x50]
jl 0x4af012
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 0x4af0d7
or eax, 0xffffffff
jmp 0x4af0da
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 0x4af0ff
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 0x4aee54
test esi, esi
je 0x4af13e
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 0x4af137
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x28], 0
jne 0x4af3db
mov eax, dword [ebp + 8]
test eax, eax
je 0x4af3db
test edi, edi
jne 0x4af3db
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
cmp dword [ecx + 0x78], edi
je 0x4af1e1
mov bl, byte [ecx + 0x90]
cmp bl, 0x79
je 0x4af1b3
mov edx, 0x612804
mov edi, eax
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4af19b
test eax, eax
jne 0x4af1ad
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x1c], 1
jmp 0x4af1d6
movzx ecx, byte [eax + 0x6182a0]
movzx eax, byte [esi + 0x6182a0]
sub ecx, eax
jne 0x4af1b0
inc edx
jmp 0x4af180
mov eax, dword [ebp + 8]
cmp bl, 0x78
je 0x4af1e1
mov edx, 0x612808
mov edi, eax
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4af225
test eax, eax
jne 0x4af237
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 0x4af24f
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4af24f
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 0x4af23a
test eax, eax
jne 0x4af24c
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 0x4af253
movzx ecx, byte [eax + 0x6182a0]
movzx eax, byte [esi + 0x6182a0]
sub ecx, eax
jne 0x4af1e1
inc edx
jmp 0x4af1c1
movzx ecx, byte [eax + 0x6182a0]
movzx eax, byte [esi + 0x6182a0]
sub ecx, eax
jne 0x4af24f
inc edx
jmp 0x4af200
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4af3db
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 0x4af2cf
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 0x4af2ae
test ecx, ecx
jne 0x4af2c0
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 0x4af2d3
movzx eax, byte [eax + 0x6182a0]
movzx ecx, byte [ecx + 0x6182a0]
sub ecx, eax
jne 0x4af2c3
inc edx
jmp 0x4af287
mov edi, dword [esp + 0x4c]
inc esi
add ebx, 0x10
cmp esi, edi
jl 0x4af280
mov ebx, dword [esp + 0x14]
cmp esi, edi
jl 0x4af2f7
mov ecx, dword [ebp + 0xc]
call fcn.004b38c0
test eax, eax
je 0x4af2ef
test byte [ebx + 0x24], 0x40
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x4af3db
mov edi, dword [ebp + 0x14]
inc dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x4af349
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x4af32a
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x38], 0xa2
jmp 0x4af3e1
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 0x4af3e1
test esi, esi
jns 0x4af362
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [esp + 0x38], 0x4d
jmp 0x4af3de
test eax, eax
jne 0x4af3ad
cmp esi, 0x20
jl 0x4af389
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 0x4af3de
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 0x4af3de
cmp esi, 0x20
jl 0x4af3b7
or eax, 0xffffffff
jmp 0x4af3c0
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 0x4af3de
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x4af42b
cmp dword [esp + 0x1c], 1
jne 0x4af42b
cmp dword [esp + 0x18], ebx
je 0x4af42b
test byte [ecx + 0x18], 0x20
jne 0x4af42b
mov ecx, esi
call fcn.004b38c0
test eax, eax
je 0x4af42b
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4af42b
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 0x4af518
test ebx, ebx
jne 0x4af51c
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4af4f9
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
cmp dword [eax], ebx
jle 0x4af560
mov ecx, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0x4c], eax
mov edi, dword [eax]
test edi, edi
je 0x4af4dc
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4af4bf
test ecx, ecx
jne 0x4af4d1
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 0x4af566
test byte [eax + 4], 0x10
je 0x4af566
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.00480fb0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x6182a0]
movzx ecx, byte [ecx + 0x6182a0]
sub ecx, eax
jne 0x4af4d4
inc edx
jmp 0x4af470
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 0x4af465
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 0x4af61b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x4aee30
test ebx, ebx
je 0x4af4f6
cmp ebx, 1
je 0x4af73f
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 0x4af705
push edx
push esi
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.00480fb0
add esp, 0x18
jmp 0x4af730
mov ebx, dword [esp + 0x20]
jmp 0x4af4f9
test dword [ecx + 0x18], 0x4000
jne 0x4af583
test dword [eax + 4], 0x8000
je 0x4af583
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x4af4a7
mov cl, byte [eax]
cmp cl, 0xa8
jne 0x4af58d
mov cl, byte [eax + 0x26]
cmp cl, 0xa9
jne 0x4af597
add eax, 0x14
jmp 0x4af59f
cmp cl, 0x83
jne 0x4af5c3
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x4af5c3
push str.row_value_misused
push dword [esp + 0x14]
call fcn.00480fb0
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 0x610f54
push edi
push ebx
call fcn.004aeb70
add esp, 0x10
cmp byte [esi + 0xc8], 2
jb 0x4af7c4
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4af7c4
nop dword [eax + eax]
cmp dword [eax], edi
je 0x4af610
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4af600
jmp 0x4af7c4
mov dword [eax], 0
jmp 0x4af7c4
test edx, edx
jne 0x4af528
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4af6a3
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xa5], dl
jne 0x4af67b
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 0x4af670
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4af668
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4af67b
and ecx, 0x20000000
jmp 0x4af676
and ecx, 0x40000000
or ecx, 0
je 0x4af6a3
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004805c0
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 0x4af6fc
mov esi, dword [edi + 8]
mov edx, str.true
mov ecx, esi
call fcn.00481170
test eax, eax
je 0x4af6ce
mov edx, str.false
mov ecx, esi
call fcn.00481170
test eax, eax
jne 0x4af6f3
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 0x4af525
mov ebx, dword [esp + 0x20]
jmp 0x4af528
test edx, edx
je 0x4af71e
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.00480fb0
add esp, 0x14
jmp 0x4af730
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.00480fb0
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 0x4af77c
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4af77c
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 0x4af78e
mov ecx, esi
call fcn.004b20e0
mov edx, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test edx, edx
je 0x4af7a3
mov ecx, esi
call fcn.004b20e0
mov eax, dword [esp + 0x38]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], al
cmp ebx, 1
jne 0x4af4b3
mov esi, dword [esp + 0x10]
test dword [edi + 4], 0x400000
jne 0x4af885
mov eax, dword [esi]
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x140], 0
mov ebx, dword [ebx + 4]
je 0x4af885
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4af885
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4af80c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4af800
test edx, edx
js 0x4af885
cmp byte [edi], 0x4d
jne 0x4af816
mov esi, dword [esi + 0x78]
jmp 0x4af83c
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4af885
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4af832
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4af824
jmp 0x4af885
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4af885
movsx ecx, word [edi + 0x20]
test ecx, ecx
js 0x4af852
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4af86d
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4af868
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4af86d
mov eax, str.ROWID
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
call fcn.004bd1d0
add esp, 8
cmp eax, 2
jne 0x4af885
mov byte [edi], 0x72
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4af89d
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4af893
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret