Function at 0x1400035b0
Capabilities:
Access pe header

Disassembly:
push rdi
sub rsp, 0xd0
mov rax, qword [0x140329ac0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x20], 0
lea rcx, [0x14011bc10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
lea rax, [0x14011bc24]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x30], 0
jne 0x140003601
xor eax, eax
jmp 0x1400038fe
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0x18
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov edx, 0x18
lea rcx, [rsp + 0x90]
call fcn.140002eb0
nop
mov r9b, 1
xor r8d, r8d
mov edx, 2
mov ecx, 6
call fcn.140003010
test eax, eax
je 0x1400036b0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
jmp 0x1400037cc
xor r8d, r8d
mov edx, 3
mov ecx, 6
call fcn.140002f30
test eax, eax
je 0x1400036eb
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str..mrdata
mov qword [rsp + 0x78], rax
jmp 0x1400037cc
call fcn.140002ee0
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x40], rax
je 0x1400037b4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x30]
call fcn.140003200
test eax, eax
je 0x140003752
jmp 0x140003717
cmp qword [rsp + 0x20], 0
je 0x140003797
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.140002e60
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400037a5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
jmp 0x140003717
cmp qword [rsp + 0x20], 0
je 0x1400037cc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x20], 0
je 0x1400037ec
cmp qword [rsp + 0x28], 0
je 0x1400037ec
cmp qword [rsp + 0x30], 0
je 0x1400037ec
cmp qword [rsp + 0x58], 0
jne 0x1400037f3
xor eax, eax
jmp 0x1400038fe
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
je 0x140003832
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14000383b
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
mov dword [rsp + 0xa4], eax
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
call fcn.140003240
test eax, eax
jl 0x1400038fc
mov rax, qword [rsp + 0xb8]
sub rax, 0x10
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov edx, 2
mov ecx, 6
call fcn.140002f30
test eax, eax
je 0x1400038d7
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0x200
jne 0x1400038d7
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
jne 0x1400038d7
mov rax, qword [rsp + 0x38]
jmp 0x1400038fe
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0x200
jne 0x1400038f7
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
jne 0x1400038f7
mov rax, qword [rsp + 0x38]
jmp 0x1400038fe
jmp 0x140003873
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140055500
add rsp, 0xd0
pop rdi
ret