Function at 0x4d1570
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 0x4d1605
test byte [eax + 0x18], 6
je 0x4d15c6
mov dword [ebp + 0xc], esi
jmp 0x4d1605
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4d1603
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.00504330
add esp, 8
test eax, eax
je 0x4d15ee
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4d15d2
jmp 0x4d15fd
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 0x4d18c4
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp dword [ecx], edx
jle 0x4d18a1
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x4d16b0
test dword [ebx + 4], 0x800
je 0x4d16b0
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx], esi
jle 0x4d16a3
lea edi, [ebx + 4]
nop
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.004f80e0
add esp, 0x10
test eax, eax
je 0x4d1687
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 0x4d168a
mov eax, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4d1650
mov edx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4d1886
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4d1886
jmp 0x4d16b3
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ebx
je 0x4d16cb
mov ebx, dword [ebp - 0x18]
cmp dword [ecx + 0x48], ebx
jne 0x4d1886
test esi, esi
je 0x4d173c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4d16da
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4d171d
test eax, eax
jne 0x4d1733
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4d173c
test ebx, ebx
je 0x4d173c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4d173c
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4d1736
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d1710
jmp 0x4d173c
movzx ecx, byte [eax + 0x581e78]
movzx eax, byte [esi + 0x581e78]
sub ecx, eax
jne 0x4d1880
inc edx
jmp 0x4d16e0
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 0x4d17fe
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 0x4d1809
test ecx, ecx
jne 0x4d181b
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x4d1848
test byte [ebx + 0x24], 4
jne 0x4d17dc
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4d1848
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jle 0x4d1845
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 0x4d1821
test eax, eax
jne 0x4d1833
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 0x4d1770
mov esi, dword [ebp - 4]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
jmp 0x4d1889
movzx eax, byte [eax + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d17dc
inc edx
jmp 0x4d1777
movzx ecx, byte [ecx + 0x581e78]
movzx eax, byte [eax + 0x581e78]
sub eax, ecx
jne 0x4d1836
inc edx
jmp 0x4d17c7
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x38]
jl 0x4d17c0
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 0x4d186e
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d188c
mov edx, dword [ebp - 0x14]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4d188c
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 0x4d1626
test esi, esi
je 0x4d18c4
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 0x4d18be
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 0x4d1b82
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d1b82
test esi, esi
jne 0x4d1b82
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4d198c
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4d1949
mov edx, 0x5881c0
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d1931
test ecx, ecx
jne 0x4d1943
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d198c
movzx eax, byte [eax + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d1946
inc edx
jmp 0x4d1910
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4d1989
mov edx, 0x5881c4
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d1974
test ecx, ecx
jne 0x4d1986
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4d198c
movzx eax, byte [eax + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d1989
inc edx
jmp 0x4d1957
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4d19d6
mov edi, dword [eax + 8]
test edi, edi
je 0x4d19d6
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 0x4d1a2c
test ecx, ecx
jne 0x4d1a3e
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 0x4d1b7f
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 0x4d1a70
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 0x4d1a44
test eax, eax
jne 0x4d1a56
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 0x4d1a6d
movzx eax, byte [eax + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d19d6
inc edx
jmp 0x4d19b0
movzx ecx, byte [eax + 0x581e78]
movzx eax, byte [esi + 0x581e78]
sub ecx, eax
jne 0x4d1a59
inc edx
jmp 0x4d1a07
mov eax, dword [ebp - 0x34]
inc edi
mov ecx, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x34], eax
cmp edi, ecx
jl 0x4d1a00
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp edi, ecx
jl 0x4d1a9d
push dword [ebp + 0x14]
call fcn.004f6750
mov ecx, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x4d1a95
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove edi, eax
cmp edi, ecx
jge 0x4d1b82
mov ecx, dword [ebp + 0x1c]
inc dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
cmp eax, 2
jne 0x4d1aeb
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4d1acd
mov word [ecx + 0x20], di
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4d1b85
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 0x4d1b85
test edi, edi
jns 0x4d1b06
mov byte [ecx + 1], 0x44
mov dword [ecx + 0x2c], ebx
mov word [ecx + 0x20], di
mov dword [ebp - 0x24], 0x4d
jmp 0x4d1b82
test eax, eax
jne 0x4d1b50
cmp edi, 0x20
jl 0x4d1b2b
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 0x4d1b82
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 0x4d1b82
cmp edi, 0x20
jl 0x4d1b5a
or eax, 0xffffffff
jmp 0x4d1b66
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 0x4d1b82
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x4d1bd2
cmp esi, 1
mov esi, dword [ebp + 0x14]
jne 0x4d1bd5
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d1bd5
test byte [edx + 0x18], 0x28
jne 0x4d1bd5
push esi
call fcn.004f6750
add esp, 4
test eax, eax
je 0x4d1bd5
mov eax, dword [edi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4d1bd5
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 0x4d1bd5
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
test byte [edi + 0x18], 0x80
je 0x4d1c67
test ebx, ebx
jne 0x4d1ea0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4d1c72
mov ecx, dword [edi + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x4d1c6f
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4d1c3f
test ebx, ebx
jne 0x4d1c1b
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4d1c3b
test esi, esi
je 0x4d1c3f
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d1c52
test ecx, ecx
jne 0x4d1c64
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4d1c91
inc edx
add edi, 0x14
mov dword [ebp - 0x34], edx
cmp edx, eax
jl 0x4d1c07
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x18]
jmp 0x4d1c6f
movzx eax, byte [eax + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d1c32
inc edx
jmp 0x4d1c23
test ebx, ebx
jne 0x4d1ea0
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4d1d7b
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
jmp 0x4d1605
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 0x4d1cc7
test byte [eax + 4], 0x10
je 0x4d1cc7
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.004ea2c0
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4d1ce6
test dword [ecx + 0x18], 0x4000
je 0x4d1cde
cmp ecx, dword [ebp - 0x28]
je 0x4d1ce6
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4d1cb0
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4d1cf0
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4d1cfa
mov eax, dword [eax + 0x14]
jmp 0x4d1d05
cmp cl, 0x88
jne 0x4d1d26
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4d1d26
push str.row_value_misused
push dword [ebp + 8]
call fcn.004ea2c0
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 0x595377
push edi
push edx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004db750
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4d2000
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4d2000
nop dword [eax]
cmp dword [eax], edi
je 0x4d1d70
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4d1d60
jmp 0x4d2000
mov dword [eax], 0
jmp 0x4d2000
test edx, edx
jne 0x4d1eb2
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4d1dfe
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4d1dd8
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 0x4d1dcd
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4d1dc5
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4d1dd8
and ecx, 0x20000000
jmp 0x4d1dd3
and ecx, 0x40000000
or ecx, 0
je 0x4d1dfe
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004b6bd0
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 0x4d1ea7
mov edx, dword [edi + 8]
mov edi, 0x57b378
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x4d1e41
test ecx, ecx
jne 0x4d1e53
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 + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d1e56
inc esi
jmp 0x4d1e16
mov esi, 0x57b370
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4d1e8b
test ecx, ecx
jne 0x4d1e9d
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 + 0x581e78]
movzx ecx, byte [ecx + 0x581e78]
sub ecx, eax
jne 0x4d1eac
inc edx
jmp 0x4d1e60
cmp ebx, 1
je 0x4d1f17
jmp 0x4d1eaf
mov ebx, dword [ebp - 0xc]
jmp 0x4d1eb2
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 0x4d1ee1
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.004ea2c0
add esp, 0x18
jmp 0x4d1f0a
test edx, edx
je 0x4d1ef9
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.004ea2c0
add esp, 0x14
jmp 0x4d1f0a
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.004ea2c0
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 0x4d1fb5
cmp dword [ebp - 4], 0
je 0x4d1fb5
mov esi, dword [edi + 0x2c]
movsx edx, ax
test byte [esi + 0x24], 0x60
je 0x4d1f8c
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4d1f8c
movzx eax, word [esi + 0x2a]
cmp ax, 0x40
jl 0x4d1f65
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
or edx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x4d1fb5
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 0x4d1fb5
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 0x4d1fc9
push eax
push esi
call fcn.004ed570
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4d1fe1
push eax
push esi
call fcn.004ed570
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 0x4d1cbb
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4d20c8
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4d20c8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d20c8
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4d2050
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d2040
test edx, edx
js 0x4d20c8
cmp byte [edi], 0x4d
jne 0x4d205a
mov esi, dword [esi + 0x78]
jmp 0x4d2080
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4d20c8
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4d2076
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4d2068
jmp 0x4d20c8
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4d20c8
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4d2097
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d20b1
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4d20ac
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4d20b1
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004e13b0
add esp, 0x10
cmp eax, 2
jne 0x4d20c8
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4d20df
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4d20d5
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret