Function at 0x530a50
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x17e
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], 1
mov dword [ebp - 8], esi
call fcn.0059ea70
mov eax, dword [ebp + 0xc]
push 0x6b7d14
push eax
push 1
push 0x5ca164
call fcn.00552ee0
add esp, 0x1c
test eax, eax
je 0x530e04
jmp 0x530aa0
push 0x5c0580
push 0x6b7d14
call fcn.005a2cdd
mov esi, eax
add esp, 8
test esi, esi
je 0x530dcf
push 0
push esi
call fcn.0052fbc0
add esp, 8
or ebx, eax
cmp eax, 0x10000
jg 0x530c6e
je 0x530c34
cmp eax, 0x20
jg 0x530baa
je 0x530b9e
dec eax
cmp eax, 0xf
ja case.0x530afa.3
movzx ecx, byte [eax + 0x530e28]
jmp dword [ecx*4 + 0x530e10]
lea edx, [edi + 0x7e]
push edx
push esi
call fcn.00530780
add esp, 8
mov esi, eax
or ebx, 0x80000000
jmp case.0x530afa.3
lea eax, [edi + 0x86]
push eax
jmp 0x530b05
lea ecx, [edi + 0xa2]
push ecx
push esi
call fcn.005307e0
mov ecx, dword [edi + 0xaa]
mov esi, eax
and ecx, 0xffff
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 8
mov dword [edi + 0xaa], eax
or ebx, 0x80000000
jmp case.0x530afa.3
lea ecx, [edi + 0x96]
push ecx
push esi
call fcn.005307e0
add esp, 8
mov esi, eax
or ebx, 0x80000000
jmp case.0x530afa.3
lea edx, [edi + 0xae]
push edx
push esi
call fcn.005307e0
add esp, 8
mov esi, eax
or ebx, 0x80000000
jmp case.0x530afa.3
lea eax, [edi + 0x8e]
push eax
jmp 0x530b05
cmp eax, 0x2000
jg 0x530c15
je 0x530be9
sub eax, 0x40
je 0x530bd5
sub eax, 0x40
jne case.0x530afa.3
lea ecx, [edi + 0x6e]
push ecx
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
lea edx, [edi + 0x76]
push edx
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
push 0x5c0580
push 0
call fcn.005a2cdd
mov esi, eax
add esp, 8
test esi, esi
je 0x530d98
push 0
push esi
call fcn.0052fbc0
add esp, 8
mov dword [edi + 0x20], eax
jmp case.0x530afa.3
cmp eax, 0x4000
jne case.0x530afa.3
lea eax, [edi + 0x66]
push eax
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
push 0x5c0580
push 0
call fcn.005a2cdd
mov esi, eax
add esp, 8
test esi, esi
je 0x530d98
push 0
push esi
call fcn.0052fbc0
push 0
lea ecx, [edi + 0x62]
push ecx
push esi
mov dword [edi + 0x5e], eax
call fcn.00530580
add esp, 0x14
mov esi, eax
jmp case.0x530afa.3
cmp eax, 0x400000
jg 0x530d43
je 0x530d10
cmp eax, 0x80000
jg 0x530cd6
je 0x530cc2
cmp eax, 0x20000
je 0x530cae
cmp eax, 0x40000
jne case.0x530afa.3
lea edx, [edi + 0x4e]
push edx
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
lea eax, [edi + 0x56]
push eax
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
lea ecx, [edi + 0x46]
push ecx
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
cmp eax, 0x100000
je 0x530cfc
cmp eax, 0x200000
jne case.0x530afa.3
lea edx, [edi + 0x34]
push edx
push esi
call fcn.00530840
add esp, 8
mov esi, eax
jmp case.0x530afa.3
lea eax, [edi + 0x3e]
push eax
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
push 0x5c0580
push 0
call fcn.005a2cdd
mov esi, eax
add esp, 8
test esi, esi
je 0x530d98
push 0
push esi
call fcn.0052fbc0
push 0
lea ecx, [edi + 0x30]
push ecx
push esi
mov dword [edi + 0x2c], eax
call fcn.00530580
add esp, 0x14
mov esi, eax
jmp case.0x530afa.3
cmp eax, 0x20000000
jg 0x530d8d
je 0x530d7c
cmp eax, 0x800000
je 0x530d6b
cmp eax, 0x10000000
jne case.0x530afa.3
push 0
push 0
call fcn.0052fd40
add esp, 8
mov dword [edi + 0x10], eax
jmp case.0x530afa.3
lea edx, [edi + 0x24]
push edx
push esi
call fcn.00530740
add esp, 8
mov esi, eax
jmp case.0x530afa.3
push 0
push 0
call fcn.0052fd40
add esp, 8
mov dword [edi + 0xc], eax
jmp case.0x530afa.3
cmp eax, 0x40000000
je 0x530daf
test esi, esi
jne 0x530dcf
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0xd1
call fcn.00420e60
add esp, 0x10
jmp 0x530dcf
push 0
call fcn.0052fc80
mov ecx, dword [ebp - 8]
or ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, 0xff60c0
je 0x530dcf
or ebx, 0x80000000
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0x6b7d14
inc eax
push ecx
push eax
push 0x5ca164
mov dword [ebp - 4], eax
call fcn.00552ee0
add esp, 0x10
test eax, eax
jne 0x530aa0
mov edx, dword [ebp - 8]
mov dword [edi], ebx
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], esi
mov dword [edi], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret