Function at 0x1400074b0
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, 0xd0
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp - 1], rax
mov qword [rbp - 0x49], r9
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x59], rcx
mov rax, qword [rbp + 0x8f]
mov qword [rbp - 0x41], rax
xor r12d, r12d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400079ea
movsxd r13, dword [rdx + 0x3c]
add r13, rdx
mov qword [rbp - 0x69], r13
cmp dword [r13], 0x4550
jne 0x1400079ea
mov eax, 0x20b
cmp word [r13 + 0x18], ax
jne 0x1400079ea
mov ebx, dword [r13 + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x1400079ea
movzx ecx, word [r13 + 0x14]
mov r15d, dword [rcx + r13 + 0x24]
sub ebx, r15d
mov ecx, ebx
mov qword [rsp + 0x38], rcx
je 0x1400079d9
mov edx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rdx + rax]
cmp dword [0x14009e3cc], eax
jle 0x140007665
lea rcx, [0x14009e3cc]
call fcn.140075230
cmp dword [0x14009e3cc], 0xffffffff
jne 0x140007660
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], reloc.WS2_32.dll_ntohs
lea ecx, [r12 + 0x20]
call fcn.1400752a8
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x79], reloc.WS2_32.dll_setsockopt
mov qword [rbp - 0x71], Ordinal_32
movups xmm0, xmmword [0x140087480]
movups xmmword [rax], xmm0
mov ecx, dword [0x140087490]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x140087494]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], r12b
lea r8, [rsp + 0x40]
mov rdx, qword [0x14009e018]
mov rcx, rdi
call fcn.140003430
mov qword [0x14009e430], rax
mov rdx, qword [rbp - 0x71]
cmp rdx, 0xf
jbe 0x140007654
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000764e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000764e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140075180
nop
lea rcx, [0x14009e3cc]
call fcn.1400751c4
mov rcx, qword [rsp + 0x38]
cmp qword [0x14009e430], 0
je 0x1400079d9
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140006460
test al, al
je 0x1400079d9
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x1400079d9
mov r8d, dword [r13 + 0x54]
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r13 + 0x14]
add rbx, 0x24
xor edx, edx
mov edi, edx
cmp dx, word [r13 + 6]
jae 0x1400076f4
add rbx, r13
test dword [rbx + 0x18], 0x80
ja 0x1400076e3
mov ecx, dword [rbx]
add rcx, r14
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 [r13 + 6]
cmp edi, eax
jl 0x1400076c6
xor edx, edx
mov qword [rbp - 0x51], r15
sub r12, r15
mov qword [rbp - 0x61], r12
mov rsi, r12
sub rsi, qword [r13 + 0x30]
mov eax, 0x5a4d
lea r15, [r14 + 0x3c]
cmp word [r14], ax
jne 0x140007722
movsxd rax, dword [r15]
cmp dword [rax + r14], 0x4550
je 0x14000772d
xorps xmm1, xmm1
mov rbx, rdx
jmp 0x1400077dd
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8, rdx
mov qword [rbp - 9], rdx
mov ecx, dword [rax + r14 + 0xb0]
test ecx, ecx
jne 0x140007750
mov rbx, rdx
jmp 0x1400077dd
lea rbx, [r14 + rcx]
mov edi, dword [rax + r14 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x1400077cf
mov rdx, qword [rbp - 0x11]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x1400077ca
mov eax, dword [rbx]
add rax, r14
mov qword [rbp - 0x31], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x29], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x21], eax
cmp rdx, r8
je 0x1400077aa
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x21]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 0x11], rdx
jmp 0x1400077bf
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x19]
call fcn.1400090a0
mov r8, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x140007768
movdqu xmm1, xmmword [rbp - 0x19]
movsd xmm0, qword [rbp - 9]
movsd qword [rbp - 0x79], xmm0
mov rbx, qword [rbp - 0x79]
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x140007853
lea r8, [r10 + 0x10]
mov edi, 0xf000
mov r12d, 0xa000
xor r13d, r13d
mov edx, r13d
cmp dword [r8], r13d
jbe 0x14000783e
nop dword [rax + rax]
mov ecx, edx
mov rax, qword [r8 - 8]
movzx r9d, word [rax + rcx*2]
movzx eax, r9w
and ax, di
cmp ax, r12w
jne 0x140007837
and r9d, 0xfff
mov rax, qword [r8 - 0x10]
add qword [r9 + rax], rsi
inc edx
cmp edx, dword [r8]
jb 0x140007810
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x140007803
mov r13, qword [rbp - 0x69]
mov r12, qword [rbp - 0x61]
test r10, r10
je 0x1400078ae
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 0x1400078a6
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140075180
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x1400079ea
movsxd rax, dword [r15]
cmp dword [rax + r14], 0x4550
jne 0x1400079ea
mov ecx, dword [rax + r14 + 0xd8]
test ecx, ecx
je 0x14000792a
mov rdi, qword [rcx + r14 + 0x58]
test rdi, rdi
je 0x14000792a
mov rax, r14
sub rax, r12
add rdi, rax
movabs rsi, 0x2b992ddfa232
cmp qword [rdi], rsi
jne 0x1400079ea
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor rcx, rbx
xor rcx, rsi
movabs rax, 0x2b992ddfa233
cmp rcx, rsi
cmove rcx, rax
mov qword [rdi], rcx
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1400086d0
mov rdx, rax
mov rdi, qword [rbp - 0x59]
mov rcx, rdi
call fcn.140007a20
mov rbx, qword [rsp + 0x30]
test al, al
je 0x1400079bb
mov r8, qword [rbp - 0x51]
add r8, r14
mov r9, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call fcn.1400030e0
test al, al
je 0x1400079bb
mov r8d, dword [r13 + 0x28]
add r8, r12
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rax, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140007df0
test al, al
je 0x1400079bb
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x1400079a5
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x1400079ec
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rbx
mov rcx, rdi
call fcn.140003300
jmp 0x1400079ea
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140075160
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret