Function at 0x1400309a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword gs:[0x58]
movabs rsi, 0xe2fe1ebe4d8024b3
mov edi, 4
mov ebx, 1
movabs r14, 0xa7cef4eb5823ef28
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140078548], eax
jle 0x140030a67
lea rcx, [0x140078548]
call fcn.140036b28
cmp dword [0x140078548], 0xffffffff
jne 0x140030a67
movabs rax, 0x8e906cd53eef50dd
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
movabs rax, 0xa7cef4eb3d5b8a06
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x48], rax
mov r8d, ebx
movdqa xmm0, xmmword [rbp - 0x50]
xor edx, edx
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140078548]
mov qword [0x1400785b8], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x1400786c4], eax
jle 0x140030aa0
lea rcx, [0x1400786c4]
call fcn.140036b28
cmp dword [0x1400786c4], 0xffffffff
jne 0x140030aa0
mov rax, qword [0x1400785b8]
lea rcx, [0x1400786c4]
mov qword [0x1400787f0], rax
call fcn.140036abc
mov rax, qword [0x1400787f0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140030d34
mov eax, dword [rdi]
cmp dword [0x1400785c4], eax
jle 0x140030af9
lea rcx, [0x1400785c4]
call fcn.140036b28
cmp dword [0x1400785c4], 0xffffffff
jne 0x140030af9
mov rax, qword [0x1400787f0]
lea rcx, [0x1400785c4]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1400785b8]
mov qword [0x140078530], rdx
call fcn.140036abc
mov rax, qword [0x140078530]
cmp dword [rax], 0x4550
jne 0x140030d34
mov eax, dword [rdi]
cmp dword [0x140078668], eax
jle 0x140030b4b
lea rcx, [0x140078668]
call fcn.140036b28
cmp dword [0x140078668], 0xffffffff
jne 0x140030b4b
mov rax, qword [0x140078530]
lea rcx, [0x140078668]
add rax, 0x108
mov qword [0x1400786f8], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x140078620], eax
jle 0x140030b84
lea rcx, [0x140078620]
call fcn.140036b28
cmp dword [0x140078620], 0xffffffff
jne 0x140030b84
mov rax, qword [0x1400786f8]
lea rcx, [0x140078620]
mov qword [0x140078600], rax
call fcn.140036abc
mov eax, dword [rdi]
cmp dword [0x1400785d8], eax
jle 0x140030bc1
lea rcx, [0x1400785d8]
call fcn.140036b28
cmp dword [0x1400785d8], 0xffffffff
jne 0x140030bc1
mov rax, qword [0x140078530]
lea rcx, [0x1400785d8]
movzx edx, word [rax + 6]
mov word [0x14007864c], dx
call fcn.140036abc
xchg byte [0x1400784f0], bl
mov r8, qword [0x1400786f8]
test bl, bl
jne 0x140030c57
movzx eax, word [0x14007864c]
lea rcx, [rax + rax*4]
mov rax, qword [0x140078600]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x140030c57
mov qword [rbp - 0x20], rsi
movabs r11, 0xe2fe1ebe08c765e3
mov qword [rbp - 0x18], r14
movdqa xmm1, xmmword [rbp - 0x20]
nop dword [rax + rax]
mov qword [rbp - 0x40], r11
lea r9, [rbp - 0x40]
mov qword [rbp - 0x38], r14
mov rax, r8
movdqa xmm0, xmmword [rbp - 0x40]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rbp - 0x40], xmm0
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140030c43
inc rax
test ecx, ecx
jne 0x140030c30
test edx, edx
je 0x140030c57
add r8, 0x28
mov qword [0x1400786f8], r8
cmp r8, r10
jb 0x140030c10
mov eax, dword [rdi]
cmp dword [0x140078780], eax
jle 0x140030ca1
lea rcx, [0x140078780]
call fcn.140036b28
cmp dword [0x140078780], 0xffffffff
jne 0x140030c9a
mov rax, qword [0x1400786f8]
lea rcx, [0x140078780]
mov edx, dword [rax + 0xc]
add rdx, qword [0x1400785b8]
mov qword [0x140078768], rdx
call fcn.140036abc
mov r8, qword [0x1400786f8]
mov ecx, dword [r8 + 0x10]
mov r9, qword [0x140078768]
mov dword [rbp - 0x30], 0x78037866
mov dword [rbp - 0x2c], 0x784878d2
mov dword [rbp - 0x28], 0x780d788d
lea r10, [r9 + rcx]
mov rax, r10
cmp rcx, 6
jb 0x140030d19
lea r11, [r10 - 6]
nop dword [rax]
nop word [rax + rax]
mov rdx, r9
lea rax, [rbp - 0x30]
nop word [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x140030d06
cmp byte [rdx], r8b
jne 0x140030d27
inc rdx
lea rcx, [rbp - 0x24]
add rax, 2
cmp rax, rcx
jne 0x140030cf0
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x140030d36
mov rax, r10
cmp r9, r11
je 0x140030d19
inc r9
jmp 0x140030ce0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400369f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret