Function at 0x14001a750
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x18], rcx
mov rax, qword [rbp + 0x88]
mov qword [rbp - 0x38], rax
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14001abd2
movsxd r14, dword [rdx + 0x3c]
add r14, rdx
cmp dword [r14], 0x4550
jne 0x14001abd2
mov eax, 0x20b
cmp word [r14 + 0x18], ax
jne 0x14001abd2
mov ebx, dword [r14 + 0x50]
mov qword [rbp - 0x40], rbx
mov r9d, 4
mov r8d, 0x3000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
test rax, rax
je 0x14001abd2
mov r8d, ebx
mov rcx, r13
call fcn.140018090
mov r12, rax
test rax, rax
je 0x14001abb6
mov r8d, dword [r14 + 0x54]
mov rdx, rsi
mov rcx, r15
call fcn.14016a6b0
movzx ebx, word [r14 + 0x14]
add rbx, 0x24
xor edx, edx
mov edi, edx
cmp dx, word [r14 + 6]
jae 0x14001a854
add rbx, r14
test dword [rbx + 0x18], 0x80
ja 0x14001a843
mov ecx, dword [rbx]
add rcx, r15
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, rsi
call fcn.14016a6b0
inc edi
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp edi, eax
jl 0x14001a826
xor edx, edx
mov rsi, r12
sub rsi, qword [r14 + 0x30]
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x14001a93b
movsxd rax, dword [r15 + 0x3c]
cmp dword [rax + r15], 0x4550
jne 0x14001a93b
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8, rdx
mov qword [rbp - 0x20], rdx
mov ecx, dword [rax + r15 + 0xb0]
test ecx, ecx
jne 0x14001a8a7
movdqu xmmword [rbp - 0x60], xmm0
mov rbx, rdx
jmp 0x14001a946
lea rbx, [r15 + rcx]
mov edi, dword [rax + r15 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x14001a927
mov rdx, qword [rbp - 0x28]
nop
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x14001a922
mov eax, dword [rbx]
add rax, r15
mov qword [rbp - 0x60], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x58], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x50], eax
cmp rdx, r8
je 0x14001a902
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x50]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 0x28], rdx
jmp 0x14001a917
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.14001b920
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x14001a8c0
movdqu xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp - 0x50], xmm0
mov rbx, qword [rbp - 0x50]
jmp 0x14001a946
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rbx, rdx
mov r10, qword [rbp - 0x60]
mov r11, qword [rbp - 0x58]
cmp r10, r11
je 0x14001a9b1
lea r8, [r10 + 0x10]
mov edi, 0xfff
xor r13d, r13d
nop
mov edx, r13d
cmp dword [r8], r13d
jbe 0x14001a9a0
nop dword [rax + rax]
mov ecx, edx
mov rax, qword [r8 - 8]
movzx r9d, word [rax + rcx*2]
movzx eax, r9w
shr ax, 0xc
and r9w, di
cmp ax, 0xa
jne 0x14001a999
movzx ecx, r9w
mov rax, qword [r8 - 0x10]
add qword [rax + rcx], rsi
inc edx
cmp edx, dword [r8]
jb 0x14001a970
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x14001a960
mov r13, qword [rbp - 0x18]
test r10, r10
je 0x14001aa09
sub rbx, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r10
cmp rdx, 0x1000
jb 0x14001aa01
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001abfb
mov rcx, r10
call fcn.14016813c
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.14001b310
mov rdx, rax
mov rcx, r13
call fcn.14001ac10
test al, al
je 0x14001abb6
mov r9, qword [rbp - 0x40]
mov r8, r15
mov rdx, r12
mov rcx, r13
call fcn.140017e70
test al, al
je 0x14001abb6
mov ebx, dword [r14 + 0x28]
add rbx, r12
je 0x14001abb6
lea rcx, [0x1401d0648]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001abb6
lea rdx, str.NtAddAtom
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14001abb6
mov word [rbp - 0x30], 0xb848
mov word [rbp - 0x26], 0xe0ff
mov qword [rbp - 0x2e], rbx
mov eax, 8
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140a064a0], ecx
jle 0x14001ab18
lea rcx, [0x140a064a0]
call fcn.140168748
cmp dword [0x140a064a0], 0xffffffff
jne 0x14001ab18
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 9
lea rdx, str.NtAddAtom
lea rcx, [rbp - 0x60]
call fcn.140011c40
nop
lea r8, [rbp - 0x60]
mov rdx, qword [0x140a044a8]
mov rcx, r13
call fcn.1400184e0
mov qword [0x140a06498], rax
lea rcx, [rbp - 0x60]
call fcn.140010b20
nop
lea rcx, [0x140a064a0]
call fcn.1401686e8
mov r8, qword [0x140a06498]
test r8, r8
je 0x14001abb6
mov r9d, ntohs
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.140017e70
test al, al
je 0x14001abb6
movzx eax, byte [rbp - 0x30]
cmp byte [rbp - 0x18], al
jne 0x14001ab62
movzx eax, byte [rbp - 0x2f]
cmp byte [rbp - 0x17], al
jne 0x14001ab62
movzx eax, byte [rbp - 0x26]
cmp byte [rbp - 0xe], al
jne 0x14001ab62
movzx eax, byte [rbp - 0x25]
cmp byte [rbp - 0xd], al
je 0x14001abb6
lea r8, [rbp - 0x30]
mov rdx, qword [0x140a06498]
mov rcx, r13
call fcn.140017f10
test al, al
je 0x14001abb6
xor edx, edx
mov rcx, r12
call rdi
mov ebx, eax
lea r8, [rbp - 0x18]
mov rdx, qword [0x140a06498]
mov rcx, r13
call fcn.140017f10
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14001aba0
mov dword [rax], ebx
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, r12
jmp 0x14001abd4
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, r12
mov rcx, r13
call fcn.1400182c0
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140167e90
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401778e0
int3