Function at 0x180034650
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x58], rdx
xor esi, esi
mov dword [rsp + 0x38], esi
test r8d, r8d
jne 0x18003460a
cmp r9d, 2
jne 0x1800344f7
mov r9d, esi
cmp byte [rcx + 0x15], sil
sete r9b
cmp r9d, 1
jne 0x180034511
lea rdx, [rsp + 0x40]
call fcn.180035460
mov r8, rax
mov edi, 1
jmp 0x180034523
lea rdx, [rsp + 0x20]
call fcn.1800359a0
mov r8, rax
mov edi, 2
mov rdx, qword [r8 + 0x10]
mov qword [r8 + 0x10], rsi
mov rcx, qword [r8 + 8]
mov qword [r8 + 8], rsi
mov rax, qword [r8]
mov qword [r8], rsi
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
or edi, 4
test dil, 2
je 0x1800345b2
and edi, 0xfffffffd
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1800345b2
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
call fcn.18000c480
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003459f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003464a
call fcn.180011bec
mov qword [rsp + 0x20], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
test dil, 1
je 0x18003462f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18003462f
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.18000c480
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034644
call fcn.180011bec
jmp 0x18003462f
cmp r8d, 1
jne 0x180034617
call 0x180034650
jmp 0x18003462f
cmp r8d, 2
jne 0x180034624
call fcn.180034d10
jmp 0x18003462f
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.180050bf0
nop
call fcn.180050bf0
nop
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.180011c40
sub rsp, rax
mov rax, qword [0x180087100]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x78], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov edi, r15d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x30], 1
mov ecx, 0x10000
mov r13d, 0x5a4d
movabs r12, 0x7ffffffeffff
nop dword [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x60]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x180034cc6
cmp eax, 0xc0000022
je 0x180034cc6
cmp eax, 0xc000010a
je 0x180034cc6
test eax, eax
jne 0x180034cb5
cmp dword [rbp + 0x80], 0x1000
jne 0x180034cb5
cmp dword [rbp + 0x88], 0x1000000
jne 0x180034cb5
mov rbx, qword [rbp + 0x68]
cmp rdi, rbx
je 0x180034cb5
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xc0]
call fcn.180067cd0
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x8c0]
mov r8d, 2
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
js 0x180034cb1
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
mov rax, qword [rsi]
mov qword [rsp + 0x20], r15
mov r9d, 0x800
lea r8, [rbp + 0xc0]
mov rdx, qword [rbp + 0x68]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x1800347eb
lea rcx, [rbp + 0x28]
call fcn.1800031c0
lea rcx, [rbp + 8]
call fcn.1800031c0
jmp 0x180034cb5
movsxd rax, dword [rbp + 0xfc]
lea rax, [rbp + rax + 0xc0]
cmp word [rbp + 0xc0], r13w
jne 0x180034842
cmp dword [rax], 0x4550
jne 0x180034842
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x180034829
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], r15d
jmp 0x1800348bb
mov edx, 0x20b
cmp cx, dx
jne 0x1800347d4
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 1
jmp 0x1800348bb
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rcx, qword [rbp + 0x68]
cmp rcx, r12
jae 0x1800348b4
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp + 0x90]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
js 0x1800348a8
cmp dword [rbp + 0xb8], 0x1000000
jne 0x1800348a8
mov rcx, qword [rbp + 0x90]
add rcx, qword [rbp + 0xa8]
cmp rcx, r12
jb 0x180034870
jmp 0x1800348b4
mov eax, dword [rbp + 0x90]
sub eax, dword [rbp + 0x68]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], 3
xorps xmm0, xmm0
mov r8, 0xffffffffffffffff
cmp byte [rsi + 0x16], 1
jne 0x1800349cb
mov edx, dword [rbp + 0x8c4]
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800348e4
lea rcx, [rsp + 0x48]
call fcn.180001080
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.180025bd0
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x180034983
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x180034953
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003494e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cf9
call fcn.180011bec
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x180034abf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034aba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cf9
jmp 0x180034aba
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov rdx, qword [rbp + 0x8c8]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800349e0
lea rcx, [rsp + 0x68]
call fcn.180001080
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.180025bd0
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rax, rbx
je 0x180034a7f
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x180034a4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cf3
call fcn.180011bec
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x180034abf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034aba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cf3
call fcn.180011bec
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.180025510
mov rbx, rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x180034b48
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x180034b18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034b13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cff
call fcn.180011bec
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x180034b88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034b83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180034cff
call fcn.180011bec
mov rax, qword [rbp + 0x68]
mov qword [rbp], rax
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x58], 0
mov ecx, 0x70
call fcn.180011ba8
mov rdi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x180034c14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x18006b2b8]
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbp]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rbp + 8]
call fcn.180002b90
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x28]
call fcn.180002b90
mov eax, dword [rbp + 0x48]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp + 0x4c]
mov dword [rbx + 0x4c], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
movzx eax, byte [rbp + 0x58]
mov byte [rbx + 0x58], al
jmp 0x180034c17
mov rdi, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
or dword [rsp + 0x30], 2
lea rax, [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x180034c50
mov qword [rdx], rax
mov qword [rdx + 8], rdi
movdqu xmmword [rsp + 0x38], xmm0
add qword [r14 + 8], 0x10
jmp 0x180034c5e
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.18000c6f0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180034c9f
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180034c9f
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180034c9f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x28]
call fcn.1800031c0
lea rcx, [rbp + 8]
call fcn.1800031c0
mov rdi, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
add rcx, qword [rbp + 0x78]
cmp rcx, r12
jb 0x1800346e0
mov rax, r14
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.180011ca0
mov rbx, qword [rsp + 0x1220]
add rsp, 0x11d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180050bf0
int3
call fcn.180050bf0
int3
call fcn.180050bf0
int3