Function at 0x56b010
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x4c], 0
mov eax, dword [rbp + 0x50]
add eax, 0x3f6
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x40]
add eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4c], eax
jne 0x56b04d
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x54]
add eax, 0x366
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x54]
sub eax, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x44]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x56b072
mov eax, dword [rbp + 0x38]
add eax, dword [rbp + 0x5c]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x54]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], 4
jne 0x56b02d
nop
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x21e
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x20f
mov dword [rbp + 0x40], eax
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x44]
call fcn.00536390
mov eax, dword [rbp + 0x40]
add eax, 0x17b
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x54]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0x10], 0
jne 0x56b0dc
mov byte [rbp + 0x6f], 1
jmp 0x56b633
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0x14]
test eax, 0x2000000
je 0x56b376
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rax]
cmp rax, qword [rcx + 8]
jne 0x56b36d
mov rax, qword [rbp + 0x88]
cmp byte [rax + 0x18], 0
jne 0x56b151
mov rax, qword [rbp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x80]
mov eax, dword [rax + 0x38]
cmp eax, dword [rcx + 0x2c]
je 0x56b151
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
mov eax, dword [rax + 0x10]
xor edx, edx
div dword [rcx + 0x2c]
test edx, edx
jne 0x56b36d
mov dword [rbp + 0x4c], 0
mov eax, dword [rbp + 0x50]
add eax, 0x3f9
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x44]
add eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x50], eax
jne 0x56b17b
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x224
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x54]
sub dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x54]
add eax, 0x38e
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x54]
sub eax, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x48]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x56b1a9
mov eax, dword [rbp + 0x3c]
sub eax, 0x1b9
mov dword [rbp + 0x44], eax
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], 4
jne 0x56b158
nop
mov eax, dword [rbp + 0x58]
add eax, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x4c]
add ecx, dword [rbp + 0x44]
cmp eax, ecx
jge 0x56b1d9
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x40]
lea r8, [rbp + 0x38]
lea r9, [rbp + 0x5c]
call fcn.0053fa30
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x54]
lea r8, [rbp + 0x4c]
lea r9, [rbp + 0x44]
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
call fcn.00569860
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x54], 0
cmp dword [rbp + 0x54], 1
jge 0x56b24d
add dword [rbp + 0x54], 1
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x48]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x40]
add eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x50], eax
jne 0x56b241
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x20c
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x38], eax
cmp dword [rbp + 0x54], 1
jl 0x56b216
nop
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x219
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x50], 0
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x44]
imul eax, eax, 0x7b
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x3c]
sub eax, dword [rbp + 0x5c]
cmp dword [rbp + 0x48], eax
jne 0x56b284
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x58], eax
add dword [rbp + 0x50], 1
cmp dword [rbp + 0x50], 3
jne 0x56b261
nop
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x1f1
mov dword [rbp + 0x40], eax
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x4c]
call fcn.00538540
mov dword [rbp + 0x50], 0
cmp dword [rbp + 0x50], 2
jge 0x56b320
add dword [rbp + 0x50], 1
mov eax, dword [rbp + 0x58]
add eax, 0x35f
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
add ecx, dword [rbp + 0x44]
cmp eax, ecx
jge 0x56b2e7
mov eax, dword [rbp + 0x3c]
sub eax, 0x1aa
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x40]
sub eax, dword [rbp + 0x5c]
cmp eax, dword [rbp + 0x5c]
jge 0x56b2fe
mov eax, dword [rbp + 0x58]
add eax, 0x375
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x48]
add ecx, dword [rbp + 0x40]
cmp eax, ecx
jge 0x56b31a
mov eax, dword [rbp + 0x3c]
sub eax, 0x1a0
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x50], 2
jl 0x56b2bb
nop
mov eax, dword [rbp + 0x58]
cmp eax, dword [rbp + 0x54]
jle 0x56b347
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x48]
lea r8, [rbp + 0x40]
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.0053d670
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x88]
mov edx, dword [rax + 0x10]
mov r8d, 0x4000
call sub.kernel32.dll_VirtualFree_1
mov byte [rbp + 0x6f], 1
jmp 0x56b633
call fcn.0056ac10
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0x14]
test eax, 0x20000000
setne al
mov byte [rbp + 0x63], al
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0x14]
test eax, 0x40000000
setne al
mov byte [rbp + 0x62], al
mov eax, dword [rbp + 0x54]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0x14]
test eax, 0x80000000
setne al
mov byte [rbp + 0x61], al
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
lea rax, [0x00600378]
movzx rcx, byte [rbp + 0x63]
add rcx, rcx
lea rax, [rax + rcx*8]
movzx rcx, byte [rbp + 0x62]
lea rax, [rax + rcx*8]
movzx rcx, byte [rbp + 0x61]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov dword [rbp + 0x50], 0
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x4c]
add eax, 0x2a
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
sub eax, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x44]
sub ecx, dword [rbp + 0x3c]
cmp eax, ecx
jle 0x56b441
mov eax, dword [rbp + 0x38]
add eax, dword [rbp + 0x5c]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x4c]
add eax, 0x40
mov dword [rbp + 0x54], eax
add dword [rbp + 0x50], 1
cmp dword [rbp + 0x50], 3
jne 0x56b419
nop
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0x14]
test eax, 0x4000000
je 0x56b474
or dword [rbp + 0x68], 0x200
mov dword [rbp + 0x50], 0
mov eax, dword [rbp + 0x54]
add eax, 0x36b
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x50]
sub eax, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x44]
sub ecx, dword [rbp + 0x3c]
cmp eax, ecx
jle 0x56b4a3
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x216
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x54]
add eax, 0x360
mov dword [rbp + 0x5c], eax
add dword [rbp + 0x50], 1
cmp dword [rbp + 0x50], 3
jne 0x56b47b
nop
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov dword [rbp + 0x3c], eax
mov dword [rbp + 0x54], 0
cmp dword [rbp + 0x54], 1
jge 0x56b51a
add dword [rbp + 0x54], 1
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x5c], eax
mov eax, 0x76
sub eax, dword [rbp + 0x4c]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
sub eax, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x44]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x56b50b
mov eax, dword [rbp + 0x3c]
sub eax, 0x1e0
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov dword [rbp + 0x38], eax
cmp dword [rbp + 0x54], 1
jl 0x56b4d9
nop
mov dword [rbp + 0x4c], 0
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x50]
add eax, 0x3f3
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x44]
imul eax, eax, 0x78
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x40]
sub eax, dword [rbp + 0x38]
cmp dword [rbp + 0x4c], eax
jne 0x56b555
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
add dword [rbp + 0x4c], 1
cmp dword [rbp + 0x4c], 4
jne 0x56b522
nop
mov eax, dword [rbp + 0x40]
add eax, 0x16e
mov dword [rbp + 0x48], eax
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x44]
call fcn.00536250
mov eax, dword [rbp + 0x3c]
sub eax, 0x19a
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x88]
mov edx, dword [rax + 0x10]
mov r8d, dword [rbp + 0x68]
lea r9, [rbp + 0x64]
call sub.kernel32.dll_VirtualProtect
test eax, eax
setne al
mov byte [rbp + 0x6f], al
mov eax, dword [rbp + 0x54]
sub eax, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x48]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x56b5d5
lea rcx, [rbp + 0x40]
call fcn.00548a50
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov dword [rbp + 0x3c], eax
mov dword [rbp + 0x54], 0
cmp dword [rbp + 0x54], 1
jge 0x56b626
add dword [rbp + 0x54], 1
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x5c], eax
mov eax, 0x96
sub eax, dword [rbp + 0x48]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
sub eax, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x44]
sub ecx, dword [rbp + 0x3c]
cmp eax, ecx
jle 0x56b61a
mov eax, dword [rbp + 0x3c]
shl eax, 9
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x38], eax
cmp dword [rbp + 0x54], 1
jl 0x56b5eb
nop
mov eax, dword [rbp + 0x3c]
sub eax, 0x1ac
mov dword [rbp + 0x44], eax
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret