Function at 0x1400e1f80
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 [0x1404280e0]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rbp - 0x79], rdi
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400e2044
movsxd r13, dword [rdx + 0x3c]
add r13, rdx
mov qword [rbp - 0x41], r13
cmp dword [r13], 0x4550
jne 0x1400e2044
mov eax, 0x20b
cmp word [r13 + 0x18], ax
jne 0x1400e2044
mov ebx, dword [r13 + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rdi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400e2044
movzx ecx, word [r13 + 0x14]
mov r14d, dword [rcx + r13 + 0x24]
sub ebx, r14d
mov ecx, ebx
mov qword [rsp + 0x48], rcx
jne 0x1400e206d
mov qword [rsp + 0x38], rdi
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call fcn.1400df400
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1402fecd0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rdx + rax]
cmp dword [0x14043e11c], eax
jle 0x1400e2162
lea rcx, [0x14043e11c]
call fcn.1402ff130
cmp dword [0x14043e11c], 0xffffffff
jne 0x1400e215d
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov ecx, 0x20
call fcn.1402fecf8
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], reloc.WS2_32.dll_setsockopt
mov qword [rbp - 9], 0x1f
movups xmm0, xmmword [0x1403d2330]
movups xmmword [rax], xmm0
mov ecx, dword [0x1403d2340]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1403d2344]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea r8, [rbp - 0x21]
mov rdx, qword [0x14042bce8]
mov rcx, r15
call fcn.1400df540
mov qword [0x14043e180], rax
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400e2151
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e214b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e214b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402fecf0
nop
lea rcx, [0x14043e11c]
call fcn.1402ff0c4
mov rcx, qword [rsp + 0x48]
cmp qword [0x14043e180], 0
je 0x1400e2021
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400e11e0
test al, al
je 0x1400e2021
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400e2026
mov r8d, dword [r13 + 0x54]
mov rdx, rsi
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r13 + 0x14]
add rbx, 0x24
xor edx, edx
cmp dx, word [r13 + 6]
jae 0x1400e21f4
add rbx, r13
test dword [rbx + 0x18], 0x80
ja 0x1400e21e3
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 [r13 + 6]
cmp edi, eax
jl 0x1400e21c6
xor edx, edx
mov rax, r14
mov qword [rbp - 0x49], rax
mov r14, qword [rsp + 0x30]
sub r14, rax
mov qword [rsp + 0x50], r14
mov rsi, r14
sub rsi, qword [r13 + 0x30]
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x1400e22e7
movsxd rax, dword [r12 + 0x3c]
cmp dword [rax + r12], 0x4550
jne 0x1400e22e7
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov r8, rdx
mov qword [rbp - 0x51], rdx
mov ecx, dword [rax + r12 + 0xb0]
test ecx, ecx
jne 0x1400e2255
mov rbx, rdx
jmp 0x1400e22ed
lea rbx, [r12 + rcx]
mov edi, dword [rax + r12 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x1400e22d7
mov rdx, qword [rbp - 0x59]
nop dword [rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x1400e22d2
mov eax, dword [rbx]
add rax, r12
mov qword [rbp - 0x39], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x31], rax
lea rax, [rcx - 8]
shr rax, 1
mov dword [rbp - 0x29], eax
cmp rdx, r8
je 0x1400e22b2
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 0x59], rdx
jmp 0x1400e22c7
lea r8, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.1400e2ef0
mov r8, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x59]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x1400e2270
movdqu xmm1, xmmword [rbp - 0x61]
movsd xmm0, qword [rbp - 0x51]
movsd qword [rbp - 0x11], xmm0
mov rbx, qword [rbp - 0x11]
jmp 0x1400e22ed
xorps xmm1, xmm1
mov rbx, rdx
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x1400e2362
lea r8, [r10 + 0x10]
mov edi, 0xfff
xor r14d, r14d
nop dword [rax]
mov edx, r14d
cmp dword [r8], edx
jbe 0x1400e2350
nop dword [rax + 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 0x1400e2349
movzx ecx, r9w
mov rax, qword [r8 - 0x10]
add qword [rax + rcx], rsi
inc edx
cmp edx, dword [r8]
jb 0x1400e2320
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x1400e2310
mov r14, qword [rsp + 0x50]
test r10, r10
je 0x1400e23bd
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 0x1400e23b5
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e23b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1402fecf0
mov rdx, r12
lea rcx, [rbp - 0x21]
call fcn.1400e2a40
mov r12, rax
mov qword [rbp - 0x69], rax
mov rsi, qword [rax]
mov r13, qword [rax + 8]
cmp rsi, r13
je 0x1400e2458
nop dword [rax]
mov rcx, rsi
call fcn.1400e40c0
mov rdi, rax
test rax, rax
je 0x1400e24fe
mov rbx, qword [rsi + 0x20]
mov r14, qword [rsi + 0x28]
cmp rbx, r14
je 0x1400e244a
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.1400df540
mov rcx, rax
test rax, rax
jne 0x1400e243a
mov rdx, qword [0x14042bce8]
cmp rdi, rdx
je 0x1400e243a
mov r8, rbx
mov rcx, r15
call fcn.1400df540
mov rcx, rax
test rax, rax
je 0x1400e24fe
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
add rbx, 0x28
cmp rbx, r14
jne 0x1400e2401
add rsi, 0x38
cmp rsi, r13
jne 0x1400e23e0
mov r14, qword [rsp + 0x50]
mov rcx, r12
call fcn.1400e2510
mov r12, qword [rsp + 0x40]
mov r8, qword [rbp - 0x49]
add r8, r12
mov rsi, qword [rsp + 0x48]
mov r9, rsi
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, r15
call fcn.1400df1e0
test al, al
je 0x1400e2026
mov rax, qword [rbp - 0x41]
mov ebx, dword [rax + 0x28]
add rbx, r14
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x79]
call fcn.1400e8340
test al, al
je 0x1400e2026
mov dword [rsp + 0x30], r14d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x79]
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400e2690
test al, al
je 0x1400e2026
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1400e2046
mov rcx, r12
call fcn.1400e2510
mov r12, qword [rsp + 0x40]
jmp 0x1400e2026