Function at 0x6d520adc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
push dword [esp + 0x18]
push 0x6d512b4c
call dword [0x6d582984]
push 0x6d511380
call dword [0x6d582984]
add esp, 0x10
cmp dword [0x6d5829b8], 1
mov eax, 0x6d512b38
je 0x6d520b15
mov eax, 0x6d512b28
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esi + 8]
push 0x6d512ab0
call dword [0x6d582984]
push dword [esi + 0x24]
movzx eax, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x20]
push eax
push dword [esi + 0x1c]
push 0x6d512a48
call dword [0x6d582984]
mov eax, dword [esi + 0x24]
xor ebp, ebp
add esp, 0x30
cmp dword [0x6d5829b8], 3
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jne 0x6d520c6f
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x6d520ef6
push 6
mov edi, 0x400
pop ebx
mov esi, 0x6d512a3c
mov eax, dword [esp + 0x18]
xor edx, edx
inc edx
and eax, edx
je 0x6d520c57
mov ecx, dword [esp + 0x14]
shl eax, cl
cmp eax, edi
ja 0x6d520bee
je 0x6d520be5
sub eax, 0
je 0x6d520bde
sub eax, 0x20
je 0x6d520bd7
sub eax, 0x20
je 0x6d520bd3
sub eax, 0x40
je 0x6d520bcc
sub eax, 0x80
je 0x6d520bc5
sub eax, 0x100
jne 0x6d520c18
mov eax, 0x6d512a2c
jmp 0x6d520bea
push 2
mov eax, esi
pop ebp
jmp 0x6d520c49
mov eax, 0x6d512a1c
jmp 0x6d520bea
mov eax, esi
jmp 0x6d520bea
mov eax, 0x6d512a14
jmp 0x6d520c32
mov eax, 0x6d512a0c
jmp 0x6d520c49
mov eax, 0x6d512a00
mov ebp, ebx
jmp 0x6d520c49
cmp eax, 0x800
je 0x6d520c44
cmp eax, 0x8000000
je 0x6d520c3d
cmp eax, 0x10000000
je 0x6d520c36
cmp eax, 0x20000000
je 0x6d520c2d
cmp eax, 0x40000000
je 0x6d520c26
cmp eax, 0x80000000
je 0x6d520c1f
mov eax, 0x6d5125f4
jmp 0x6d520c49
mov eax, 0x6d5129f4
jmp 0x6d520c32
mov eax, 0x6d5129ec
jmp 0x6d520c49
mov eax, 0x6d5129d4
mov ebp, edx
jmp 0x6d520c49
mov eax, 0x6d5129c8
jmp 0x6d520c49
mov eax, 0x6d5129bc
jmp 0x6d520c49
mov eax, 0x6d5129b4
push eax
push 0x6d5129a4
call dword [0x6d582984]
pop ecx
pop ecx
shr dword [esp + 0x18], 1
inc dword [esp + 0x14]
cmp dword [esp + 0x18], 0
jne 0x6d520b81
jmp 0x6d520e95
and dword [esp + 0x18], 0xff8fffff
push 0
pop ebp
je 0x6d520e0f
mov edi, 0x10000
mov ebx, 0x200
mov eax, dword [esp + 0x18]
and eax, 1
je 0x6d520dff
mov ecx, ebp
shl eax, cl
cmp eax, edi
ja 0x6d520d5c
je 0x6d520d52
cmp eax, ebx
ja 0x6d520d0a
je 0x6d520d00
sub eax, 8
je 0x6d520cf6
sub eax, 0x18
je 0x6d520cec
sub eax, 0x20
je 0x6d520ce2
sub eax, 0x40
je 0x6d520cd8
sub eax, 0x80
jne 0x6d520dd0
mov eax, 0x6d51299c
jmp 0x6d520df1
mov eax, 0x6d512988
jmp 0x6d520df1
mov eax, 0x6d512974
jmp 0x6d520df1
mov eax, 0x6d51296c
jmp 0x6d520df1
mov eax, 0x6d512964
jmp 0x6d520df1
mov eax, 0x6d51295c
jmp 0x6d520df1
cmp eax, 0x800
je 0x6d520d48
cmp eax, 0x1000
je 0x6d520d3e
cmp eax, 0x4000
je 0x6d520d34
cmp eax, 0x8000
jne 0x6d520dd0
mov eax, 0x6d512950
jmp 0x6d520df1
mov eax, 0x6d512944
jmp 0x6d520df1
mov eax, 0x6d512938
jmp 0x6d520df1
mov eax, 0x6d512930
jmp 0x6d520df1
mov eax, 0x6d512924
jmp 0x6d520df1
mov ecx, 0x8000000
cmp eax, ecx
ja 0x6d520db4
je 0x6d520dad
cmp eax, 0x20000
je 0x6d520da6
cmp eax, 0x40000
je 0x6d520d9f
cmp eax, 0x80000
je 0x6d520d98
cmp eax, 0x2000000
je 0x6d520d91
cmp eax, 0x4000000
jne 0x6d520dd0
mov eax, 0x6d512918
jmp 0x6d520df1
mov eax, 0x6d51290c
jmp 0x6d520df1
mov eax, 0x6d512904
jmp 0x6d520df1
mov eax, 0x6d5128fc
jmp 0x6d520df1
mov eax, 0x6d5128e8
jmp 0x6d520df1
mov eax, 0x6d5128dc
jmp 0x6d520df1
cmp eax, 0x10000000
je 0x6d520dec
cmp eax, 0x20000000
je 0x6d520de5
cmp eax, 0x40000000
je 0x6d520dde
cmp eax, 0x80000000
je 0x6d520dd7
mov eax, 0x6d5125f4
jmp 0x6d520df1
or dword [esp + 0x14], 4
jmp 0x6d520dff
or dword [esp + 0x14], 2
jmp 0x6d520dff
or dword [esp + 0x14], 1
jmp 0x6d520dff
mov eax, 0x6d5128d4
push eax
push 0x6d5129a4
call dword [0x6d582984]
pop ecx
pop ecx
shr dword [esp + 0x18], 1
inc ebp
cmp dword [esp + 0x18], 0
jne 0x6d520c8a
mov esi, dword [esi + 0x24]
mov eax, 0x700000
and esi, eax
cmp esi, 0x100000
je 0x6d520e7e
cmp esi, 0x200000
je 0x6d520e77
cmp esi, 0x300000
je 0x6d520e70
cmp esi, 0x400000
je 0x6d520e69
cmp esi, 0x500000
je 0x6d520e62
cmp esi, 0x600000
je 0x6d520e5b
cmp esi, eax
je 0x6d520e54
mov eax, 0x6d5128bc
jmp 0x6d520e83
mov eax, 0x6d5128ac
jmp 0x6d520e83
mov eax, 0x6d51289c
jmp 0x6d520e83
mov eax, 0x6d51288c
jmp 0x6d520e83
mov eax, 0x6d51287c
jmp 0x6d520e83
mov eax, 0x6d51286c
jmp 0x6d520e83
mov eax, 0x6d51285c
jmp 0x6d520e83
mov eax, 0x6d51284c
push eax
push 0x6d5129a4
call dword [0x6d582984]
mov ebp, dword [esp + 0x1c]
pop ecx
pop ecx
test bp, bp
je 0x6d520ef6
movzx eax, bp
dec eax
je 0x6d520ee3
dec eax
je 0x6d520edc
dec eax
je 0x6d520ed5
dec eax
je 0x6d520ece
dec eax
je 0x6d520ec7
dec eax
je 0x6d520ec0
dec eax
je 0x6d520eb9
mov eax, 0x6d512834
jmp 0x6d520ee8
mov eax, 0x6d512820
jmp 0x6d520ee8
mov eax, 0x6d512814
jmp 0x6d520ee8
mov eax, 0x6d512804
jmp 0x6d520ee8
mov eax, 0x6d5127f8
jmp 0x6d520ee8
mov eax, 0x6d5127e8
jmp 0x6d520ee8
mov eax, 0x6d5127dc
jmp 0x6d520ee8
mov eax, 0x6d5127cc
push eax
push 0x6d5129a4
call dword [0x6d582984]
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret 8