Function at 0x4d1dc0
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 0x4d1e55
test byte [eax + 0x18], 6
je 0x4d1e16
mov dword [ebp + 0xc], esi
jmp 0x4d1e55
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4d1e53
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.00504b70
add esp, 8
test eax, eax
je 0x4d1e3e
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4d1e22
jmp 0x4d1e4d
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 0x4d2114
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp dword [ecx], edx
jle 0x4d20f1
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x4d1f00
test dword [ebx + 4], 0x800
je 0x4d1f00
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx], esi
jle 0x4d1ef3
lea edi, [ebx + 4]
nop
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.004f8930
add esp, 0x10
test eax, eax
je 0x4d1ed7
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 0x4d1eda
mov eax, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4d1ea0
mov edx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4d20d6
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4d20d6
jmp 0x4d1f03
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ebx
je 0x4d1f1b
mov ebx, dword [ebp - 0x18]
cmp dword [ecx + 0x48], ebx
jne 0x4d20d6
test esi, esi
je 0x4d1f8c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4d1f2a
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4d1f6d
test eax, eax
jne 0x4d1f83
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4d1f8c
test ebx, ebx
je 0x4d1f8c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4d1f8c
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4d1f86
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d1f60
jmp 0x4d1f8c
movzx ecx, byte [eax + 0x5834a8]
movzx eax, byte [esi + 0x5834a8]
sub ecx, eax
jne 0x4d20d0
inc edx
jmp 0x4d1f30
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 0x4d204e
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 0x4d2059
test ecx, ecx
jne 0x4d206b
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x4d2098
test byte [ebx + 0x24], 4
jne 0x4d202c
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d2098
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jle 0x4d2095
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 0x4d2071
test eax, eax
jne 0x4d2083
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 0x4d1fc0
mov esi, dword [ebp - 4]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
jmp 0x4d20d9
movzx eax, byte [eax + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d202c
inc edx
jmp 0x4d1fc7
movzx ecx, byte [ecx + 0x5834a8]
movzx eax, byte [eax + 0x5834a8]
sub eax, ecx
jne 0x4d2086
inc edx
jmp 0x4d2017
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x38]
jl 0x4d2010
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 0x4d20be
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d20dc
mov edx, dword [ebp - 0x14]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d20dc
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 0x4d1e76
test esi, esi
je 0x4d2114
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 0x4d210e
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 0x4d23d2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d23d2
test esi, esi
jne 0x4d23d2
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4d21dc
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4d2199
mov edx, 0x5897f0
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d2181
test ecx, ecx
jne 0x4d2193
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d21dc
movzx eax, byte [eax + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d2196
inc edx
jmp 0x4d2160
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4d21d9
mov edx, 0x5897f4
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d21c4
test ecx, ecx
jne 0x4d21d6
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d21dc
movzx eax, byte [eax + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d21d9
inc edx
jmp 0x4d21a7
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4d2226
mov edi, dword [eax + 8]
test edi, edi
je 0x4d2226
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 0x4d227c
test ecx, ecx
jne 0x4d228e
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 0x4d23cf
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 0x4d22c0
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 0x4d2294
test eax, eax
jne 0x4d22a6
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 0x4d22bd
movzx eax, byte [eax + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d2226
inc edx
jmp 0x4d2200
movzx ecx, byte [eax + 0x5834a8]
movzx eax, byte [esi + 0x5834a8]
sub ecx, eax
jne 0x4d22a9
inc edx
jmp 0x4d2257
mov eax, dword [ebp - 0x34]
inc edi
mov ecx, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x34], eax
cmp edi, ecx
jl 0x4d2250
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp edi, ecx
jl 0x4d22ed
push dword [ebp + 0x14]
call fcn.004f6fa0
mov ecx, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x4d22e5
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove edi, eax
cmp edi, ecx
jge 0x4d23d2
mov ecx, dword [ebp + 0x1c]
inc dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
cmp eax, 2
jne 0x4d233b
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4d231d
mov word [ecx + 0x20], di
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4d23d5
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 0x4d23d5
test edi, edi
jns 0x4d2356
mov byte [ecx + 1], 0x44
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
mov dword [ebp - 0x24], 0x4d
jmp 0x4d23d2
test eax, eax
jne 0x4d23a0
cmp edi, 0x20
jl 0x4d237b
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 0x4d23d2
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 0x4d23d2
cmp edi, 0x20
jl 0x4d23aa
or eax, 0xffffffff
jmp 0x4d23b6
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 0x4d23d2
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x4d2422
cmp esi, 1
mov esi, dword [ebp + 0x14]
jne 0x4d2425
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d2425
test byte [edx + 0x18], 0x28
jne 0x4d2425
push esi
call fcn.004f6fa0
add esp, 4
test eax, eax
je 0x4d2425
mov eax, dword [edi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4d2425
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 0x4d2425
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
test byte [edi + 0x18], 0x80
je 0x4d24b7
test ebx, ebx
jne 0x4d26f0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4d24c2
mov ecx, dword [edi + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x4d24bf
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4d248f
test ebx, ebx
jne 0x4d246b
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4d248b
test esi, esi
je 0x4d248f
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d24a2
test ecx, ecx
jne 0x4d24b4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4d24e1
inc edx
add edi, 0x14
mov dword [ebp - 0x34], edx
cmp edx, eax
jl 0x4d2457
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x18]
jmp 0x4d24bf
movzx eax, byte [eax + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d2482
inc edx
jmp 0x4d2473
test ebx, ebx
jne 0x4d26f0
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4d25cb
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
jmp 0x4d1e55
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 0x4d2517
test byte [eax + 4], 0x10
je 0x4d2517
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.004eab10
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4d2536
test dword [ecx + 0x18], 0x4000
je 0x4d252e
cmp ecx, dword [ebp - 0x28]
je 0x4d2536
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4d2500
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4d2540
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4d254a
mov eax, dword [eax + 0x14]
jmp 0x4d2555
cmp cl, 0x88
jne 0x4d2576
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4d2576
push str.row_value_misused
push dword [ebp + 8]
call fcn.004eab10
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 0x5969a7
push edi
push edx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004dbf90
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4d2850
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4d2850
nop dword [eax]
cmp dword [eax], edi
je 0x4d25c0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d25b0
jmp 0x4d2850
mov dword [eax], 0
jmp 0x4d2850
test edx, edx
jne 0x4d2702
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4d264e
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4d2628
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 0x4d261d
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4d2615
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4d2628
and ecx, 0x20000000
jmp 0x4d2623
and ecx, 0x40000000
or ecx, 0
je 0x4d264e
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004b7420
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 0x4d26f7
mov edx, dword [edi + 8]
mov edi, 0x57c47c
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x4d2691
test ecx, ecx
jne 0x4d26a3
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 + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d26a6
inc esi
jmp 0x4d2666
mov esi, 0x57c474
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d26db
test ecx, ecx
jne 0x4d26ed
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 + 0x5834a8]
movzx ecx, byte [ecx + 0x5834a8]
sub ecx, eax
jne 0x4d26fc
inc edx
jmp 0x4d26b0
cmp ebx, 1
je 0x4d2767
jmp 0x4d26ff
mov ebx, dword [ebp - 0xc]
jmp 0x4d2702
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 0x4d2731
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.004eab10
add esp, 0x18
jmp 0x4d275a
test edx, edx
je 0x4d2749
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.004eab10
add esp, 0x14
jmp 0x4d275a
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.004eab10
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 0x4d2805
cmp dword [ebp - 4], 0
je 0x4d2805
mov esi, dword [edi + 0x2c]
movsx edx, ax
test byte [esi + 0x24], 0x60
je 0x4d27dc
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4d27dc
movzx eax, word [esi + 0x2a]
cmp ax, 0x40
jl 0x4d27b5
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
or edx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x4d2805
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 0x4d2805
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 0x4d2819
push eax
push esi
call fcn.004eddc0
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4d2831
push eax
push esi
call fcn.004eddc0
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 0x4d250b
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4d2918
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4d2918
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d2918
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4d28a0
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d2890
test edx, edx
js 0x4d2918
cmp byte [edi], 0x4d
jne 0x4d28aa
mov esi, dword [esi + 0x78]
jmp 0x4d28d0
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4d2918
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4d28c6
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4d28b8
jmp 0x4d2918
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4d2918
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4d28e7
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d2901
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4d28fc
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d2901
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004e1bf0
add esp, 0x10
cmp eax, 2
jne 0x4d2918
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4d292f
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4d2925
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret