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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov ecx, 0xa4
mov edx, dword [ebx]
xor esi, esi
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
mov dword [edi + 0x1c], 0xffffffff
test ecx, ecx
je 0x4d43e5
test byte [eax + 0x18], 6
je 0x4d43a6
mov dword [ebp + 0xc], esi
jmp 0x4d43e5
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4d43e3
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.00507100
add esp, 8
test eax, eax
je 0x4d43ce
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4d43b2
jmp 0x4d43dd
mov ecx, dword [ebp - 0x20]
add esi, esi
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*8 + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
xor esi, esi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x4d46a4
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp dword [ecx], edx
jle 0x4d4681
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x4d4490
test dword [ebx + 4], 0x800
je 0x4d4490
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx], esi
jle 0x4d4483
lea edi, [ebx + 4]
nop
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.004faeb0
add esp, 0x10
test eax, eax
je 0x4d4467
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4d446a
mov eax, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4d4430
mov edx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4d4666
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4d4666
jmp 0x4d4493
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ebx
je 0x4d44ab
mov ebx, dword [ebp - 0x18]
cmp dword [ecx + 0x48], ebx
jne 0x4d4666
test esi, esi
je 0x4d451c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4d44ba
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4d44fd
test eax, eax
jne 0x4d4513
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4d451c
test ebx, ebx
je 0x4d451c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4d451c
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4d4516
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d44f0
jmp 0x4d451c
movzx ecx, byte [eax + 0x5854f8]
movzx eax, byte [esi + 0x5854f8]
sub ecx, eax
jne 0x4d4660
inc edx
jmp 0x4d44c0
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x34], 0
mov ebx, dword [ebp - 8]
mov esi, ebx
cmovne esi, dword [ebp - 4]
xor edi, edi
mov eax, dword [ecx + 4]
movsx ecx, word [ecx + 0x2a]
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], eax
test ecx, ecx
jle 0x4d45de
nop dword [eax]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4d45e9
test ecx, ecx
jne 0x4d45fb
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x4d4628
test byte [ebx + 0x24], 4
jne 0x4d45bc
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d4628
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jle 0x4d4625
mov edi, dword [eax]
nop dword [eax]
mov esi, dword [ebp + 0x14]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x4d4601
test eax, eax
jne 0x4d4613
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
inc edi
mov eax, dword [ebp - 0x34]
add eax, 0x14
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jl 0x4d4550
mov esi, dword [ebp - 4]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
jmp 0x4d4669
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d45bc
inc edx
jmp 0x4d4557
movzx ecx, byte [ecx + 0x5854f8]
movzx eax, byte [eax + 0x5854f8]
sub eax, ecx
jne 0x4d4616
inc edx
jmp 0x4d45a7
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x38]
jl 0x4d45a0
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
inc edx
mov esi, ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4d464e
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d466c
mov edx, dword [ebp - 0x14]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d466c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x3c]
inc edx
add eax, 0x48
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp edx, dword [ecx]
jl 0x4d4406
test esi, esi
je 0x4d46a4
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2c], eax
test byte [esi + 0x24], 8
je 0x4d469e
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
jne 0x4d4962
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d4962
test esi, esi
jne 0x4d4962
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4d476c
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4d4729
mov edx, 0x58b840
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d4711
test ecx, ecx
jne 0x4d4723
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d476c
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d4726
inc edx
jmp 0x4d46f0
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4d4769
mov edx, 0x58b844
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d4754
test ecx, ecx
jne 0x4d4766
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d476c
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d4769
inc edx
jmp 0x4d4737
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4d47b6
mov edi, dword [eax + 8]
test edi, edi
je 0x4d47b6
mov esi, dword [ebp + 0x10]
mov edx, str.excluded
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d480c
test ecx, ecx
jne 0x4d481e
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x4d495f
mov eax, dword [ebx + 0x48]
mov esi, 1
movsx ecx, word [ebx + 0x2a]
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x4d4850
nop
mov ebx, dword [ebp + 0x14]
mov edx, dword [eax]
sub ebx, edx
movzx eax, byte [edx]
movzx esi, byte [ebx + edx]
cmp eax, esi
jne 0x4d4824
test eax, eax
jne 0x4d4836
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
movsx eax, word [ebx + 0x28]
cmp edi, eax
mov eax, 0xffffffff
cmove edi, eax
jmp 0x4d484d
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d47b6
inc edx
jmp 0x4d4790
movzx ecx, byte [eax + 0x5854f8]
movzx eax, byte [esi + 0x5854f8]
sub ecx, eax
jne 0x4d4839
inc edx
jmp 0x4d47e7
mov eax, dword [ebp - 0x34]
inc edi
mov ecx, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x34], eax
cmp edi, ecx
jl 0x4d47e0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp edi, ecx
jl 0x4d487d
push dword [ebp + 0x14]
call fcn.004f9520
mov ecx, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x4d4875
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove edi, eax
cmp edi, ecx
jge 0x4d4962
mov ecx, dword [ebp + 0x1c]
inc dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
cmp eax, 2
jne 0x4d48cb
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4d48ad
mov word [ecx + 0x20], di
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4d4965
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], 0xad
mov eax, dword [eax + 0x18]
add eax, edi
or dword [ecx + 4], 0x400000
mov dword [ecx + 0x1c], eax
jmp 0x4d4965
test edi, edi
jns 0x4d48e6
mov byte [ecx + 1], 0x44
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
mov dword [ebp - 0x24], 0x4d
jmp 0x4d4962
test eax, eax
jne 0x4d4930
cmp edi, 0x20
jl 0x4d490b
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 0x24], 0x4d
or dword [edx + 0x88], eax
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
jmp 0x4d4962
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, 1
mov dword [ebp - 0x24], 0x4d
shl eax, cl
mov ecx, dword [ebp + 0x1c]
or dword [edx + 0x88], eax
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
jmp 0x4d4962
cmp edi, 0x20
jl 0x4d493a
or eax, 0xffffffff
jmp 0x4d4946
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], 0x4d
or dword [edx + 0x8c], eax
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
jmp 0x4d4962
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x4d49b2
cmp esi, 1
mov esi, dword [ebp + 0x14]
jne 0x4d49b5
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d49b5
test byte [edx + 0x18], 0x28
jne 0x4d49b5
push esi
call fcn.004f9520
add esp, 4
test eax, eax
je 0x4d49b5
mov eax, dword [edi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4d49b5
mov eax, dword [ebp + 0x1c]
mov ebx, 1
or ecx, 0xffffffff
mov dword [ebp - 0xc], ebx
mov word [eax + 0x20], cx
mov byte [eax + 1], 0x44
jmp 0x4d49b5
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
test byte [edi + 0x18], 0x80
je 0x4d4a47
test ebx, ebx
jne 0x4d4c80
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4d4a52
mov ecx, dword [edi + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x4d4a4f
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4d4a1f
test ebx, ebx
jne 0x4d49fb
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4d4a1b
test esi, esi
je 0x4d4a1f
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d4a32
test ecx, ecx
jne 0x4d4a44
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4d4a71
inc edx
add edi, 0x14
mov dword [ebp - 0x34], edx
cmp edx, eax
jl 0x4d49e7
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x18]
jmp 0x4d4a4f
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d4a12
inc edx
jmp 0x4d4a03
test ebx, ebx
jne 0x4d4c80
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4d4b5b
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
jmp 0x4d43e5
mov ecx, dword [ebp + 0x18]
lea eax, [edx + edx*4]
test byte [ecx + 0x18], 1
mov esi, dword [ecx + 8]
mov eax, dword [esi + eax*4 + 4]
jne 0x4d4aa7
test byte [eax + 4], 0x10
je 0x4d4aa7
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.004ed090
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4d4ac6
test dword [ecx + 0x18], 0x4000
je 0x4d4abe
cmp ecx, dword [ebp - 0x28]
je 0x4d4ac6
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4d4a90
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4d4ad0
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4d4ada
mov eax, dword [eax + 0x14]
jmp 0x4d4ae5
cmp cl, 0x88
jne 0x4d4b06
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4d4b06
push str.row_value_misused
push dword [ebp + 8]
call fcn.004ed090
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 0x1c]
push eax
push 0x5989f7
push edi
push edx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004de520
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4d4de0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4d4de0
nop dword [eax]
cmp dword [eax], edi
je 0x4d4b50
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d4b40
jmp 0x4d4de0
mov dword [eax], 0
jmp 0x4d4de0
test edx, edx
jne 0x4d4c92
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4d4bde
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4d4bb8
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
test dword [eax + 0x18], 0x10000
je 0x4d4bad
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4d4ba5
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4d4bb8
and ecx, 0x20000000
jmp 0x4d4bb3
and ecx, 0x40000000
or ecx, 0
je 0x4d4bde
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004b99a0
add esp, 0xc
mov byte [edi], 0x73
mov dword [edi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x4d4c87
mov edx, dword [edi + 8]
mov edi, 0x57e48c
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x4d4c21
test ecx, ecx
jne 0x4d4c33
mov ecx, dword [ebp + 0x1c]
mov eax, 0x10000000
or ebx, eax
mov eax, 1
pop edi
pop esi
mov dword [ecx + 4], ebx
mov byte [ecx], 0xa7
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d4c36
inc esi
jmp 0x4d4bf6
mov esi, 0x57e484
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d4c6b
test ecx, ecx
jne 0x4d4c7d
mov ecx, dword [ebp + 0x1c]
mov eax, 0x20000000
or ebx, eax
mov eax, 1
pop edi
pop esi
mov dword [ecx + 4], ebx
mov byte [ecx], 0xa7
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x5854f8]
movzx ecx, byte [ecx + 0x5854f8]
sub ecx, eax
jne 0x4d4c8c
inc edx
jmp 0x4d4c40
cmp ebx, 1
je 0x4d4cf7
jmp 0x4d4c8f
mov ebx, dword [ebp - 0xc]
jmp 0x4d4c92
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test ebx, ebx
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0x14]
push ecx
test esi, esi
je 0x4d4cc1
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.004ed090
add esp, 0x18
jmp 0x4d4cea
test edx, edx
je 0x4d4cd9
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.004ed090
add esp, 0x14
jmp 0x4d4cea
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.004ed090
add esp, 0x10
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x14]
mov edi, dword [ebp + 0x1c]
movzx eax, word [edi + 0x20]
test ax, ax
js 0x4d4d95
cmp dword [ebp - 4], 0
je 0x4d4d95
mov esi, dword [edi + 0x2c]
movsx edx, ax
test byte [esi + 0x24], 0x60
je 0x4d4d6c
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4d4d6c
movzx eax, word [esi + 0x2a]
cmp ax, 0x40
jl 0x4d4d45
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
or edx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x4d4d95
xor ecx, ecx
cwde
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp - 4]
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x4d4d95
cmp edx, 0x40
mov eax, 0x3f
cmovge edx, eax
xor eax, eax
bts eax, edx
xor ecx, ecx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
mov edx, dword [ebp - 4]
cmovae ecx, eax
or dword [edx + 0x38], eax
or dword [edx + 0x3c], ecx
mov eax, dword [edi + 0xc]
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x4d4da9
push eax
push esi
call fcn.004f0340
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4d4dc1
push eax
push esi
call fcn.004f0340
add esp, 8
mov ecx, dword [ebp - 0x24]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], cl
cmp ebx, 1
jne 0x4d4a9b
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4d4ea8
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4d4ea8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d4ea8
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4d4e30
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d4e20
test edx, edx
js 0x4d4ea8
cmp byte [edi], 0x4d
jne 0x4d4e3a
mov esi, dword [esi + 0x78]
jmp 0x4d4e60
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4d4ea8
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4d4e56
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4d4e48
jmp 0x4d4ea8
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4d4ea8
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4d4e77
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d4e91
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4d4e8c
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d4e91
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004e4180
add esp, 0x10
cmp eax, 2
jne 0x4d4ea8
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4d4ebf
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4d4eb5
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret