Function at 0x1400bc130
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, 4
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x141673f70], eax
jle 0x1400bc1a3
lea rcx, [0x141673f70]
call fcn.140175548
cmp dword [0x141673f70], 0xffffffff
jne 0x1400bc1a3
mov r8d, ebx
lea rcx, [0x1401ce0c8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x141673f70]
mov qword [0x141673f68], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x141673f88], eax
jle 0x1400bc1dc
lea rcx, [0x141673f88]
call fcn.140175548
cmp dword [0x141673f88], 0xffffffff
jne 0x1400bc1dc
mov rax, qword [0x141673f68]
lea rcx, [0x141673f88]
mov qword [0x141673fe0], rax
call fcn.1401754dc
mov rax, qword [0x141673fe0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bc478
mov eax, dword [rdi]
cmp dword [0x141673fa0], eax
jle 0x1400bc235
lea rcx, [0x141673fa0]
call fcn.140175548
cmp dword [0x141673fa0], 0xffffffff
jne 0x1400bc235
mov rax, qword [0x141673fe0]
lea rcx, [0x141673fa0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x141673f68]
mov qword [0x141673ff8], rdx
call fcn.1401754dc
mov rax, qword [0x141673ff8]
cmp dword [rax], 0x4550
jne 0x1400bc478
mov eax, dword [rdi]
cmp dword [0x141673f90], eax
mov qword [rsp + 0x70], rsi
jle 0x1400bc28c
lea rcx, [0x141673f90]
call fcn.140175548
cmp dword [0x141673f90], 0xffffffff
jne 0x1400bc28c
mov rax, qword [0x141673ff8]
lea rcx, [0x141673f90]
add rax, 0x108
mov qword [0x141674048], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x141674038], eax
jle 0x1400bc2c5
lea rcx, [0x141674038]
call fcn.140175548
cmp dword [0x141674038], 0xffffffff
jne 0x1400bc2c5
mov rax, qword [0x141674048]
lea rcx, [0x141674038]
mov qword [0x141673f50], rax
call fcn.1401754dc
mov eax, dword [rdi]
cmp dword [0x14167403c], eax
jle 0x1400bc302
lea rcx, [0x14167403c]
call fcn.140175548
cmp dword [0x14167403c], 0xffffffff
jne 0x1400bc302
mov rax, qword [0x141673ff8]
lea rcx, [0x14167403c]
movzx edx, word [rax + 6]
mov word [0x141673f60], dx
call fcn.1401754dc
xchg byte [0x141673f9c], bl
mov rdx, qword [0x141674048]
xor esi, esi
test bl, bl
jne 0x1400bc376
movzx eax, word [0x141673f60]
lea rcx, [rax + rax*4]
mov rax, qword [0x141673f50]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x1400bc376
lea r9, str.PAGE
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 0x1400bc366
cmp rcx, 5
jne 0x1400bc350
jmp 0x1400bc376
add rdx, 0x28
mov qword [0x141674048], rdx
cmp rdx, r8
jb 0x1400bc340
mov eax, dword [rdi]
cmp dword [0x141673f48], eax
jle 0x1400bc3c0
lea rcx, [0x141673f48]
call fcn.140175548
cmp dword [0x141673f48], 0xffffffff
jne 0x1400bc3b9
mov rax, qword [0x141674048]
lea rcx, [0x141673f48]
mov edx, dword [rax + 0xc]
add rdx, qword [0x141673f68]
mov qword [0x141674020], rdx
call fcn.1401754dc
mov rdx, qword [0x141674048]
mov ecx, dword [rdx + 0x10]
mov r9, qword [0x141674020]
movdqa xmm0, xmmword [0x1401d8320]
movdqa xmm1, xmmword [0x1401d80b0]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea r10, [r9 + rcx]
mov dword [rsp + 0x48], 0x78c07885
mov rax, r10
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x1400bc45a
lea r11, [r10 - 0x17]
nop word [rax + rax]
mov rdx, r9
lea rax, [rsp + 0x20]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400bc446
cmp byte [rdx], r8b
jne 0x1400bc46b
inc rdx
lea rcx, [rsp + 0x4e]
add rax, 2
cmp rax, rcx
jne 0x1400bc430
mov rax, r9
cmp rax, r10
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x1400bc47a
mov rax, r10
cmp r9, r11
je 0x1400bc45a
inc r9
jmp 0x1400bc420
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret