Function at 0x180006360
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [0x180057080]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x38], 0
mov eax, 8
mov word [rsp + 0x40], ax
mov qword [rsp + 0xb0], 0
mov byte [rsp + 0x24], 1
mov byte [rsp + 0x25], 0x62
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180006423
xor eax, eax
jmp 0x180006717
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0x4550
je 0x18000649d
mov rax, qword [rsp + 0x38]
jmp 0x180006717
lea rax, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x70]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0x210], 0
jne 0x1800064eb
mov rax, qword [rsp + 0x38]
jmp 0x180006717
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x210]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x27], 1
mov dword [rsp + 0x90], 7
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x170]
lea rcx, str.OWApLVkwlidhvqSnTYBKDZygHQjEJMGoPCIRaFbrstemXxz
mov rdi, rax
mov rsi, rcx
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xe0], 0
mov byte [rsp + 0x28], 0x6f
lea rax, [rsp + 0x108]
lea rcx, str.byWiXMsGr
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, 4
mov word [rsp + 0x58], ax
lea rax, [rsp + 0xa8]
lea rcx, str.GpfJ
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0xe8], 0
mov byte [rsp + 0x29], 0x6b
mov dword [rsp + 0x94], 4
mov dword [rsp + 0x20], 0
jmp 0x180006623
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180006712
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x2c8]
mov rcx, rax
call fcn.1800270b8
test eax, eax
jne 0x18000670d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x2a], 1
lea rax, [rsp + 0x130]
lea rcx, str.yQZdPsjagDNzGXYhAwnv
mov rdi, rax
mov rsi, rcx
mov ecx, 0x15
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x2b], 0x57
mov eax, 8
mov word [rsp + 0x5c], ax
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0x78], 9
mov qword [rsp + 0xf8], 2
jmp 0x180006712
jmp 0x180006619
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.18001c960
add rsp, 0x2a8
pop rdi
pop rsi
ret