Function at 0x14010c8b0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
sub rsp, 0x78
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x14010c8e9
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x14010c8e9
test rcx, rcx
jle 0x14010c8e5
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rsi + 0x10], rbx
mov rdx, qword [rsi + 0x10]
test rdx, rdx
jne 0x14010c8fc
mov eax, 0xc0000141
jmp 0x14010cc23
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14010cc1e
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x14010cc1e
mov eax, 0x20b
mov qword [rsp + 0xa0], rdi
mov r10, rcx
mov qword [rsp + 0x98], rbp
cmp word [rcx + 0x18], ax
jne 0x14010c957
mov byte [rsi + 0x19], 1
lea rbp, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r9b, 1
jmp 0x14010c968
mov byte [rsi + 0x19], 0
lea rbp, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r9b, r9b
mov qword [rsi + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rsi + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rsi + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rcx + 0x5c]
mov dword [rsi + 0x54], r11d
movzx eax, word [rax + r10]
mov dword [rsi + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rsi + 0x1a], al
test r9b, r9b
je 0x14010c9b1
add rcx, 0xf8
jmp 0x14010c9b8
add rcx, 0xe8
mov eax, dword [rcx]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
test eax, eax
je 0x14010ca02
cmp byte [rsi + 0x18], 0
mov r8d, eax
je 0x14010ca72
mov rcx, qword [rsi + 0x60]
mov r9, qword [rsi + 0x68]
cmp rcx, r9
je 0x14010ca02
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x14010c9f9
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x14010ca63
add rcx, 0x28
cmp rcx, r9
jne 0x14010c9e7
mov byte [rsi + 0x1b], 0
mov rax, qword [rsi + 0x20]
xor edi, edi
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
cmp di, word [rax + 6]
jae 0x14010cc05
mov rbx, qword [rsi + 0x68]
cmp rbx, qword [rsi + 0x70]
je 0x14010cbe0
call fcn.140072190
mov rdx, rbx
mov ecx, Ordinal_41
call fcn.140072180
movups xmm0, xmmword [rbp]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [rbp + 0x20]
movsd qword [rax + 0x20], xmm0
add qword [rsi + 0x68], 0x28
jmp 0x14010cbef
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, r8
add rax, qword [rsi + 0x10]
jmp 0x14010ca75
add rax, rdx
test rax, rax
je 0x14010ca02
test byte [rax + 0x10], 1
je 0x14010ca02
sub eax, dword [rsi + 0x10]
lea r14, [rsi + 0x138]
add eax, 0x10
mov byte [rsi + 0x1b], 1
lea rdi, [rsi + 0xf8]
mov dword [rsi + 0x58], eax
cmp r14, rdi
je 0x14010caca
mov rcx, r14
call fcn.1400d40a0
mov rcx, rdi
call fcn.1400d4080
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.1400d4330
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.1400eb530
cmp qword [r14 + 0x30], 0
lea r15, [r14 + 0x30]
jne 0x14010cb0c
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14010ca06
xor edx, edx
mov qword [rsp + 0x20], r15
lea r9, [0x1402aa450]
lea rcx, [0x1402aa150]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14010ca06
cmp qword [r14 + 0x38], 0
lea r12, [r14 + 0x38]
jne 0x14010cbac
mov rdi, qword [r15]
mov rcx, r14
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call fcn.1400d3710
lea r9, [0x1402aa068]
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call rbx
cmp eax, 0x80131110
jne 0x14010cba4
mov rcx, qword [r15]
lea r8, [rsp + 0x38]
mov eax, reloc.WS2_32.dll_send
mov dword [rsp + 0x40], 4
mov word [rsp + 0x38], ax
lea rdx, [0x1402aa3b8]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
js 0x14010ca06
mov rdi, qword [r14 + 0x30]
mov rcx, r14
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call fcn.1400d3710
lea r9, [0x1402aa068]
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call rbx
test eax, eax
js 0x14010ca06
cmp qword [r14 + 0x40], 0
lea r8, [r14 + 0x40]
jne 0x14010cbcf
mov rcx, qword [r12]
lea rdx, [0x1402aa498]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14010ca06
lea rcx, [rsi + 0x138]
call fcn.140151490
jmp 0x14010ca06
mov r8, rbp
lea rcx, [rsi + 0x60]
mov rdx, rbx
call fcn.14010ee90
mov rax, qword [rsi + 0x20]
inc edi
add rbp, 0x28
movzx ecx, word [rax + 6]
cmp edi, ecx
jl 0x14010ca20
mov r14, qword [rsp + 0x68]
xor eax, eax
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
jmp 0x14010cc23
mov eax, 0xc000007b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x78
pop rsi
pop rbx
ret