Function at 0x7ff645c2dd00
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff645d45080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 0x10
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x7ff645d478e8], eax
jle 0x7ff645c2dd73
lea rcx, [0x7ff645d478e8]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d478e8], 0xffffffff
jne 0x7ff645c2dd73
mov r8d, ebx
lea rcx, [0x7ff645d1e258]
xor edx, edx
call qword [sym.imp.kernel32.dll_LoadLibraryExA]
lea rcx, [0x7ff645d478e8]
mov qword [0x7ff645d478e0], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d47904], eax
jle 0x7ff645c2ddac
lea rcx, [0x7ff645d47904]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d47904], 0xffffffff
jne 0x7ff645c2ddac
mov rax, qword [0x7ff645d478e0]
lea rcx, [0x7ff645d47904]
mov qword [0x7ff645d47958], rax
call fcn.7ff645cf1284
mov rax, qword [0x7ff645d47958]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff645c2e045
mov eax, dword [rdi]
cmp dword [0x7ff645d47918], eax
jle 0x7ff645c2de05
lea rcx, [0x7ff645d47918]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d47918], 0xffffffff
jne 0x7ff645c2de05
mov rax, qword [0x7ff645d47958]
lea rcx, [0x7ff645d47918]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x7ff645d478e0]
mov qword [0x7ff645d47970], rdx
call fcn.7ff645cf1284
mov rax, qword [0x7ff645d47970]
cmp dword [rax], 0x4550
jne 0x7ff645c2e045
mov eax, dword [rdi]
cmp dword [0x7ff645d47908], eax
mov qword [rsp + 0x70], rsi
jle 0x7ff645c2de5c
lea rcx, [0x7ff645d47908]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d47908], 0xffffffff
jne 0x7ff645c2de5c
mov rax, qword [0x7ff645d47970]
lea rcx, [0x7ff645d47908]
add rax, 0x108
mov qword [0x7ff645d479c0], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d479b0], eax
jle 0x7ff645c2de95
lea rcx, [0x7ff645d479b0]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d479b0], 0xffffffff
jne 0x7ff645c2de95
mov rax, qword [0x7ff645d479c0]
lea rcx, [0x7ff645d479b0]
mov qword [0x7ff645d478c8], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d479b4], eax
jle 0x7ff645c2ded2
lea rcx, [0x7ff645d479b4]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d479b4], 0xffffffff
jne 0x7ff645c2ded2
mov rax, qword [0x7ff645d47970]
lea rcx, [0x7ff645d479b4]
movzx edx, word [rax + 6]
mov word [0x7ff645d478d8], dx
call fcn.7ff645cf1284
xchg byte [0x7ff645d47914], bl
mov rdx, qword [0x7ff645d479c0]
xor esi, esi
test bl, bl
jne 0x7ff645c2df46
movzx eax, word [0x7ff645d478d8]
lea rcx, [rax + rax*4]
mov rax, qword [0x7ff645d478c8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x7ff645c2df46
lea r9, [0x7ff645d1e390]
nop word [rax + rax]
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x7ff645c2df36
cmp rcx, 5
jne 0x7ff645c2df20
jmp 0x7ff645c2df46
add rdx, 0x28
mov qword [0x7ff645d479c0], rdx
cmp rdx, r8
jb 0x7ff645c2df10
mov eax, dword [rdi]
cmp dword [0x7ff645d478bc], eax
jle 0x7ff645c2df90
lea rcx, [0x7ff645d478bc]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d478bc], 0xffffffff
jne 0x7ff645c2df89
mov rax, qword [0x7ff645d479c0]
lea rcx, [0x7ff645d478bc]
mov edx, dword [rax + 0xc]
add rdx, qword [0x7ff645d478e0]
mov qword [0x7ff645d47998], rdx
call fcn.7ff645cf1284
mov rdx, qword [0x7ff645d479c0]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x7ff645d47998]
movdqa xmm0, xmmword [0x7ff645d28550]
movdqa xmm1, xmmword [0x7ff645d28160]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea rbx, [rcx + r10]
mov dword [rsp + 0x48], 0x78c07885
mov rax, rbx
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x7ff645c2e02a
lea r11, [rbx - 0x17]
nop word [rax + rax]
mov r8, r10
lea rdx, [rsp + 0x20]
nop dword [rax + rax]
movzx r9d, word [rdx]
movzx ecx, r9w
shr cx, 8
cmp cl, 0x3f
je 0x7ff645c2e016
cmp byte [r8], r9b
jne 0x7ff645c2e03b
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x7ff645c2e000
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x7ff645c2e047
cmp r10, r11
je 0x7ff645c2e02a
inc r10
jmp 0x7ff645c2dff0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff645cf1220
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret