Function at 0x14013c910
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, rcx
lea rax, str.xxxxxx____xxxxx____xxx____xxxxx____x____xx_x
mov qword [rsp + 0x20], rax
lea r9, [0x140444ad8]
mov r8, qword [0x1404e9b10]
lea rdx, [0x140444b08]
call fcn.14013ce30
mov qword [0x1404e9b88], rax
lea rax, str.xxxxxx
mov qword [rsp + 0x20], rax
lea r9, [0x140444b18]
mov r8, qword [0x1404e9b10]
lea rdx, [0x140444b20]
mov rcx, rdi
call fcn.14013ce30
mov qword [0x1404e9b90], rax
mov rdx, qword [0x1404e9b88]
test rdx, rdx
jne 0x14013c9da
lea rax, str.xxx____xxxxx____xxx____x____x
mov qword [rsp + 0x20], rax
lea r9, [0x140444b48]
mov r8, qword [0x1404e9b10]
lea rdx, [0x140444b68]
mov rcx, rdi
call fcn.14013ce30
mov qword [0x1404e9b88], rax
test rax, rax
je 0x14013ce16
lea rdx, [rax + 0x10]
mov rax, qword [0x1404e9b90]
jmp 0x14013c9de
add rdx, 0x1c
mov qword [0x1404e9b88], rdx
test rax, rax
je 0x14013ce16
mov r9d, 7
lea r8d, [r9 - 4]
mov rcx, rdi
call fcn.14013c400
mov r15, rax
mov r9d, 0xa
lea r8d, [r9 - 4]
mov rdx, qword [0x1404e9b90]
mov rcx, rdi
call fcn.14013c400
mov r14, rax
mov rdx, r15
mov rcx, rdi
call fcn.14013c490
test al, al
je 0x14013ce16
lea rcx, [rbp + 0xf]
call fcn.14013acf0
nop
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova r9, qword [rbp + 0xf]
mov eax, 0x5a4d
xor ebx, ebx
cmp word [0x1404845f0], ax
je 0x14013ca5f
mov r8d, ebx
jmp 0x14013ca7b
movsxd r8, dword [0x14048462c]
lea rax, [0x1404845f0]
add r8, rax
cmp dword [r8], 0x4550
cmovne r8, rbx
mov r8d, dword [r8 + 8]
mov rdx, r14
mov rcx, rdi
call fcn.14013c730
mov rsi, rax
test rax, rax
je 0x14013cdfb
add rax, 8
je 0x14013cdfb
mov qword [rbp - 9], 8
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14013cdfb
mov qword [rbp - 9], 8
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x7f]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14013cdfb
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x14013cdfb
mov qword [rbp - 9], 8
lea rcx, [rbp + 0x7f]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14013cdfb
mov rax, qword [rbp + 0x7f]
add rax, 8
je 0x14013cdfb
mov qword [rbp - 9], 8
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14013cdfb
test r14, r14
je 0x14013cdfb
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1404e9da8], eax
jle 0x14013cd10
lea rcx, [0x1404e9da8]
call fcn.1401c726c
cmp dword [0x1404e9da8], 0xffffffff
jne 0x14013cd10
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov ecx, 0x20
call fcn.1401c714c
mov rdx, rax
mov qword [rbp - 0x11], rax
movdqa xmm0, xmmword [0x14044a740]
movdqu xmmword [rbp - 1], xmm0
movups xmm1, xmmword [str.RtlDeleteElementGenericTableAvl]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x140444a78]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140444a80]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140444a84]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x140444a86]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
lea r8, [rbp - 0x11]
mov rdx, qword [0x1404e9b10]
mov rcx, rdi
call fcn.14013b770
mov qword [0x1404e9d38], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x14013ccf3
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013ccee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013ccee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c7190
movdqa xmm0, xmmword [0x14044a6e0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
lea rcx, [0x1404e9da8]
call fcn.1401c7200
cmp qword [0x1404e9d38], 0
je 0x14013cdfb
mov qword [rsp + 0x20], rsi
mov r9, r14
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call fcn.140140020
test al, al
je 0x14013cdfb
cmp byte [rbp + 0x6f], 0
je 0x14013cdfb
mov dword [rbp + 0x77], ebx
lea rsi, [r14 + 0x40]
test rsi, rsi
je 0x14013cdec
mov qword [rbp - 9], 4
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x77]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x14013cdec
dec eax
mov dword [rbp + 0x77], eax
mov qword [rbp - 9], 4
lea rax, [rbp + 0x77]
mov qword [rbp - 0x11], rax
mov qword [rbp - 1], rsi
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, r15
mov rcx, rdi
call fcn.14013c5f0
mov bl, 1
jmp 0x14013ce08
mov rdx, r15
mov rcx, rdi
call fcn.14013c5f0
xor bl, bl
lea rcx, [rbp + 0xf]
call fcn.14013ec20
movzx eax, bl
jmp 0x14013ce18
xor al, al
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret