Function at 0x14001c0f0
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, 0xb0
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x51], rcx
mov rax, qword [rbp + 0x8f]
mov qword [rbp - 0x41], rax
xor edi, edi
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14001c19f
movsxd r15, dword [rdx + 0x3c]
add r15, rdx
cmp dword [r15], 0x4550
jne 0x14001c19f
mov eax, 0x20b
cmp word [r15 + 0x18], ax
jne 0x14001c19f
mov ebx, dword [r15 + 0x50]
mov qword [rbp - 0x49], rbx
lea r9d, [rdi + 4]
mov r8d, 0x3000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x14001c19f
test rbx, rbx
jne 0x14001c1c8
mov r12, rdi
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, r12
mov rcx, r13
call fcn.140019260
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140117aa0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14091962c], eax
jle 0x14001c289
lea rcx, [0x14091962c]
call fcn.140118268
cmp dword [0x14091962c], 0xffffffff
jne 0x14001c289
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [0x14017f890]
lea rcx, [rbp - 0x71]
call fcn.140012170
nop
lea r8, [rbp - 0x71]
mov rdx, qword [0x140917cd8]
mov rcx, r13
call fcn.140019370
mov qword [0x140919690], rax
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x14001c27d
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c556
call fcn.140117d3c
nop
lea rcx, [0x14091962c]
call fcn.1401181fc
cmp qword [0x140919690], 0
je 0x14001c180
mov qword [rbp - 0x79], rdi
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x79]
mov rcx, r13
call fcn.14001b160
test al, al
je 0x14001c180
mov r12, qword [rbp - 0x79]
test r12, r12
je 0x14001c183
mov r8d, dword [r15 + 0x54]
mov rdx, rsi
mov rcx, r14
call fcn.140152da0
movzx ebx, word [r15 + 0x14]
add rbx, 0x24
xor edx, edx
cmp dx, word [r15 + 6]
jae 0x14001c313
add rbx, r15
test dword [rbx + 0x18], 0x80
ja 0x14001c302
mov ecx, dword [rbx]
add rcx, r14
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, rsi
call fcn.140152da0
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jl 0x14001c2e5
xor edx, edx
mov rsi, r12
sub rsi, qword [r15 + 0x30]
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14001c3ed
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
jne 0x14001c3ed
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 0x14001c35e
mov rbx, rdx
jmp 0x14001c3f3
lea rbx, [r14 + rcx]
mov edi, dword [rax + r14 + 0xb4]
add rdi, rbx
cmp rbx, rdi
jae 0x14001c3dd
mov rdx, qword [rbp - 0x11]
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x14001c3d8
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 0x14001c3b8
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 0x14001c3cd
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x19]
call fcn.14001d790
mov r8, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rdi
jb 0x14001c376
movdqu xmm1, xmmword [rbp - 0x19]
movsd xmm0, qword [rbp - 9]
movsd qword [rbp - 0x61], xmm0
mov rbx, qword [rbp - 0x61]
jmp 0x14001c3f3
xorps xmm1, xmm1
mov rbx, rdx
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x14001c473
lea r8, [r10 + 0x10]
mov edi, 0xf000
mov r13d, 0xa000
xor r12d, r12d
nop dword [rax]
mov edx, r12d
cmp dword [r8], r12d
jbe 0x14001c45e
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, r13w
jne 0x14001c457
and r9d, 0xfff
mov rax, qword [r8 - 0x10]
add qword [r9 + rax], rsi
inc edx
cmp edx, dword [r8]
jb 0x14001c430
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r11
jne 0x14001c420
mov r12, qword [rbp - 0x79]
mov r13, qword [rbp - 0x51]
test r10, r10
je 0x14001c4cb
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 0x14001c4c3
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c550
mov rcx, r10
call fcn.140117d3c
mov rdx, r14
lea rcx, [rbp - 0x71]
call fcn.14001ceb0
mov rdx, rax
mov rcx, r13
call fcn.14001c560
test al, al
je 0x14001c183
mov r9, qword [rbp - 0x49]
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.140019040
test al, al
je 0x14001c183
mov r8d, dword [r15 + 0x28]
add r8, r12
mov dword [rbp - 0x79], 0
mov r9, r12
lea rdx, [rbp - 0x79]
mov rcx, r13
call fcn.14001c860
test al, al
je 0x14001c183
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x14001c537
mov ecx, dword [rbp - 0x79]
mov dword [rax], ecx
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, r12
jmp 0x14001c1a1
call fcn.140127908
nop
call fcn.140127908
int3