Function at 0x14008c120
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, qword [rbp + 0x48]
lea r8, [rbp - 0x44]
mov r12, qword [rbp + 0x50]
mov r9d, 2
mov r13, qword [rbp + 0x58]
xor edx, edx
mov rdi, qword [rbp + 0x60]
mov rcx, r14
mov r15, qword [r14 + 0x50]
mov rbx, r15
mov qword [rbp - 0x18], r12
call fcn.14008f0f0
test al, al
je 0x14008c2af
mov eax, 0x5a4d
cmp word [rbp - 0x44], ax
jne 0x14008c2af
mov r9d, 4
lea r8, [rbp - 0x38]
mov rcx, r14
lea edx, [r9 + 0x38]
call fcn.14008f0f0
test al, al
je 0x14008c2af
mov edx, dword [rbp - 0x38]
lea r8, [rbp - 0x34]
mov r9d, 4
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c2af
cmp dword [rbp - 0x34], 0x4550
jne 0x14008c2af
lea r8, [rbp - 0x40]
mov qword [rbp - 0x40], socket
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.14008ed10
test al, al
je 0x14008c2af
cmp qword [rbp - 0x40], 0x14
je 0x14008c21a
mov dword [r14 + 0x80], 0x1e
jmp 0x14008c2af
mov ecx, dword [rbp - 0x38]
mov edx, 0x8664
movzx eax, word [rbp - 0x30]
add ecx, 0x98
cmp ax, dx
je 0x14008c24f
mov edx, 0x200
cmp ax, dx
je 0x14008c24f
mov edx, 0x284
cmp ax, dx
je 0x14008c24f
mov edx, 0xaa64
cmp ax, dx
jne 0x14008c252
add ecx, 0x10
mov edx, ecx
lea r8, [rbp - 0x40]
mov rcx, r14
mov r9d, 4
call fcn.14008f0f0
test al, al
je 0x14008c2af
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14008c2af
mov ebx, eax
cmp rax, 7
jbe 0x14008c2af
mov esi, 7
nop
lea r12, [rbx - 1]
mov r9d, 1
mov rdx, r12
lea r8, [rbp - 0x48]
mov rcx, r14
dec esi
call fcn.14008f0f0
test al, al
je 0x14008c2a7
cmp byte [rbp - 0x48], 0
cmove rbx, r12
test esi, esi
jne 0x14008c280
mov r12, qword [rbp - 0x18]
cmp r15, 0x48
jl 0x14008c329
lea rsi, [r15 - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c2f7
movabs rax, 0x4233676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c2f7
test rdi, rdi
je 0x14008c2ed
mov dword [rdi], 7
mov ebx, 0x40
jmp 0x14008c55b
cmp rbx, r15
je 0x14008c329
lea rsi, [rbx - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c329
movabs rax, 0x4233676953575341
cmp qword [rbp - 0x18], rax
je 0x14008c2e2
cmp r15, 0xc0
jl 0x14008c396
lea rsi, [r15 - 0x80]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c35f
movabs rax, 0x4233676953575341
cmp qword [rbp - 0x18], rax
je 0x14008c2e2
cmp rbx, r15
je 0x14008c3a0
lea rsi, [rbx - 0x80]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c3a0
movabs rax, 0x4233676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c3a0
jmp 0x14008c2e2
cmp r15, 0x48
jl 0x14008c431
lea rsi, [r15 - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c3e6
movabs rax, 0x4232676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c3e6
test rdi, rdi
je 0x14008c2ed
mov dword [rdi], 5
mov ebx, 0x40
jmp 0x14008c55b
cmp rbx, r15
je 0x14008c431
lea rsi, [rbx - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c431
movabs rax, 0x4232676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c431
test rdi, rdi
je 0x14008c2ed
mov dword [rdi], 5
mov ebx, 0x40
jmp 0x14008c55b
cmp r15, 0x78
jl 0x14008c4cc
lea rsi, [r15 - 0x38]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c481
movabs rax, 0x4232676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c481
test rdi, rdi
je 0x14008c2ed
mov dword [rdi], 5
mov ebx, 0x40
jmp 0x14008c55b
cmp rbx, r15
je 0x14008c4d6
lea rsi, [rbx - 0x38]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c4d6
movabs rax, 0x4232676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c4d6
test rdi, rdi
je 0x14008c2ed
mov dword [rdi], 5
mov ebx, 0x40
jmp 0x14008c55b
cmp r15, 0x30
jl 0x14008c5ab
lea rsi, [r15 - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
movabs rcx, 0x646e676953575341
test al, al
je 0x14008c515
cmp qword [rbp - 0x18], rcx
jne 0x14008c515
test rdi, rdi
je 0x14008c50e
mov dword [rdi], 1
mov ebx, 0x28
jmp 0x14008c55b
cmp rbx, r15
je 0x14008c5ab
lea rsi, [rbx - 8]
mov r9d, 8
mov rdx, rsi
lea r8, [rbp - 0x18]
mov rcx, r14
call fcn.14008f0f0
test al, al
je 0x14008c5ab
movabs rax, 0x646e676953575341
cmp qword [rbp - 0x18], rax
jne 0x14008c5ab
mov ebx, 0x28
test rdi, rdi
je 0x14008c55b
mov dword [rdi], 1
sub rsi, rbx
mov rcx, r14
mov rdx, rsi
call fcn.14008ec70
mov dil, 1
test r12, r12
je 0x14008c59c
lea r8, [rbp - 0x40]
mov qword [rbp - 0x40], rbx
mov rdx, r12
mov rcx, r14
call fcn.14008ed10
test al, al
je 0x14008c599
cmp qword [rbp - 0x40], rbx
je 0x14008c59c
mov dword [r14 + 0x80], 0x1e
xor dil, dil
test r13, r13
je 0x14008c5a5
mov qword [r13], rsi
movzx eax, dil
jmp 0x14008c5ad
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140144310
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret