Function at 0x402f00
Capabilities:
Inspect section memory permissions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40388e
push rbp
mov rbp, rsp
sub rsp, 0x58
lea rax, [0x0067e560]
call fcn.0040ee40
mov qword [rax + 8], 3
lea rcx, [0x006d9d74]
mov qword [rax], rcx
lea rcx, [0x00befa01]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x28], 3
lea rcx, [0x006d9d77]
mov qword [rax + 0x20], rcx
lea rcx, [0x00befa00]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x48], 4
lea rcx, [0x006d9f65]
mov qword [rax + 0x40], rcx
lea rcx, [0x00befa09]
mov qword [rax + 0x50], rcx
mov qword [rax + 0x68], 9
lea rcx, [0x006daf81]
mov qword [rax + 0x60], rcx
lea rcx, [0x00befa0c]
mov qword [rax + 0x70], rcx
mov qword [rax + 0x88], 6
lea rcx, [0x006da3f2]
mov qword [rax + 0x80], rcx
lea rcx, [0x00befa0e]
mov qword [rax + 0x90], rcx
mov qword [rax + 0xa8], 3
lea rcx, [0x006d9d7a]
mov qword [rax + 0xa0], rcx
lea rcx, [0x00befa0f]
mov qword [rax + 0xb0], rcx
mov qword [0x00ba65a8], 6
mov qword [0x00ba65b0], 6
cmp dword [0x00bef3c0], 0
je 0x403015
call fcn.00476240
mov qword [r11], rax
mov rcx, qword [0x00ba65a0]
mov qword [r11 + 8], rcx
mov qword [0x00ba65a0], rax
nop dword [rax]
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x48], eax
nop
cmp eax, 2
jge 0x403203
mov rcx, qword [0x00ba65b0]
mov rbx, qword [0x00ba65a8]
add rbx, 5
mov rdx, qword [0x00ba65a0]
cmp rcx, rbx
jae 0x4030ac
mov rax, rdx
mov edi, 5
lea rsi, [0x006b5ba0]
call fcn.00470300
mov qword [0x00ba65b0], rcx
cmp dword [0x00bef3c0], 0
je 0x40309e
call fcn.00476240
mov qword [r11], rax
mov rdx, qword [0x00ba65a0]
mov qword [r11 + 8], rdx
mov qword [0x00ba65a0], rax
mov rdx, rax
mov eax, dword [rsp + 0x48]
mov qword [0x00ba65a8], rbx
lea r8, [rbx - 5]
shl r8, 5
mov qword [rdx + r8 + 8], 6
mov word [rdx + r8 + 0x18], 0
cmp dword [0x00bef3c0], 0
je 0x40313c
mov r9, qword [rdx + r8]
call fcn.00476300
mov qword [r11], r9
mov r9, qword [rdx + r8 + 0x10]
mov qword [r11 + 8], r9
mov r9, qword [rdx + r8 + 0x20]
mov qword [r11 + 0x10], r9
mov r9, qword [rdx + r8 + 0x30]
mov qword [r11 + 0x18], r9
mov r9, qword [rdx + r8 + 0x40]
mov qword [r11 + 0x20], r9
mov r9, qword [rdx + r8 + 0x50]
mov qword [r11 + 0x28], r9
mov r9, qword [rdx + r8 + 0x60]
mov qword [r11 + 0x30], r9
mov r9, qword [rdx + r8 + 0x70]
mov qword [r11 + 0x38], r9
mov r9, qword [rdx + r8 + 0x80]
call fcn.00476240
mov qword [r11], r9
mov r9, qword [rdx + r8 + 0x90]
mov qword [r11 + 8], r9
lea r9, [0x006da3f8]
mov qword [rdx + r8], r9
lea r9, [0x00befa0d]
mov qword [rdx + r8 + 0x10], r9
mov qword [rdx + r8 + 0x28], 4
mov word [rdx + r8 + 0x38], 0
lea r9, [0x006d9f69]
mov qword [rdx + r8 + 0x20], r9
lea r9, [0x00befa10]
mov qword [rdx + r8 + 0x30], r9
mov qword [rdx + r8 + 0x48], 5
mov word [rdx + r8 + 0x58], 0
lea r9, [0x006da16f]
mov qword [rdx + r8 + 0x40], r9
lea r9, [0x00befa12]
mov qword [rdx + r8 + 0x50], r9
mov qword [rdx + r8 + 0x68], 5
mov word [rdx + r8 + 0x78], 0
lea r9, [0x006da174]
mov qword [rdx + r8 + 0x60], r9
lea r9, [0x00befa13]
mov qword [rdx + r8 + 0x70], r9
mov qword [rdx + r8 + 0x88], 5
mov word [rdx + r8 + 0x98], 0
lea r9, [0x006da179]
mov qword [rdx + r8 + 0x80], r9
lea r9, [0x00befa11]
mov qword [rdx + r8 + 0x90], r9
cmp eax, 3
jge 0x4033ca
mov rcx, qword [0x00ba65b0]
mov rbx, qword [0x00ba65a8]
add rbx, 5
mov rdx, qword [0x00ba65a0]
cmp rcx, rbx
jae 0x40326f
mov rax, rdx
mov edi, 5
lea rsi, [0x006b5ba0]
call fcn.00470300
mov qword [0x00ba65b0], rcx
cmp dword [0x00bef3c0], 0
je 0x403261
call fcn.00476240
mov qword [r11], rax
mov rdx, qword [0x00ba65a0]
mov qword [r11 + 8], rdx
mov qword [0x00ba65a0], rax
mov rdx, rax
mov eax, dword [rsp + 0x48]
mov qword [0x00ba65a8], rbx
lea r8, [rbx - 5]
shl r8, 5
mov qword [rdx + r8 + 8], 3
mov word [rdx + r8 + 0x18], 0
cmp dword [0x00bef3c0], 0
je 0x403303
mov r9, qword [rdx + r8]
nop dword [rax]
call fcn.00476300
mov qword [r11], r9
mov r9, qword [rdx + r8 + 0x10]
mov qword [r11 + 8], r9
mov r9, qword [rdx + r8 + 0x20]
mov qword [r11 + 0x10], r9
mov r9, qword [rdx + r8 + 0x30]
mov qword [r11 + 0x18], r9
mov r9, qword [rdx + r8 + 0x40]
mov qword [r11 + 0x20], r9
mov r9, qword [rdx + r8 + 0x50]
mov qword [r11 + 0x28], r9
mov r9, qword [rdx + r8 + 0x60]
mov qword [r11 + 0x30], r9
mov r9, qword [rdx + r8 + 0x70]
mov qword [r11 + 0x38], r9
mov r9, qword [rdx + r8 + 0x80]
call fcn.00476240
mov qword [r11], r9
mov r9, qword [rdx + r8 + 0x90]
mov qword [r11 + 8], r9
lea r9, [0x006d9d7d]
mov qword [rdx + r8], r9
lea r9, [0x00befa02]
mov qword [rdx + r8 + 0x10], r9
mov qword [rdx + r8 + 0x28], 4
mov word [rdx + r8 + 0x38], 0
lea r9, [0x006d9f6d]
mov qword [rdx + r8 + 0x20], r9
lea r9, [0x00befa03]
mov qword [rdx + r8 + 0x30], r9
mov qword [rdx + r8 + 0x48], 4
mov word [rdx + r8 + 0x58], 0
lea r9, [0x006d9f71]
mov qword [rdx + r8 + 0x40], r9
lea r9, [0x00befa07]
mov qword [rdx + r8 + 0x50], r9
mov qword [rdx + r8 + 0x68], 4
mov word [rdx + r8 + 0x78], 0
lea r9, [0x006d9f75]
mov qword [rdx + r8 + 0x60], r9
lea r9, [0x00befa08]
mov qword [rdx + r8 + 0x70], r9
mov qword [rdx + r8 + 0x88], 3
mov word [rdx + r8 + 0x98], 0
lea r9, [0x006d9d80]
mov qword [rdx + r8 + 0x80], r9
lea r9, [0x00befa0a]
mov qword [rdx + r8 + 0x90], r9
cmp eax, 4
jge 0x4034fc
mov rcx, qword [0x00ba65b0]
mov rbx, qword [0x00ba65a8]
add rbx, 3
mov rax, qword [0x00ba65a0]
cmp rcx, rbx
jae 0x40342f
mov edi, 3
lea rsi, [0x006b5ba0]
nop dword [rax]
call fcn.00470300
mov qword [0x00ba65b0], rcx
cmp dword [0x00bef3c0], 0
je 0x403428
call fcn.00476240
mov qword [r11], rax
mov rcx, qword [0x00ba65a0]
mov qword [r11 + 8], rcx
mov qword [0x00ba65a0], rax
mov qword [0x00ba65a8], rbx
lea rcx, [rbx - 3]
shl rcx, 5
mov qword [rax + rcx + 8], 7
mov word [rax + rcx + 0x18], 0
cmp dword [0x00bef3c0], 0
je 0x403495
mov rdx, qword [rax + rcx]
nop dword [rax + rax]
call fcn.004762c0
mov qword [r11], rdx
mov rdx, qword [rax + rcx + 0x10]
mov qword [r11 + 8], rdx
mov rdx, qword [rax + rcx + 0x20]
mov qword [r11 + 0x10], rdx
mov rdx, qword [rax + rcx + 0x30]
mov qword [r11 + 0x18], rdx
mov rdx, qword [rax + rcx + 0x40]
mov qword [r11 + 0x20], rdx
mov rdx, qword [rax + rcx + 0x50]
mov qword [r11 + 0x28], rdx
lea rdx, [0x006da6f7]
mov qword [rax + rcx], rdx
lea rdx, [0x00befa04]
mov qword [rax + rcx + 0x10], rdx
mov qword [rax + rcx + 0x28], 8
mov word [rax + rcx + 0x38], 0
lea rdx, [0x006dab19]
mov qword [rax + rcx + 0x20], rdx
lea rdx, [0x00befa05]
mov qword [rax + rcx + 0x30], rdx
mov qword [rax + rcx + 0x48], 8
mov word [rax + rcx + 0x58], 0
lea rdx, [0x006dab21]
mov qword [rax + rcx + 0x40], rdx
lea rdx, [0x00befa06]
mov qword [rax + rcx + 0x50], rdx
mov qword [rsp], 0
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 8]
nop
test eax, eax
je 0x403888
mov dword [rsp + 0x44], eax
mov eax, 0x80000000
mov qword [rsp], rax
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 8]
mov dword [0x00beef78], eax
mov qword [rsp], 1
nop
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x4c], eax
mov ebx, 1
call fcn.004038a0
mov byte [0x00befa10], al
mov eax, dword [rsp + 0x4c]
mov ebx, 2
call fcn.004038a0
mov byte [0x00befa0c], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x200
call fcn.004038a0
mov byte [0x00befa11], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x80000
call fcn.004038a0
mov byte [0x00befa12], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x100000
call fcn.004038a0
mov byte [0x00befa13], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x800000
call fcn.004038a0
mov byte [0x00befa0d], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x2000000
nop dword [rax]
call fcn.004038a0
mov byte [0x00befa00], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x8000000
call fcn.004038a0
mov byte [0x00befa0b], al
mov eax, dword [rsp + 0x4c]
mov ebx, 0x1000
call fcn.004038a0
test al, al
je 0x40363a
movzx ecx, byte [0x00befa0b]
jmp 0x40363c
xor ecx, ecx
mov byte [0x00befa0a], cl
cmp byte [0x00befa0b], 0
jne 0x403654
xor eax, eax
xor ecx, ecx
jmp 0x4036ef
call fcn.004038e0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x54], eax
mov ebx, 2
call fcn.004038a0
nop dword [rax]
test al, al
jne 0x403688
xor eax, eax
jmp 0x403696
mov eax, dword [rsp + 0x54]
mov ebx, 4
call fcn.004038a0
mov byte [rsp + 0x43], al
test al, al
jne 0x4036a2
xor ecx, ecx
jmp 0x4036b7
mov eax, dword [rsp + 0x54]
mov ebx, 0x20
call fcn.004038a0
mov ecx, eax
movzx eax, byte [rsp + 0x43]
test cl, cl
jne 0x4036bf
xor ecx, ecx
jmp 0x4036ef
mov eax, dword [rsp + 0x54]
mov ebx, 0x40
call fcn.004038a0
test al, al
jne 0x4036da
movzx eax, byte [rsp + 0x43]
xor ecx, ecx
jmp 0x4036ef
mov eax, dword [rsp + 0x54]
mov ebx, pe_nt_image_headers64
call fcn.004038a0
mov ecx, eax
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x42], cl
mov byte [rsp + 0x43], al
mov ebx, 0x10000000
mov eax, dword [rsp + 0x4c]
call fcn.004038a0
movzx ecx, byte [rsp + 0x43]
and eax, ecx
mov byte [0x00befa02], al
mov edx, dword [rsp + 0x44]
cmp edx, 7
jb 0x403882
mov qword [rsp], 7
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x50], eax
mov ebx, 8
call fcn.004038a0
mov byte [0x00befa07], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x20
nop
call fcn.004038a0
movzx ecx, byte [rsp + 0x43]
and ecx, eax
mov byte [0x00befa03], cl
mov eax, dword [rsp + 0x50]
mov ebx, 0x100
nop dword [rax + rax]
call fcn.004038a0
mov byte [0x00befa08], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x200
call fcn.004038a0
mov byte [0x00befa09], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x80000
call fcn.004038a0
mov byte [0x00befa01], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x20000000
nop dword [rax]
call fcn.004038a0
mov byte [0x00befa0f], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x10000
call fcn.004038a0
movzx ecx, byte [rsp + 0x42]
and ecx, eax
mov byte [0x00befa04], cl
test cl, cl
je 0x403812
mov eax, dword [rsp + 0x50]
mov ebx, 0x40000000
call fcn.004038a0
mov byte [0x00befa05], al
mov eax, dword [rsp + 0x50]
mov ebx, 0x80000000
call fcn.004038a0
mov byte [0x00befa06], al
mov eax, 0x80000000
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp dword [rsp + 8], 0x80000001
nop
jae 0x403848
add rsp, 0x58
pop rbp
ret
mov eax, 0x80000001
mov qword [rsp], rax
call fcn.004038c0
xorps xmm15, xmm15
mov r14, qword [0x00bef178]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x14]
mov ebx, 0x8000000
call fcn.004038a0
mov byte [0x00befa0e], al
add rsp, 0x58
pop rbp
ret
add rsp, 0x58
pop rbp
ret
add rsp, 0x58
pop rbp
ret
call fcn.00474300
jmp fcn.00402f00