Function at 0x180005780
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 [0x18003a040]
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.18000e000
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.180004e20
mov r14, rax
test rax, rax
je 0x1800059fc
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x180005811
dec rcx
mov rdx, rbx
call fcn.180003460
not eax
xor edx, edx
mov ecx, eax
call fcn.18000bd40
mov r15, rax
test rax, rax
je 0x1800059fc
mov eax, 0x5a4d
cmp word [r15], ax
je 0x180005852
cmp word [r14], ax
jne 0x1800059fc
movsxd rcx, dword [r15 + 0x3c]
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
cmp dword [rcx + r15], 0x4550
je 0x180005873
cmp dword [rsi], 0x4550
jne 0x1800059fc
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.18000dc87
test eax, eax
jne 0x1800059fc
mov r8d, dword [rsi + 0x54]
mov rdx, r14
mov rcx, qword [rbp - 1]
call fcn.180023cc0
movsxd rbx, dword [r14 + 0x3c]
add rbx, 0x11c
mov edi, r13d
cmp r13w, word [rsi + 6]
jae 0x1800058f9
add rbx, r14
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x1800058eb
mov r8d, eax
mov edx, dword [rbx]
add rdx, r14
mov ecx, dword [rbx - 8]
add rcx, qword [rbp - 1]
call fcn.180023cc0
inc edi
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp edi, eax
jb 0x1800058d0
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000dcef
mov r14, r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov ecx, 0x18
call fcn.18000e000
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.18000e000
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.1800064c0
nop
mov rsi, qword [rbp - 0x31]
mov rax, qword [rsi + 8]
mov qword [rax], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x180005995
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000e03c
mov rcx, rbx
test rbx, rbx
jne 0x180005980
mov edx, 0x18
mov rcx, rsi
call fcn.18000e03c
nop
mov rax, qword [rdi + 8]
mov qword [rax], r13
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800059c7
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000e03c
mov rcx, rbx
test rbx, rbx
jne 0x1800059b2
mov edx, 0x18
mov rcx, rdi
call fcn.18000e03c
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.1800050b0
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.180005330
cmp qword [rbp - 1], 0
je 0x180005a1d
mov r9d, 0x8000
lea r8, [rbp + 7]
lea rdx, [rbp - 1]
mov rcx, 0xffffffffffffffff
call fcn.18000dc94
test r14, r14
je 0x180005a31
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000dcef
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180005a3f
call fcn.18000dc7a
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180005a4e
call fcn.18000dc7a
nop
mov rax, qword [r12 + 8]
mov qword [rax], r13
mov rdi, qword [r12]
test rdi, rdi
je 0x180005ac7
nop
mov rsi, qword [rdi]
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x49], rbx
mov rdx, qword [rbx + 0x20]
cmp rdx, 0xf
jbe 0x180005aa2
inc rdx
mov rcx, qword [rbx + 8]
cmp rdx, 0x1000
jb 0x180005a9d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005b01
mov rcx, r8
call fcn.18000e03c
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x48
mov rcx, rdi
call fcn.18000e03c
mov rdi, rsi
test rsi, rsi
jne 0x180005a60
mov edx, 0x48
mov rcx, r12
call fcn.18000e03c
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18000dec0
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.180018440
int3