Function at 0x7ff6273ddff0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, rdx
mov r13, rcx
mov qword [rsp + 0x60], rcx
mov rax, qword [rbp + 0x8f]
mov qword [rsp + 0x68], rax
xor edi, edi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x7ff6273de4ee
movsxd r15, dword [rdx + 0x3c]
add r15, rdx
cmp dword [r15], 0x4550
jne 0x7ff6273de4ee
mov eax, 0x20b
cmp word [r15 + 0x18], ax
jne 0x7ff6273de4ee
mov ebx, dword [r15 + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rdi + 4]
mov r8d, 0x3000
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
je 0x7ff6273de4ee
movzx ecx, word [r15 + 0x14]
mov r14d, dword [rcx + r15 + 0x24]
sub ebx, r14d
mov eax, ebx
mov qword [rbp - 0x19], rax
mov r8d, ebx
mov rcx, r13
call fcn.7ff6273dbe50
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x7ff6273de4d1
mov r8d, dword [r15 + 0x54]
mov rdx, rsi
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r15 + 0x14]
add rbx, 0x24
xor edx, edx
cmp dx, word [r15 + 6]
jae 0x7ff6273de113
add rbx, r15
test dword [rbx + 0x18], 0x80
ja 0x7ff6273de102
mov ecx, dword [rbx]
add rcx, r12
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jl 0x7ff6273de0e5
xor edx, edx
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
sub rdi, r14
mov qword [rsp + 0x30], rdi
mov rsi, rdi
sub rsi, qword [r15 + 0x30]
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x7ff6273de20e
movsxd rax, dword [r12 + 0x3c]
cmp dword [rax + r12], 0x4550
jne 0x7ff6273de20e
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8, rdx
mov qword [rbp - 0x49], rdx
mov ecx, dword [rax + r12 + 0xb0]
test ecx, ecx
jne 0x7ff6273de172
mov rbx, rdx
jmp 0x7ff6273de214
lea rbx, [r12 + rcx]
mov edi, dword [rax + r12 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x7ff6273de1f7
mov rdx, qword [rbp - 0x51]
nop word [rax + rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x7ff6273de1f2
mov eax, dword [rbx]
add rax, r12
mov qword [rbp - 0x71], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x69], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x61], eax
cmp rdx, r8
je 0x7ff6273de1d2
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x61]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 0x51], rdx
jmp 0x7ff6273de1e7
lea r8, [rbp - 0x71]
lea rcx, [rbp - 0x59]
call fcn.7ff6273df580
mov r8, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x51]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x7ff6273de190
movdqu xmm1, xmmword [rbp - 0x59]
movsd xmm0, qword [rbp - 0x49]
movsd qword [rsp + 0x50], xmm0
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x30]
jmp 0x7ff6273de214
xorps xmm1, xmm1
mov rbx, rdx
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x7ff6273de287
lea r8, [r10 + 0x10]
mov edi, 0xfff
xor r13d, r13d
mov edx, r13d
cmp dword [r8], r13d
jbe 0x7ff6273de270
nop dword [rax]
mov ecx, edx
mov rax, qword [r8 - 8]
movzx r9d, word [rax + rcx*2]
movzx eax, r9w
shr ax, 0xc
and r9w, di
cmp ax, 0xa
jne 0x7ff6273de269
movzx ecx, r9w
mov rax, qword [r8 - 0x10]
add qword [rax + rcx], rsi
inc edx
cmp edx, dword [r8]
jb 0x7ff6273de240
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x7ff6273de234
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
test r10, r10
je 0x7ff6273de2e2
sub rbx, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r10
cmp rdx, 0x1000
jb 0x7ff6273de2da
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6273de2da
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.7ff627457864
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.7ff6273df090
mov rdx, rax
mov rcx, r13
call fcn.7ff6273de520
test al, al
je 0x7ff6273de4d1
lea r8, [r14 + r12]
mov r14, qword [rbp - 0x19]
mov r9, r14
mov rsi, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, r13
call fcn.7ff6273dbc30
test al, al
je 0x7ff6273de4d1
mov ebx, dword [r15 + 0x28]
add rbx, rdi
mov qword [rsp + 0x20], 0
mov r9, r14
mov r8, rsi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.7ff6273a9740
test al, al
je 0x7ff6273de4d1
mov rsi, qword [rbp - 0x39]
mov r14, qword [rbp - 0x29]
test rbx, rbx
je 0x7ff6273de4d1
lea rcx, [0x7ff6274a4288]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x7ff6273de4d1
lea rdx, [0x7ff6274a4298]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x7ff6273de4d1
mov word [rbp - 0x59], 0xb848
mov word [rbp - 0x4f], 0xe0ff
mov qword [rbp - 0x57], rbx
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x7ff6274c3540], ecx
jle 0x7ff6273de42f
lea rcx, [0x7ff6274c3540]
call fcn.7ff627457940
cmp dword [0x7ff6274c3540], 0xffffffff
jne 0x7ff6273de42f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 9
lea rdx, [0x7ff6274a4298]
lea rcx, [rsp + 0x40]
call fcn.7ff627395700
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x7ff6274c2e20]
mov rcx, r13
call fcn.7ff6273dc2a0
mov qword [0x7ff6274c3538], rax
lea rcx, [rsp + 0x40]
call fcn.7ff627392b40
nop
lea rcx, [0x7ff6274c3540]
call fcn.7ff6274578d4
mov r8, qword [0x7ff6274c3538]
test r8, r8
je 0x7ff6273de4d1
mov r9d, 0xc
lea rdx, [rbp - 0x19]
mov rcx, r13
call fcn.7ff6273dbc30
test al, al
je 0x7ff6273de4d1
movzx eax, byte [rbp - 0x59]
cmp byte [rbp - 0x19], al
jne 0x7ff6273de479
movzx eax, byte [rbp - 0x58]
cmp byte [rbp - 0x18], al
jne 0x7ff6273de479
movzx eax, byte [rbp - 0x4f]
cmp byte [rbp - 0xf], al
jne 0x7ff6273de479
movzx eax, byte [rbp - 0x4e]
cmp byte [rbp - 0xe], al
je 0x7ff6273de4d1
lea r8, [rbp - 0x59]
mov rdx, qword [0x7ff6274c3538]
mov rcx, r13
call fcn.7ff6273dbcd0
test al, al
je 0x7ff6273de4d1
mov rdx, rsi
mov rcx, r14
call rdi
mov ebx, eax
lea r8, [rbp - 0x19]
mov rdx, qword [0x7ff6274c3538]
mov rcx, r13
call fcn.7ff6273dbcd0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x7ff6273de4b9
mov dword [rax], ebx
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rax, qword [rsp + 0x38]
jmp 0x7ff6273de4f0
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rdx, qword [rbp - 0x79]
mov rcx, r13
call fcn.7ff6273dc080
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.7ff6274574f0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret