Function at 0x180005790
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x180037010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
xor r13d, r13d
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea ecx, [r13 + 0x48]
call fcn.18000d790
mov r12, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.180004e30
mov r14, rax
test rax, rax
je 0x180005a0c
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x180005821
dec rcx
mov rdx, rbx
call fcn.1800037b0
not eax
xor edx, edx
mov ecx, eax
call fcn.180009090
mov r15, rax
test rax, rax
je 0x180005a0c
mov eax, 0x5a4d
cmp word [r15], ax
je 0x180005862
cmp word [r14], ax
jne 0x180005a0c
movsxd rcx, dword [r15 + 0x3c]
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
cmp dword [rcx + r15], 0x4550
je 0x180005883
cmp dword [rsi], 0x4550
jne 0x180005a0c
mov eax, dword [rsi + 0x50]
mov qword [rbp + 7], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, [rbp - 1]
lea rcx, [r8 - 1]
call fcn.18000d417
test eax, eax
jne 0x180005a0c
mov r8d, dword [rsi + 0x54]
mov rdx, r14
mov rcx, qword [rbp - 1]
call fcn.1800131f0
movsxd rbx, dword [r14 + 0x3c]
add rbx, 0x11c
mov edi, r13d
cmp r13w, word [rsi + 6]
jae 0x180005909
add rbx, r14
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x1800058fb
mov r8d, eax
mov edx, dword [rbx]
add rdx, r14
mov ecx, dword [rbx - 8]
add rcx, qword [rbp - 1]
call fcn.1800131f0
inc edi
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp edi, eax
jb 0x1800058e0
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000d47f
mov r14, r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov ecx, 0x18
call fcn.18000d790
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov ecx, 0x18
call fcn.18000d790
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
call fcn.1800067a0
nop
mov rsi, qword [rbp - 0x31]
mov rax, qword [rsi + 8]
mov qword [rax], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800059a5
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000d7cc
mov rcx, rbx
test rbx, rbx
jne 0x180005990
mov edx, 0x18
mov rcx, rsi
call fcn.18000d7cc
nop
mov rax, qword [rdi + 8]
mov qword [rax], r13
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800059d7
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000d7cc
mov rcx, rbx
test rbx, rbx
jne 0x1800059c2
mov edx, 0x18
mov rcx, rdi
call fcn.18000d7cc
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.1800050c0
mov r9, qword [rbp - 0x11]
add r9, 0x28
cmp byte [rbp - 9], 1
cmovne r9, r13
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.180005340
cmp qword [rbp - 1], 0
je 0x180005a2d
mov r9d, 0x8000
lea r8, [rbp + 7]
lea rdx, [rbp - 1]
mov rcx, 0xffffffffffffffff
call fcn.18000d424
test r14, r14
je 0x180005a41
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000d47f
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180005a4f
call fcn.18000d40a
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180005a5e
call fcn.18000d40a
nop
mov rax, qword [r12 + 8]
mov qword [rax], r13
mov rdi, qword [r12]
test rdi, rdi
je 0x180005ad6
mov rsi, qword [rdi]
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x49], rbx
mov rdx, qword [rbx + 0x20]
cmp rdx, 0x10
jb 0x180005ab1
inc rdx
mov rcx, qword [rbx + 8]
cmp rdx, 0x1000
jb 0x180005aac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005b10
mov rcx, r8
call fcn.18000d7cc
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x48
mov rcx, rdi
call fcn.18000d7cc
mov rdi, rsi
test rsi, rsi
jmp 0x180005a6d
mov edx, 0x48
mov rcx, r12
call fcn.18000d7cc
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18000d650
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180017420
int3