Function at 0x7ff645c2d9c0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff645d45080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 0x10
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x7ff645d478ec], eax
jle 0x7ff645c2da33
lea rcx, [0x7ff645d478ec]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d478ec], 0xffffffff
jne 0x7ff645c2da33
mov r8d, ebx
lea rcx, [0x7ff645d1e258]
xor edx, edx
call qword [sym.imp.kernel32.dll_LoadLibraryExA]
lea rcx, [0x7ff645d478ec]
mov qword [0x7ff645d47988], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d479ac], eax
jle 0x7ff645c2da6c
lea rcx, [0x7ff645d479ac]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d479ac], 0xffffffff
jne 0x7ff645c2da6c
mov rax, qword [0x7ff645d47988]
lea rcx, [0x7ff645d479ac]
mov qword [0x7ff645d47940], rax
call fcn.7ff645cf1284
mov rax, qword [0x7ff645d47940]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff645c2dce5
mov eax, dword [rdi]
cmp dword [0x7ff645d479a4], eax
jle 0x7ff645c2dac5
lea rcx, [0x7ff645d479a4]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d479a4], 0xffffffff
jne 0x7ff645c2dac5
mov rax, qword [0x7ff645d47940]
lea rcx, [0x7ff645d479a4]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x7ff645d47988]
mov qword [0x7ff645d47968], rdx
call fcn.7ff645cf1284
mov rax, qword [0x7ff645d47968]
cmp dword [rax], 0x4550
jne 0x7ff645c2dce5
mov eax, dword [rdi]
cmp dword [0x7ff645d478fc], eax
mov qword [rsp + 0x60], rsi
jle 0x7ff645c2db1c
lea rcx, [0x7ff645d478fc]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d478fc], 0xffffffff
jne 0x7ff645c2db1c
mov rax, qword [0x7ff645d47968]
lea rcx, [0x7ff645d478fc]
add rax, 0x108
mov qword [0x7ff645d478d0], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d47900], eax
jle 0x7ff645c2db55
lea rcx, [0x7ff645d47900]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d47900], 0xffffffff
jne 0x7ff645c2db55
mov rax, qword [0x7ff645d478d0]
lea rcx, [0x7ff645d47900]
mov qword [0x7ff645d479b8], rax
call fcn.7ff645cf1284
mov eax, dword [rdi]
cmp dword [0x7ff645d47960], eax
jle 0x7ff645c2db92
lea rcx, [0x7ff645d47960]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d47960], 0xffffffff
jne 0x7ff645c2db92
mov rax, qword [0x7ff645d47968]
lea rcx, [0x7ff645d47960]
movzx edx, word [rax + 6]
mov word [0x7ff645d479a8], dx
call fcn.7ff645cf1284
xchg byte [0x7ff645d47990], bl
mov rdx, qword [0x7ff645d478d0]
xor esi, esi
test bl, bl
jne 0x7ff645c2dc06
movzx eax, word [0x7ff645d479a8]
lea rcx, [rax + rax*4]
mov rax, qword [0x7ff645d479b8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x7ff645c2dc06
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 0x7ff645c2dbf6
cmp rcx, 5
jne 0x7ff645c2dbe0
jmp 0x7ff645c2dc06
add rdx, 0x28
mov qword [0x7ff645d478d0], rdx
cmp rdx, r8
jb 0x7ff645c2dbd0
mov eax, dword [rdi]
cmp dword [0x7ff645d478c0], eax
jle 0x7ff645c2dc50
lea rcx, [0x7ff645d478c0]
call fcn.7ff645cf12f0
cmp dword [0x7ff645d478c0], 0xffffffff
jne 0x7ff645c2dc49
mov rax, qword [0x7ff645d478d0]
lea rcx, [0x7ff645d478c0]
mov edx, dword [rax + 0xc]
add rdx, qword [0x7ff645d47988]
mov qword [0x7ff645d479c8], rdx
call fcn.7ff645cf1284
mov rdx, qword [0x7ff645d478d0]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x7ff645d479c8]
movdqa xmm0, xmmword [0x7ff645d28550]
movdqa xmm1, xmmword [0x7ff645d28520]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x7ff645c2dcca
lea r11, [rbx - 0x10]
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 0x7ff645c2dcb6
cmp byte [r8], r9b
jne 0x7ff645c2dcdb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x7ff645c2dca0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x7ff645c2dce7
cmp r10, r11
je 0x7ff645c2dcca
inc r10
jmp 0x7ff645c2dc90
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff645cf1220
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret