Function at 0x180001250
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x378
mov rax, qword [0x180026070]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x80], 0
call fcn.180004ed0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov dword [rax], 0x68
mov dword [rsp + 0x90], 0x10000b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x388]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800012e4
jmp 0x180001593
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x388]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x180001317
jmp 0x180001593
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x380]
call fcn.1800050a0
mov byte [rsp + 0x21], al
mov rcx, qword [rsp + 0x38]
call fcn.180009694
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18000134f
jmp 0x180001593
mov edx, 5
lea rcx, [0x18001b4b4]
call fcn.1800015c0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
call fcn.180009694
mov edx, 0x14
lea rcx, [0x18001b510]
call fcn.1800015c0
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.180004890
mov qword [0x180027b40], rax
cmp qword [0x180027b40], 0
jne 0x1800013b8
jmp 0x180001593
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x68]
call qword [0x180027b40]
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x34]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x68]
call fcn.180004fb0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180001403
jmp 0x180001593
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x34]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x54]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x388]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, rcx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.180004f40
movzx eax, al
test eax, eax
je 0x180001455
jmp 0x180001593
mov dword [rsp + 0x30], 0
jmp 0x180001469
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x180001503
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
add rcx, qword [rsp + 0x388]
lea rax, [rcx + rax + 0xf8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x34]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0xc]
mov eax, eax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x388]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, rcx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.180004f40
movzx eax, al
test eax, eax
je 0x1800014fe
jmp 0x180001593
jmp 0x18000145f
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x18000151e
jmp 0x180001593
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x34]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x28]
mov dword [rsp + 0x140], eax
mov rax, qword [rsp + 0x28]
add rax, 0x34
mov ecx, dword [rsp + 0x134]
add ecx, 8
mov ecx, ecx
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x68]
call fcn.180004ef0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.180005010
movzx eax, al
test eax, eax
je 0x180001576
jmp 0x180001593
mov rcx, qword [rsp + 0x70]
call fcn.180005060
movzx eax, al
test eax, eax
je 0x18000158b
jmp 0x180001593
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.180009fc0
add rsp, 0x378
ret