Function at 0x4d2eb0
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 0x4d2f45
test byte [eax + 0x18], 6
je 0x4d2f06
mov dword [ebp + 0xc], esi
jmp 0x4d2f45
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4d2f43
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.00505c60
add esp, 8
test eax, eax
je 0x4d2f2e
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4d2f12
jmp 0x4d2f3d
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 0x4d3204
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp dword [ecx], edx
jle 0x4d31e1
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x4d2ff0
test dword [ebx + 4], 0x800
je 0x4d2ff0
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx], esi
jle 0x4d2fe3
lea edi, [ebx + 4]
nop
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.004f9a20
add esp, 0x10
test eax, eax
je 0x4d2fc7
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 0x4d2fca
mov eax, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4d2f90
mov edx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4d31c6
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4d31c6
jmp 0x4d2ff3
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ebx
je 0x4d300b
mov ebx, dword [ebp - 0x18]
cmp dword [ecx + 0x48], ebx
jne 0x4d31c6
test esi, esi
je 0x4d307c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4d301a
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4d305d
test eax, eax
jne 0x4d3073
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4d307c
test ebx, ebx
je 0x4d307c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4d307c
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4d3076
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d3050
jmp 0x4d307c
movzx ecx, byte [eax + 0x584248]
movzx eax, byte [esi + 0x584248]
sub ecx, eax
jne 0x4d31c0
inc edx
jmp 0x4d3020
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 0x4d313e
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 0x4d3149
test ecx, ecx
jne 0x4d315b
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x4d3188
test byte [ebx + 0x24], 4
jne 0x4d311c
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d3188
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jle 0x4d3185
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 0x4d3161
test eax, eax
jne 0x4d3173
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 0x4d30b0
mov esi, dword [ebp - 4]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
jmp 0x4d31c9
movzx eax, byte [eax + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d311c
inc edx
jmp 0x4d30b7
movzx ecx, byte [ecx + 0x584248]
movzx eax, byte [eax + 0x584248]
sub eax, ecx
jne 0x4d3176
inc edx
jmp 0x4d3107
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x38]
jl 0x4d3100
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 0x4d31ae
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d31cc
mov edx, dword [ebp - 0x14]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d31cc
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 0x4d2f66
test esi, esi
je 0x4d3204
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 0x4d31fe
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 0x4d34c2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d34c2
test esi, esi
jne 0x4d34c2
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4d32cc
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4d3289
mov edx, 0x58a590
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d3271
test ecx, ecx
jne 0x4d3283
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d32cc
movzx eax, byte [eax + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d3286
inc edx
jmp 0x4d3250
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4d32c9
mov edx, 0x58a594
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d32b4
test ecx, ecx
jne 0x4d32c6
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d32cc
movzx eax, byte [eax + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d32c9
inc edx
jmp 0x4d3297
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4d3316
mov edi, dword [eax + 8]
test edi, edi
je 0x4d3316
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 0x4d336c
test ecx, ecx
jne 0x4d337e
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 0x4d34bf
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 0x4d33b0
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 0x4d3384
test eax, eax
jne 0x4d3396
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 0x4d33ad
movzx eax, byte [eax + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d3316
inc edx
jmp 0x4d32f0
movzx ecx, byte [eax + 0x584248]
movzx eax, byte [esi + 0x584248]
sub ecx, eax
jne 0x4d3399
inc edx
jmp 0x4d3347
mov eax, dword [ebp - 0x34]
inc edi
mov ecx, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x34], eax
cmp edi, ecx
jl 0x4d3340
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp edi, ecx
jl 0x4d33dd
push dword [ebp + 0x14]
call fcn.004f8090
mov ecx, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x4d33d5
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove edi, eax
cmp edi, ecx
jge 0x4d34c2
mov ecx, dword [ebp + 0x1c]
inc dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
cmp eax, 2
jne 0x4d342b
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4d340d
mov word [ecx + 0x20], di
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4d34c5
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 0x4d34c5
test edi, edi
jns 0x4d3446
mov byte [ecx + 1], 0x44
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
mov dword [ebp - 0x24], 0x4d
jmp 0x4d34c2
test eax, eax
jne 0x4d3490
cmp edi, 0x20
jl 0x4d346b
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 0x4d34c2
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 0x4d34c2
cmp edi, 0x20
jl 0x4d349a
or eax, 0xffffffff
jmp 0x4d34a6
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 0x4d34c2
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x4d3512
cmp esi, 1
mov esi, dword [ebp + 0x14]
jne 0x4d3515
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d3515
test byte [edx + 0x18], 0x28
jne 0x4d3515
push esi
call fcn.004f8090
add esp, 4
test eax, eax
je 0x4d3515
mov eax, dword [edi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4d3515
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 0x4d3515
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
test byte [edi + 0x18], 0x80
je 0x4d35a7
test ebx, ebx
jne 0x4d37e0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4d35b2
mov ecx, dword [edi + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x4d35af
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4d357f
test ebx, ebx
jne 0x4d355b
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4d357b
test esi, esi
je 0x4d357f
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d3592
test ecx, ecx
jne 0x4d35a4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4d35d1
inc edx
add edi, 0x14
mov dword [ebp - 0x34], edx
cmp edx, eax
jl 0x4d3547
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x18]
jmp 0x4d35af
movzx eax, byte [eax + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d3572
inc edx
jmp 0x4d3563
test ebx, ebx
jne 0x4d37e0
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4d36bb
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
jmp 0x4d2f45
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 0x4d3607
test byte [eax + 4], 0x10
je 0x4d3607
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.004ebbf0
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4d3626
test dword [ecx + 0x18], 0x4000
je 0x4d361e
cmp ecx, dword [ebp - 0x28]
je 0x4d3626
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4d35f0
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4d3630
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4d363a
mov eax, dword [eax + 0x14]
jmp 0x4d3645
cmp cl, 0x88
jne 0x4d3666
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4d3666
push str.row_value_misused
push dword [ebp + 8]
call fcn.004ebbf0
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 0x597747
push edi
push edx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004dd080
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4d3940
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4d3940
nop dword [eax]
cmp dword [eax], edi
je 0x4d36b0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d36a0
jmp 0x4d3940
mov dword [eax], 0
jmp 0x4d3940
test edx, edx
jne 0x4d37f2
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4d373e
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4d3718
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 0x4d370d
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4d3705
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4d3718
and ecx, 0x20000000
jmp 0x4d3713
and ecx, 0x40000000
or ecx, 0
je 0x4d373e
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004b8510
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 0x4d37e7
mov edx, dword [edi + 8]
mov edi, 0x57d388
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x4d3781
test ecx, ecx
jne 0x4d3793
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 + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d3796
inc esi
jmp 0x4d3756
mov esi, 0x57d380
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d37cb
test ecx, ecx
jne 0x4d37dd
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 + 0x584248]
movzx ecx, byte [ecx + 0x584248]
sub ecx, eax
jne 0x4d37ec
inc edx
jmp 0x4d37a0
cmp ebx, 1
je 0x4d3857
jmp 0x4d37ef
mov ebx, dword [ebp - 0xc]
jmp 0x4d37f2
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 0x4d3821
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.004ebbf0
add esp, 0x18
jmp 0x4d384a
test edx, edx
je 0x4d3839
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.004ebbf0
add esp, 0x14
jmp 0x4d384a
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.004ebbf0
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 0x4d38f5
cmp dword [ebp - 4], 0
je 0x4d38f5
mov esi, dword [edi + 0x2c]
movsx edx, ax
test byte [esi + 0x24], 0x60
je 0x4d38cc
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4d38cc
movzx eax, word [esi + 0x2a]
cmp ax, 0x40
jl 0x4d38a5
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
or edx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x4d38f5
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 0x4d38f5
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 0x4d3909
push eax
push esi
call fcn.004eeea0
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4d3921
push eax
push esi
call fcn.004eeea0
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 0x4d35fb
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4d3a08
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4d3a08
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d3a08
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4d3990
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d3980
test edx, edx
js 0x4d3a08
cmp byte [edi], 0x4d
jne 0x4d399a
mov esi, dword [esi + 0x78]
jmp 0x4d39c0
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4d3a08
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4d39b6
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4d39a8
jmp 0x4d3a08
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4d3a08
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4d39d7
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d39f1
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4d39ec
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d39f1
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004e2ce0
add esp, 0x10
cmp eax, 2
jne 0x4d3a08
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4d3a1f
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4d3a15
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret