Function at 0x14007ba90
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140140880]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor esi, esi
mov dword [rbp - 0x29], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor edx, edx
mov cl, 0x51
call fcn.14007b670
mov byte [rbp - 0x19], al
lea edx, [rsi + 1]
mov cl, 0x57
call fcn.14007b670
mov byte [rbp - 0x18], al
lea edx, [rsi + 2]
mov cl, 0x45
call fcn.14007b670
mov byte [rbp - 0x17], al
lea edx, [rsi + 3]
mov cl, 0x52
call fcn.14007b670
mov byte [rbp - 0x16], al
lea edx, [rsi + 4]
mov cl, 0x54
call fcn.14007b670
mov byte [rbp - 0x15], al
lea edx, [rsi + 5]
mov cl, 0x59
call fcn.14007b670
mov byte [rbp - 0x14], al
lea edx, [rsi + 6]
mov cl, 0x55
call fcn.14007b670
mov byte [rbp - 0x13], al
lea edx, [rsi + 7]
mov cl, 0x49
call fcn.14007b670
mov byte [rbp - 0x12], al
lea edx, [rsi + 8]
mov cl, 0x4f
call fcn.14007b670
mov byte [rbp - 0x11], al
lea edx, [rsi + 9]
mov cl, 0x50
call fcn.14007b670
mov byte [rbp - 0x10], al
lea edx, [rsi + 0xa]
mov cl, 0x41
call fcn.14007b670
mov byte [rbp - 0xf], al
lea edx, [rsi + 0xb]
mov cl, 0x53
call fcn.14007b670
mov byte [rbp - 0xe], al
lea edx, [rsi + 0xc]
mov cl, 0x44
call fcn.14007b670
mov byte [rbp - 0xd], al
lea edx, [rsi + 0xd]
mov cl, 0x46
call fcn.14007b670
mov byte [rbp - 0xc], al
lea edx, [rsi + 0xe]
mov cl, 0x47
call fcn.14007b670
mov byte [rbp - 0xb], al
lea edx, [rsi + 0xf]
mov cl, 0x48
call fcn.14007b670
mov byte [rbp - 0xa], al
lea edx, [rsi + 0x10]
mov cl, 0x4a
call fcn.14007b670
mov byte [rbp - 9], al
lea edx, [rsi + 0x11]
mov cl, 0x4b
call fcn.14007b670
mov byte [rbp - 8], al
lea edx, [rsi + 0x12]
mov cl, 0x4c
call fcn.14007b670
mov byte [rbp - 7], al
lea edx, [rsi + 0x13]
mov cl, 0x5a
call fcn.14007b670
mov byte [rbp - 6], al
lea edx, [rsi + 0x14]
mov cl, 0x58
call fcn.14007b670
mov byte [rbp - 5], al
lea edx, [rsi + 0x15]
mov cl, 0x43
call fcn.14007b670
mov byte [rbp - 4], al
lea edx, [rsi + 0x16]
mov cl, 0x56
call fcn.14007b670
mov byte [rbp - 3], al
lea edx, [rsi + 0x17]
mov cl, 0x42
call fcn.14007b670
mov byte [rbp - 2], al
lea edx, [rsi + 0x18]
mov cl, 0x4e
call fcn.14007b670
mov byte [rbp - 1], al
lea edx, [rsi + 0x19]
mov cl, 0x4d
call fcn.14007b670
mov byte [rbp], al
lea edx, [rsi + 0x1a]
mov cl, 0x71
call fcn.14007b670
mov byte [rbp + 1], al
lea edx, [rsi + 0x1b]
mov cl, 0x77
call fcn.14007b670
mov byte [rbp + 2], al
lea edx, [rsi + 0x1c]
mov cl, 0x65
call fcn.14007b670
mov byte [rbp + 3], al
lea edx, [rsi + 0x1d]
mov cl, WSAStartup
call fcn.14007b670
mov byte [rbp + 4], al
lea edx, [rsi + 0x1e]
mov cl, reloc.WSOCK32.dll_WSACleanup
call fcn.14007b670
mov byte [rbp + 5], al
lea edx, [rsi + 0x1f]
mov cl, 0x79
call fcn.14007b670
mov byte [rbp + 6], al
lea edx, [rsi + 0x20]
mov cl, 0x75
call fcn.14007b670
mov byte [rbp + 7], al
lea edx, [rsi + 0x21]
mov cl, 0x69
call fcn.14007b670
mov byte [rbp + 8], al
lea edx, [rsi + 0x22]
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rbp + 9], al
lea edx, [rsi + 0x23]
mov cl, reloc.WSOCK32.dll_WSASetLastError
call fcn.14007b670
mov byte [rbp + 0xa], al
lea edx, [rsi + 0x24]
mov cl, 0x61
call fcn.14007b670
mov byte [rbp + 0xb], al
lea edx, [rsi + 0x25]
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007b670
mov byte [rbp + 0xc], al
lea edx, [rsi + 0x26]
mov cl, 0x64
call fcn.14007b670
mov byte [rbp + 0xd], al
lea edx, [rsi + 0x27]
mov cl, 0x66
call fcn.14007b670
mov byte [rbp + 0xe], al
lea edx, [rsi + 0x28]
mov cl, 0x67
call fcn.14007b670
mov byte [rbp + 0xf], al
lea edx, [rsi + 0x29]
mov cl, 0x68
call fcn.14007b670
mov byte [rbp + 0x10], al
lea edx, [rsi + 0x2a]
mov cl, 0x6a
call fcn.14007b670
mov byte [rbp + 0x11], al
lea edx, [rsi + 0x2b]
mov cl, 0x6b
call fcn.14007b670
mov byte [rbp + 0x12], al
lea edx, [rsi + 0x2c]
mov cl, 0x6c
call fcn.14007b670
mov byte [rbp + 0x13], al
lea edx, [rsi + 0x2d]
mov cl, 0x7a
call fcn.14007b670
mov byte [rbp + 0x14], al
lea edx, [rsi + 0x2e]
mov cl, 0x78
call fcn.14007b670
mov byte [rbp + 0x15], al
lea edx, [rsi + 0x2f]
mov cl, 0x63
call fcn.14007b670
mov byte [rbp + 0x16], al
lea edx, [rsi + 0x30]
mov cl, 0x76
call fcn.14007b670
mov byte [rbp + 0x17], al
lea edx, [rsi + 0x31]
mov cl, 0x62
call fcn.14007b670
mov byte [rbp + 0x18], al
lea edx, [rsi + 0x32]
mov cl, WSAGetLastError
call fcn.14007b670
mov byte [rbp + 0x19], al
lea edx, [rsi + 0x33]
mov cl, 0x6d
call fcn.14007b670
mov byte [rbp + 0x1a], al
lea edx, [rsi + 0x34]
mov cl, 0x31
call fcn.14007b670
mov byte [rbp + 0x1b], al
lea edx, [rsi + 0x35]
mov cl, 0x32
call fcn.14007b670
mov byte [rbp + 0x1c], al
lea edx, [rsi + 0x36]
mov cl, 0x33
call fcn.14007b670
mov byte [rbp + 0x1d], al
lea edx, [rsi + 0x37]
mov cl, 0x34
call fcn.14007b670
mov byte [rbp + 0x1e], al
lea edx, [rsi + 0x38]
mov cl, 0x35
call fcn.14007b670
mov byte [rbp + 0x1f], al
lea edx, [rsi + 0x39]
mov cl, 0x36
call fcn.14007b670
mov byte [rbp + 0x20], al
lea edx, [rsi + 0x3a]
mov cl, 0x37
call fcn.14007b670
mov byte [rbp + 0x21], al
lea edx, [rsi + 0x3b]
mov cl, 0x38
call fcn.14007b670
mov byte [rbp + 0x22], al
lea edx, [rsi + 0x3c]
mov cl, 0x39
call fcn.14007b670
mov byte [rbp + 0x23], al
lea edx, [rsi + 0x3d]
mov cl, 0x30
call fcn.14007b670
mov byte [rbp + 0x24], al
xor eax, eax
mov byte [rbp + 0x25], al
movsxd rcx, eax
lea rdx, [rbp - 0x19]
add rdx, rcx
lea ecx, [rax + 0x13]
xor byte [rdx], cl
inc eax
cmp eax, 0x3e
jb 0x14007be01
mov byte [rbp + 0x25], sil
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x14007be35
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.14007af30
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov byte [rbx], 0
mov edi, 1
mov dword [rbp - 0x29], edi
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp + 0x37]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
cmp r9, rcx
jb 0x14007bf9a
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova rdx, qword [rbp + 0x27]
add rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.14007af30
or edi, 2
mov dword [rbp - 0x29], edi
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rbx
call fcn.14007b8b0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14007bf22
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007bf1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007bf66
call fcn.14010a738
cmp qword [rbx + 0x10], 0x20
jne 0x14007be70
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14007bf72
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007bf6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007bf6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14010a738
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14010aaf0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14007b890
int3