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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, 0xa2
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov dword [edi + 0x1c], 0xffffffff
test edx, edx
je 0x4b2c00
test byte [ebx + 0x18], 6
je 0x4b2bb7
mov dword [esp + 0x24], ecx
jmp 0x4b2c00
mov eax, dword [esp + 0x28]
xor edi, edi
cmp dword [eax + 0x14], ecx
jle 0x4b2bf8
mov ebx, dword [eax + 0x10]
mov esi, dword [esp + 0x24]
mov edx, dword [ebx]
sub esi, edx
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4b2c26
test ecx, ecx
jne 0x4b2c38
mov ecx, dword [esp + 0x28]
add edi, edi
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*8 + 0xc]
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
jmp 0x4b2c00
mov eax, dword [ebx + 4]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4b2e7d
xor edx, edx
lea ebx, [eax + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebx
cmp dword [eax], edx
jle 0x4b2e59
jmp 0x4b2c53
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b2c3b
inc edx
jmp 0x4b2bd0
mov eax, dword [esp + 0x28]
inc edi
add ebx, 0x10
cmp edi, dword [eax + 0x14]
jl 0x4b2bc5
jmp 0x4b2bf0
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x4b2cea
test dword [eax + 8], 0x800
je 0x4b2cea
mov ebx, dword [eax]
xor esi, esi
mov dword [esp + 0x38], 0
cmp dword [ebx], esi
jle 0x4b2cdb
lea edi, [ebx + 0xc]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.004b3790
add esp, 8
test eax, eax
je 0x4b2cbf
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x38], eax
jmp 0x4b2cc3
mov eax, dword [esp + 0x38]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x4b2c81
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4b2f87
mov ecx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x1c]
test esi, esi
je 0x4b2e3a
cmp dword [esp + 0x24], 0
je 0x4b2cfe
mov eax, dword [esp + 0x2c]
cmp dword [ecx + 0x48], eax
jne 0x4b2e3a
test esi, esi
je 0x4b2d6c
mov edi, dword [ebx + 0xc]
mov edx, edi
test edi, edi
jne 0x4b2d0d
mov edx, dword [ecx]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4b2d4d
test ecx, ecx
jne 0x4b2d63
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xc8], 2
jb 0x4b2d6c
test edi, edi
je 0x4b2d6c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4b2d6c
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x4b2d66
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b2d40
jmp 0x4b2d6c
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b2e36
inc edx
jmp 0x4b2d10
mov dword [eax], 0
mov ecx, dword [esp + 0x10]
mov eax, ecx
inc ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x4b2d7f
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x38], edi
mov eax, dword [ecx + 4]
movsx ecx, word [ecx + 0x2a]
mov dword [esp + 0x44], eax
test ecx, ecx
jle 0x4b2f90
lea esp, [esp]
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4b2efe
test ecx, ecx
jne 0x4b2f14
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x4b2f4c
test byte [ebx + 0x24], 4
jne 0x4b2e12
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4b2f4c
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x48], ecx
test ecx, ecx
jle 0x4b2f48
mov edi, dword [eax]
nop
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x4b2f1a
test eax, eax
jne 0x4b2f2c
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
inc edi
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x38], edi
movsx ecx, word [edx + 0x2a]
mov dword [esp + 0x44], eax
cmp edi, ecx
jl 0x4b2da0
mov edx, dword [esp + 0x20]
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x4c]
inc edx
add ebx, 0x48
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebx
cmp edx, dword [eax]
jl 0x4b2c50
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4b2e7d
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x2c], eax
test byte [ecx + 0x24], 8
je 0x4b2e76
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x10]
jne 0x4b320b
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b320b
test edx, edx
jne 0x4b320b
mov ecx, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [ecx + 0x78], ebx
je 0x4b2ffd
mov bl, byte [ecx + 0x90]
cmp bl, 0x79
je 0x4b2fb7
mov edx, 0x50f4c4
mov esi, eax
sub esi, edx
lea ebx, [ebx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b2f9c
test ecx, ecx
jne 0x4b2fae
mov ebx, dword [esp + 0xc]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x4b2ffd
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b2e12
inc edx
jmp 0x4b2da7
movzx ecx, byte [ecx + 0x5077b0]
movzx eax, byte [eax + 0x5077b0]
sub eax, ecx
jne 0x4b2f32
inc edx
jmp 0x4b2df7
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x48]
jl 0x4b2df0
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4b2f74
mov edi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edx, dword [esp + 0x20]
mov word [edi + 0x20], ax
jmp 0x4b2e3d
mov edx, dword [esp + 0x20]
movzx eax, di
mov edi, dword [ebp + 0x14]
mov word [edi + 0x20], ax
jmp 0x4b2e3d
mov ebx, dword [esp + 0x1c]
jmp 0x4b2e3a
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
jmp 0x4b2e3d
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b2fb4
inc edx
jmp 0x4b2ed0
mov eax, dword [ebp + 8]
cmp bl, 0x78
je 0x4b2ff9
mov edx, 0x50f4c8
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b2fe4
test ecx, ecx
jne 0x4b2ff6
mov ebx, dword [esp + 0xc]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x4b2ffd
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b2ff9
inc edx
jmp 0x4b2fc5
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x4b304b
mov edi, dword [eax + 8]
test edi, edi
je 0x4b304b
mov esi, dword [ebp + 8]
mov edx, str.excluded
sub esi, edx
lea ebx, [ebx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b3107
test ecx, ecx
jne 0x4b311d
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x4b3210
mov edi, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [ebx + 0x48]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x2c], eax
movsx eax, word [edi + 0x2a]
mov dword [esp + 0x10], 1
test eax, eax
jle 0x4b30a6
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
lea ebx, [ebx]
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x4b3123
test ecx, ecx
jne 0x4b3135
mov edi, dword [esp + 0x1c]
movsx eax, word [edi + 0x28]
cmp esi, eax
jne 0x4b30a6
or esi, 0xffffffff
movsx ebx, word [edi + 0x2a]
cmp esi, ebx
jl 0x4b30cb
mov ecx, dword [ebp + 0xc]
call fcn.004adcd0
test eax, eax
je 0x4b30c3
test byte [edi + 0x24], 0x40
jne 0x4b30c3
or esi, 0xffffffff
cmp esi, ebx
jge 0x4b3210
mov ebx, dword [ebp + 0x14]
inc dword [esp + 0x18]
mov eax, dword [ebx + 0x1c]
cmp eax, 2
jne 0x4b3176
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x4b3154
mov word [ebx + 0x20], si
mov dword [ebx + 0x2c], edi
mov dword [esp + 0x34], 0xa2
jmp 0x4b321b
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b304b
inc edx
jmp 0x4b3020
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b313b
inc edx
jmp 0x4b3080
mov edi, dword [esp + 0x1c]
inc esi
add ebx, 0x10
movsx eax, word [edi + 0x2a]
cmp esi, eax
jl 0x4b3073
jmp 0x4b30a6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0xa8
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
add eax, esi
or dword [ebx + 4], 0x400000
mov dword [ebx + 0x1c], eax
jmp 0x4b321b
test esi, esi
jns 0x4b3192
mov byte [ebx + 1], 0x44
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
mov dword [esp + 0x34], 0x4d
jmp 0x4b3213
test eax, eax
jne 0x4b31dd
cmp esi, 0x20
jl 0x4b31b9
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x88], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x4b3213
mov ecx, esi
mov dword [esp + 0x34], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
or dword [ecx + 0x88], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x4b3213
cmp esi, 0x20
jl 0x4b31e7
or eax, 0xffffffff
jmp 0x4b31f0
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x8c], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x4b3213
mov ebx, dword [ebp + 0x14]
jmp 0x4b321b
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4b3266
cmp edx, 1
jne 0x4b3266
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x4b3269
mov eax, dword [ebp + 0x10]
test byte [eax + 0x18], 0x20
jne 0x4b3269
mov ecx, esi
call fcn.004adcd0
test eax, eax
je 0x4b3269
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4b3269
mov edi, 1
mov byte [ebx + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x18], edi
mov word [ebx + 0x20], ax
jmp 0x4b3269
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test byte [ebx + 0x18], 0x80
je 0x4b3350
test edi, edi
jne 0x4b3354
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4b3335
mov eax, dword [ebx + 8]
xor ebx, ebx
mov dword [esp + 0x38], eax
cmp dword [eax], ebx
jle 0x4b332f
mov ecx, dword [esp + 0x38]
add eax, 8
mov dword [esp + 0x44], eax
mov edi, dword [eax]
test edi, edi
je 0x4b331c
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4b32ff
test ecx, ecx
jne 0x4b3311
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + ebx*2]
mov edx, dword [esp + 0x38]
test byte [ecx + 0x18], 1
mov eax, dword [edx + eax*8 + 4]
jne 0x4b3373
test byte [eax + 4], 0x10
je 0x4b3373
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x14]
call fcn.004e9ae0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b3314
inc edx
jmp 0x4b32b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 0xc]
inc ebx
add eax, 0x18
mov dword [esp + 0x44], eax
cmp ebx, dword [ecx]
jl 0x4b32a5
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebx + 0xc]
inc dword [esp + 0x3c]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x4b3423
mov ecx, dword [esp + 0x14]
jmp 0x4b2bf5
test edi, edi
je 0x4b3332
cmp edi, 1
je 0x4b35b1
test edi, edi
jne 0x4b354b
mov edi, dword [esp + 0x18]
mov eax, str.no_such_column
jmp 0x4b3550
test dword [ecx + 0x18], 0x4000
jne 0x4b3390
test dword [eax + 4], 0x8000
je 0x4b3390
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x4b32e7
mov cl, byte [eax]
cmp cl, 0xa8
jne 0x4b339a
mov cl, byte [eax + 0x26]
cmp cl, 0xa9
jne 0x4b33a4
add eax, 0x14
jmp 0x4b33ac
cmp cl, 0x83
jne 0x4b33d0
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x4b33d0
push str.row_value_misused
push dword [esp + 0x10]
call fcn.004e9ae0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
push 0x503d60
push esi
push ebx
call fcn.004b38c0
add esp, 0x10
cmp byte [edi + 0xc8], 2
jb 0x4b362c
mov eax, dword [edi + 0x110]
test eax, eax
je 0x4b362c
cmp dword [eax], esi
je 0x4b3418
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b3408
jmp 0x4b362c
mov dword [eax], 0
jmp 0x4b362c
test eax, eax
jne 0x4b3365
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi + 4]
test bl, 0x40
je 0x4b34ad
mov eax, dword [esp + 0x28]
cmp byte [eax + 0xa5], 0
jne 0x4b3485
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
test dword [eax + 0x18], 0x10000
je 0x4b347a
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4b3472
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x4b3485
and ecx, 0x20000000
jmp 0x4b3480
and ecx, 0x40000000
or ecx, 0
je 0x4b34ad
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004ea8d0
add esp, 0xc
mov byte [esi], 0x6e
mov dword [esi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x4b3365
mov edi, dword [esi + 8]
mov esi, str.true
mov edx, edi
sub esi, edi
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b34fd
test ecx, ecx
jne 0x4b350f
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 0x9f
movsx eax, byte [edi + 4]
neg eax
sbb eax, eax
and eax, 0x10000000
add eax, 0x10000000
or eax, ebx
mov dword [ecx + 4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b3512
inc edx
jmp 0x4b34c5
mov esi, str.false
mov edx, edi
sub esi, edi
jmp 0x4b3520
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b3532
test ecx, ecx
je 0x4b34d4
inc edx
jmp 0x4b3520
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x4b3365
inc edx
jmp 0x4b3520
mov eax, str.ambiguous_column_name
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
push ecx
test edx, edx
je 0x4b3574
push dword [ebp + 8]
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x20]
call fcn.004e9ae0
add esp, 0x18
jmp 0x4b35a2
mov edx, dword [ebp + 8]
test edx, edx
je 0x4b3590
push edx
push eax
push str._s:__s._s
push dword [esp + 0x1c]
call fcn.004e9ae0
add esp, 0x14
jmp 0x4b35a2
push eax
push str._s:__s
push dword [esp + 0x18]
call fcn.004e9ae0
add esp, 0x10
mov eax, dword [esp + 0xc]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x40]
inc dword [eax + 0x14]
mov esi, dword [ebp + 0x14]
movzx eax, word [esi + 0x20]
test ax, ax
js 0x4b35e4
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4b35e4
movsx ecx, ax
cmp ecx, 0x40
jl 0x4b35d2
mov ecx, 0x3f
mov eax, 1
xor edx, edx
call fcn.00421a50
or dword [ebx + 0x38], eax
or dword [ebx + 0x3c], edx
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x28]
test edx, edx
je 0x4b35f6
mov ecx, ebx
call fcn.004afa70
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test edx, edx
je 0x4b360b
mov ecx, ebx
call fcn.004afa70
mov eax, dword [esp + 0x34]
or dword [esi + 4], 0x800000
mov dword [esi + 0x10], 0
mov byte [esi], al
cmp edi, 1
jne 0x4b32f3
mov edi, dword [esp + 0xc]
test dword [esi + 4], 0x400000
jne 0x4b36f4
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax + 0x140], 0
je 0x4b36f4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4b36f4
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4b3676
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4b3666
test edx, edx
js 0x4b36f4
cmp byte [esi], 0x4d
jne 0x4b3680
mov esi, dword [edi + 0x78]
jmp 0x4b36aa
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4b36f4
mov edi, dword [ebp + 0x14]
lea ecx, [ebx + 0x34]
mov edi, dword [edi + 0x1c]
cmp edi, dword [ecx]
je 0x4b369f
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4b3691
jmp 0x4b36f4
mov edi, dword [esp + 0xc]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4b36f4
mov ebx, dword [ebp + 0x14]
movsx ecx, word [ebx + 0x20]
test ecx, ecx
js 0x4b36c3
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4b36de
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4b36d9
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4b36de
mov eax, str.ROWID
push edx
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.004a29f0
add esp, 8
cmp eax, 2
jne 0x4b36f4
mov byte [ebx], 0x72
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4b370c
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4b3702
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret