Function at 0x140024f80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14006a100]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x58]
movabs rsi, 0x51071e7317584251
mov edi, 4
movabs rbp, 0x2b3738f62a414006
mov ebx, 1
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x14006d4bc], eax
jle 0x14002504b
lea rcx, [0x14006d4bc]
call fcn.14002a988
cmp dword [0x14006d4bc], 0xffffffff
jne 0x14002504b
movabs rax, 0x3d696c186437363f
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
movabs rax, 0x2b3738f64f392528
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x28], rax
mov r8d, ebx
movdqa xmm0, xmmword [rsp + 0x20]
xor edx, edx
xorps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14006d4bc]
mov qword [0x14006d5c8], rax
call fcn.14002a91c
mov eax, dword [rdi]
cmp dword [0x14006d5a8], eax
jle 0x140025084
lea rcx, [0x14006d5a8]
call fcn.14002a988
cmp dword [0x14006d5a8], 0xffffffff
jne 0x140025084
mov rax, qword [0x14006d5c8]
lea rcx, [0x14006d5a8]
mov qword [0x14006d680], rax
call fcn.14002a91c
mov rax, qword [0x14006d680]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140025315
mov eax, dword [rdi]
cmp dword [0x14006d514], eax
jle 0x1400250dd
lea rcx, [0x14006d514]
call fcn.14002a988
cmp dword [0x14006d514], 0xffffffff
jne 0x1400250dd
mov rax, qword [0x14006d680]
lea rcx, [0x14006d514]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14006d5c8]
mov qword [0x14006d628], rdx
call fcn.14002a91c
mov rax, qword [0x14006d628]
cmp dword [rax], 0x4550
jne 0x140025315
mov eax, dword [rdi]
cmp dword [0x14006d588], eax
jle 0x14002512f
lea rcx, [0x14006d588]
call fcn.14002a988
cmp dword [0x14006d588], 0xffffffff
jne 0x14002512f
mov rax, qword [0x14006d628]
lea rcx, [0x14006d588]
add rax, 0x108
mov qword [0x14006d4e0], rax
call fcn.14002a91c
mov eax, dword [rdi]
cmp dword [0x14006d610], eax
jle 0x140025168
lea rcx, [0x14006d610]
call fcn.14002a988
cmp dword [0x14006d610], 0xffffffff
jne 0x140025168
mov rax, qword [0x14006d4e0]
lea rcx, [0x14006d610]
mov qword [0x14006d5f8], rax
call fcn.14002a91c
mov eax, dword [rdi]
cmp dword [0x14006d66c], eax
jle 0x1400251a5
lea rcx, [0x14006d66c]
call fcn.14002a988
cmp dword [0x14006d66c], 0xffffffff
jne 0x1400251a5
mov rax, qword [0x14006d628]
lea rcx, [0x14006d66c]
movzx edx, word [rax + 6]
mov word [0x14006d564], dx
call fcn.14002a91c
xchg byte [0x14006d3bc], bl
mov r8, qword [0x14006d4e0]
test bl, bl
jne 0x14002523b
movzx eax, word [0x14006d564]
lea rcx, [rax + rax*4]
mov rax, qword [0x14006d5f8]
lea r10, [rax + rcx*8]
cmp r8, r10
jae 0x14002523b
mov qword [rsp + 0x60], rsi
movabs r11, 0x51071e73521f0301
mov qword [rsp + 0x68], rbp
movdqa xmm1, xmmword [rsp + 0x60]
nop
mov qword [rsp + 0x30], r11
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rbp
mov rax, r8
movdqa xmm0, xmmword [rsp + 0x30]
sub r9, r8
xorps xmm0, xmm1
movdqa xmmword [rsp + 0x30], xmm0
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140025227
inc rax
test ecx, ecx
jne 0x140025214
test edx, edx
je 0x14002523b
add r8, 0x28
mov qword [0x14006d4e0], r8
cmp r8, r10
jb 0x1400251f0
mov eax, dword [rdi]
cmp dword [0x14006d58c], eax
jle 0x140025285
lea rcx, [0x14006d58c]
call fcn.14002a988
cmp dword [0x14006d58c], 0xffffffff
jne 0x14002527e
mov rax, qword [0x14006d4e0]
lea rcx, [0x14006d58c]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14006d5c8]
mov qword [0x14006d530], rdx
call fcn.14002a91c
mov r8, qword [0x14006d4e0]
mov ecx, dword [r8 + 0x10]
mov r9, qword [0x14006d530]
movdqa xmm0, xmmword [0x140062db0]
movdqa xmm1, xmmword [0x140062d90]
movdqu xmmword [rsp + 0x40], xmm0
lea r10, [r9 + rcx]
mov rax, r10
movdqu xmmword [rsp + 0x50], xmm1
cmp rcx, 0x10
jb 0x1400252fa
lea r11, [r10 - 0x10]
nop dword [rax]
mov rdx, r9
lea rax, [rsp + 0x40]
nop dword [rax + rax]
movzx r8d, word [rax]
movzx ecx, r8w
shr cx, 8
cmp cl, 0x3f
je 0x1400252e6
cmp byte [rdx], r8b
jne 0x140025308
inc rdx
lea rcx, [rsp + 0x60]
add rax, 2
cmp rax, rcx
jne 0x1400252d0
mov rax, r9
xor ecx, ecx
cmp rax, r10
cmovne rcx, rax
mov rax, rcx
jmp 0x140025317
mov rax, r10
cmp r9, r11
je 0x1400252fa
inc r9
jmp 0x1400252c0
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002a850
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret