Function at 0x4037fe
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x80000000
test eax, eax
je 0x405c31
jmp 0x407823
mov dword [rsp + 0x24], 0
jmp 0x403671
mov eax, 1
jmp 0x405117
mov r8d, 0x4000
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x38]
call qword [rax + 8]
jmp 0x401773
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x70]
div rcx
mov rax, rdx
test rax, rax
jne 0x401773
jmp 0x406e68
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x38], 0
je 0x404d2a
jmp 0x40485f
cmp qword [rsp + 0x38], 0
je 0x404d2a
jmp 0x40485f
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x1c], 0
jne 0x406e68
jmp 0x4040ee
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x4000000
test eax, eax
jne 0x401b54
jmp 0x401dfc
xor eax, eax
jmp 0x405117
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
test eax, eax
je 0x4016bf
jmp 0x406fea
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x40000000
test eax, eax
jne 0x404fb0
jmp 0x407020
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
je 0x4052ed
jmp 0x404a7d
mov dword [rsp + 0x64], pe_nt_image_headers64
mov dword [rsp + 0x68], 0x20
mov dword [rsp + 0x6c], 0x40
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x44]
lea rax, [rax + rcx*8]
movsxd rcx, dword [rsp + 0x48]
jmp 0x40256b
cmp dword [rsp + 0x30], 0
jne 0x406ce3
jmp 0x404cf5
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
jne 0x40193a
jmp 0x406e68
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x405342
jmp 0x4024d3
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x10]
mov dword [rsp + 0x30], eax
jmp 0x404093
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
jne 0x404498
jmp 0x402761
lea rcx, [0x004a59bc]
call fcn.00405897
jmp 0x4025a2
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [0x0048021b]
mov dword [rsp + 0x30], eax
jmp 0x404093
mov dword [rsp + 0x28], 1
jmp 0x401599
add rsp, 0x88
ret
mov eax, 1
jmp 0x405117
mov eax, 1
jmp 0x405117
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 8
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0x10
jmp 0x403bdb
mov dword [rsp + 0x2c], 0
jmp 0x405be4
mov r8d, 0x4000
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [0x0048211e]
jmp 0x401773
mov eax, 1
jmp 0x405117
cmp qword [rsp + 0x38], 0
jne 0x401872
jmp 0x406aa4
mov dword [rsp + 0x24], 1
jmp 0x403671
mov dword [rsp + 0x28], 0
jmp 0x401599
mov dword [rsp + 0x2c], 1
jmp 0x405be4