Function at 0x14000197c
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 - 0x80]
sub rsp, 0x180
mov rax, qword [0x140078180]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rbx, rcx
mov qword [rbp + 0x50], rcx
and dword [rsp + 0x20], 0
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]
mov ecx, 0x51
xor edx, edx
call fcn.1400012c0
mov word [rsp + 0x30], ax
mov ecx, 0x57
lea edx, [rcx - 0x56]
call fcn.1400012c0
mov word [rsp + 0x32], ax
mov ecx, 0x45
lea edx, [rcx - 0x43]
call fcn.1400012c0
mov word [rsp + 0x34], ax
mov ecx, 0x52
lea edx, [rcx - 0x4f]
call fcn.1400012c0
mov word [rsp + 0x36], ax
mov ecx, 0x54
lea edx, [rcx - 0x50]
call fcn.1400012c0
mov word [rsp + 0x38], ax
mov ecx, 0x59
lea edx, [rcx - 0x54]
call fcn.1400012c0
mov word [rsp + 0x3a], ax
mov ecx, 0x55
lea edx, [rcx - 0x4f]
call fcn.1400012c0
mov word [rsp + 0x3c], ax
mov ecx, 0x49
lea edx, [rcx - 0x42]
call fcn.1400012c0
mov word [rsp + 0x3e], ax
mov ecx, 0x4f
lea edx, [rcx - 0x47]
call fcn.1400012c0
mov word [rsp + 0x40], ax
mov ecx, 0x50
lea edx, [rcx - 0x47]
call fcn.1400012c0
mov word [rsp + 0x42], ax
mov ecx, 0x41
lea edx, [rcx - 0x37]
call fcn.1400012c0
mov word [rsp + 0x44], ax
mov ecx, 0x53
lea edx, [rcx - 0x48]
call fcn.1400012c0
mov word [rsp + 0x46], ax
mov ecx, 0x44
lea edx, [rcx - 0x38]
call fcn.1400012c0
mov word [rsp + 0x48], ax
mov ecx, 0x46
lea edx, [rcx - 0x39]
call fcn.1400012c0
mov word [rsp + 0x4a], ax
mov ecx, 0x47
lea edx, [rcx - 0x39]
call fcn.1400012c0
mov word [rsp + 0x4c], ax
mov ecx, 0x48
lea edx, [rcx - 0x39]
call fcn.1400012c0
mov word [rsp + 0x4e], ax
mov ecx, 0x4a
lea edx, [rcx - 0x3a]
call fcn.1400012c0
mov word [rsp + 0x50], ax
mov ecx, 0x4b
lea edx, [rcx - 0x3a]
call fcn.1400012c0
mov word [rsp + 0x52], ax
mov ecx, 0x4c
lea edx, [rcx - 0x3a]
call fcn.1400012c0
mov word [rsp + 0x54], ax
mov ecx, 0x5a
lea edx, [rcx - 0x47]
call fcn.1400012c0
mov word [rsp + 0x56], ax
mov ecx, 0x58
lea edx, [rcx - 0x44]
call fcn.1400012c0
mov word [rsp + 0x58], ax
mov ecx, 0x43
lea edx, [rcx - 0x2e]
call fcn.1400012c0
mov word [rsp + 0x5a], ax
mov ecx, 0x56
lea edx, [rcx - 0x40]
call fcn.1400012c0
mov word [rsp + 0x5c], ax
mov ecx, 0x42
lea edx, [rcx - 0x2b]
call fcn.1400012c0
mov word [rsp + 0x5e], ax
mov ecx, 0x4e
lea edx, [rcx - 0x36]
call fcn.1400012c0
mov word [rsp + 0x60], ax
mov ecx, 0x4d
lea edx, [rcx - 0x34]
call fcn.1400012c0
mov word [rsp + 0x62], ax
mov ecx, WSACleanup
lea edx, [rcx - 0x57]
call fcn.1400012c0
mov word [rsp + 0x64], ax
mov ecx, 0x77
lea edx, [rcx - 0x5c]
call fcn.1400012c0
mov word [rsp + 0x66], ax
mov ecx, 0x65
lea edx, [rcx - 0x49]
call fcn.1400012c0
mov word [rsp + 0x68], ax
mov ecx, WSACleanup
lea edx, [rcx - 0x55]
call fcn.1400012c0
mov word [rsp + 0x6a], ax
mov ecx, reloc.WS2_32.dll_WSACleanup
lea edx, [rcx - 0x56]
call fcn.1400012c0
mov word [rsp + 0x6c], ax
mov ecx, 0x79
lea edx, [rcx - 0x5a]
call fcn.1400012c0
mov word [rsp + 0x6e], ax
mov ecx, 0x75
lea edx, [rcx - 0x55]
call fcn.1400012c0
mov word [rsp + 0x70], ax
mov ecx, 0x69
lea edx, [rcx - 0x48]
call fcn.1400012c0
mov word [rsp + 0x72], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
lea edx, [rcx - 0x4d]
call fcn.1400012c0
mov word [rsp + 0x74], ax
mov ecx, WSACleanup
lea edx, [rcx - 0x4d]
call fcn.1400012c0
mov word [rsp + 0x76], ax
mov ecx, 0x61
lea edx, [rcx - 0x3d]
call fcn.1400012c0
mov word [rsp + 0x78], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
lea edx, [rcx - 0x4e]
call fcn.1400012c0
mov word [rsp + 0x7a], ax
mov ecx, 0x64
lea edx, [rcx - 0x3e]
call fcn.1400012c0
mov word [rsp + 0x7c], ax
mov ecx, 0x66
lea edx, [rcx - 0x3f]
call fcn.1400012c0
mov word [rsp + 0x7e], ax
mov ecx, 0x67
lea edx, [rcx - 0x3f]
call fcn.1400012c0
mov word [rbp - 0x80], ax
mov ecx, 0x68
lea edx, [rcx - 0x3f]
call fcn.1400012c0
mov word [rbp - 0x7e], ax
mov ecx, 0x6a
lea edx, [rcx - 0x40]
call fcn.1400012c0
mov word [rbp - 0x7c], ax
mov ecx, WSAGetLastError
lea edx, [rcx - 0x40]
call fcn.1400012c0
mov word [rbp - 0x7a], ax
mov ecx, WSAGetLastError
lea edx, [rcx - 0x40]
call fcn.1400012c0
mov word [rbp - 0x78], ax
mov ecx, 0x7a
lea edx, [rcx - 0x4d]
call fcn.1400012c0
mov word [rbp - 0x76], ax
mov ecx, 0x78
lea edx, [rcx - 0x4a]
call fcn.1400012c0
mov word [rbp - 0x74], ax
mov ecx, 0x63
lea edx, [rcx - 0x34]
call fcn.1400012c0
mov word [rbp - 0x72], ax
mov ecx, 0x76
lea edx, [rcx - 0x46]
call fcn.1400012c0
mov word [rbp - 0x70], ax
mov ecx, 0x62
lea esi, [rcx - 0x31]
mov edx, esi
call fcn.1400012c0
mov word [rbp - 0x6e], ax
lea ecx, [rsi + 0x3d]
lea edx, [rsi + 1]
call fcn.1400012c0
mov word [rbp - 0x6c], ax
lea ecx, [rsi + 0x3c]
lea edi, [rsi + 2]
mov edx, edi
call fcn.1400012c0
mov word [rbp - 0x6a], ax
mov ecx, esi
lea esi, [rcx + 3]
mov edx, esi
call fcn.1400012c0
mov word [rbp - 0x68], ax
lea ecx, [rdi - 1]
lea edx, [rdi + 2]
call fcn.1400012c0
mov word [rbp - 0x66], ax
mov ecx, edi
lea edi, [rcx + 3]
mov edx, edi
call fcn.1400012c0
mov word [rbp - 0x64], ax
mov ecx, esi
lea edx, [rsi + 3]
call fcn.1400012c0
mov word [rbp - 0x62], ax
lea ecx, [rsi + 1]
lea esi, [rdi + 2]
mov edx, esi
call fcn.1400012c0
mov word [rbp - 0x60], ax
mov ecx, edi
lea edi, [rcx + 3]
mov edx, edi
call fcn.1400012c0
mov word [rbp - 0x5e], ax
lea ecx, [rsi - 1]
lea edx, [rsi + 2]
call fcn.1400012c0
mov word [rbp - 0x5c], ax
mov ecx, esi
lea edx, [rsi + 3]
call fcn.1400012c0
mov word [rbp - 0x5a], ax
mov ecx, edi
lea edx, [rsi + 4]
call fcn.1400012c0
mov word [rbp - 0x58], ax
lea ecx, [rsi - 8]
lea edx, [rsi + 5]
call fcn.1400012c0
mov word [rbp - 0x56], ax
xor ecx, ecx
lea edx, [rsi + 6]
call fcn.1400012c0
mov word [rbp - 0x54], ax
lea edx, [rsi + 7]
movzx ecx, word [0x14006526e]
call fcn.1400012c0
mov word [rbp - 0x52], ax
lea edx, [rsi + 8]
movzx ecx, word [str.SoftwareDistributionDownload_]
call fcn.1400012c0
mov word [rbp - 0x50], ax
lea edx, [rsi + 9]
movzx ecx, word [0x140065272]
call fcn.1400012c0
mov word [rbp - 0x4e], ax
lea edx, [rsi + 0xa]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.1400012c0
mov word [rbp - 0x4c], ax
lea edx, [rsi + 0xb]
movzx ecx, word [0x140065276]
call fcn.1400012c0
mov word [rbp - 0x4a], ax
lea edx, [rsi + 0xc]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.1400012c0
mov word [rbp - 0x48], ax
lea edx, [rsi + 0xd]
movzx ecx, word [0x14006527a]
call fcn.1400012c0
mov word [rbp - 0x46], ax
lea edx, [rsi + 0xe]
movzx ecx, word [0x14006527c]
call fcn.1400012c0
mov word [rbp - 0x44], ax
lea edx, [rsi + 0xf]
movzx ecx, word [0x14006527e]
call fcn.1400012c0
mov word [rbp - 0x42], ax
lea edx, [rsi + 0x10]
movzx ecx, word [0x140065280]
call fcn.1400012c0
mov word [rbp - 0x40], ax
lea edx, [rsi + 0x11]
movzx ecx, word [0x140065282]
call fcn.1400012c0
mov word [rbp - 0x3e], ax
lea edx, [rsi + 0x12]
movzx ecx, word [0x140065284]
call fcn.1400012c0
mov word [rbp - 0x3c], ax
lea edx, [rsi + 0x13]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rbp - 0x3a], ax
lea edx, [rsi + 0x14]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.1400012c0
mov word [rbp - 0x38], ax
lea edx, [rsi + 0x15]
movzx ecx, word [0x14006528a]
call fcn.1400012c0
mov word [rbp - 0x36], ax
lea edx, [rsi + 0x16]
movzx ecx, word [0x14006528c]
call fcn.1400012c0
mov word [rbp - 0x34], ax
lea edx, [rsi + 0x17]
movzx ecx, word [0x14006528e]
call fcn.1400012c0
mov word [rbp - 0x32], ax
lea edx, [rsi + 0x18]
movzx ecx, word [0x140065290]
call fcn.1400012c0
mov word [rbp - 0x30], ax
lea edx, [rsi + 0x19]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.1400012c0
mov word [rbp - 0x2e], ax
lea edx, [rsi + 0x1a]
movzx ecx, word [0x140065294]
call fcn.1400012c0
mov word [rbp - 0x2c], ax
lea edx, [rsi + 0x1b]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.1400012c0
mov word [rbp - 0x2a], ax
lea edx, [rsi + 0x1c]
movzx ecx, word [0x140065298]
call fcn.1400012c0
mov word [rbp - 0x28], ax
lea edx, [rsi + 0x1d]
movzx ecx, word [0x14006529a]
call fcn.1400012c0
mov word [rbp - 0x26], ax
lea edx, [rsi + 0x1e]
movzx ecx, word [0x14006529c]
call fcn.1400012c0
mov word [rbp - 0x24], ax
lea edx, [rsi + 0x1f]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.1400012c0
mov word [rbp - 0x22], ax
lea edx, [rsi + 0x20]
movzx ecx, word [0x1400652a0]
call fcn.1400012c0
mov word [rbp - 0x20], ax
lea edx, [rsi + 0x21]
movzx ecx, word [0x1400652a2]
call fcn.1400012c0
mov word [rbp - 0x1e], ax
lea edx, [rsi + 0x22]
movzx ecx, word [0x1400652a4]
call fcn.1400012c0
mov word [rbp - 0x1c], ax
lea edx, [rsi + 0x23]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.1400012c0
mov word [rbp - 0x1a], ax
lea edx, [rsi + 0x24]
movzx ecx, word [0x1400652a8]
call fcn.1400012c0
mov word [rbp - 0x18], ax
lea edx, [rsi + 0x25]
movzx ecx, word [0x1400652aa]
call fcn.1400012c0
mov word [rbp - 0x16], ax
lea edx, [rsi + 0x26]
movzx ecx, word [0x1400652ac]
call fcn.1400012c0
mov word [rbp - 0x14], ax
lea edx, [rsi + 0x27]
movzx ecx, word [0x1400652ae]
call fcn.1400012c0
mov word [rbp - 0x12], ax
lea edx, [rsi + 0x28]
movzx ecx, word [str.runas]
call fcn.1400012c0
mov word [rbp - 0x10], ax
lea edx, [rsi + 0x29]
movzx ecx, word [0x1400652b2]
call fcn.1400012c0
mov word [rbp - 0xe], ax
lea edx, [rsi + 0x2a]
movzx ecx, word [0x1400652b4]
call fcn.1400012c0
mov word [rbp - 0xc], ax
lea edx, [rsi + 0x2b]
movzx ecx, word [0x1400652b6]
call fcn.1400012c0
mov word [rbp - 0xa], ax
lea edx, [rsi + 0x2c]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rbp - 8], ax
lea edx, [rsi + 0x2d]
movzx ecx, word [0x1400652ba]
call fcn.1400012c0
mov word [rbp - 6], ax
lea edx, [rsi + 0x2e]
movzx ecx, word [0x1400652bc]
call fcn.1400012c0
mov word [rbp - 4], ax
lea edx, [rsi + 0x2f]
movzx ecx, word [0x1400652be]
call fcn.1400012c0
mov word [rbp - 2], ax
lea edx, [rsi + 0x30]
movzx ecx, word [0x1400652c0]
call fcn.1400012c0
mov word [rbp], ax
lea edx, [rsi + 0x31]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rbp + 2], ax
lea edx, [rsi + 0x32]
movzx ecx, word [0x1400652c4]
call fcn.1400012c0
mov word [rbp + 4], ax
lea edx, [rsi + 0x33]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rbp + 6], ax
lea edx, [rsi + 0x34]
movzx ecx, word [0x1400652c8]
call fcn.1400012c0
mov word [rbp + 8], ax
lea edx, [rsi + 0x35]
movzx ecx, word [0x1400652ca]
call fcn.1400012c0
mov word [rbp + 0xa], ax
lea edx, [rsi + 0x36]
movzx ecx, word [0x1400652cc]
call fcn.1400012c0
mov word [rbp + 0xc], ax
lea edx, [rsi + 0x37]
movzx ecx, word [0x1400652ce]
call fcn.1400012c0
mov word [rbp + 0xe], ax
lea edx, [rsi + 0x38]
movzx ecx, word [str..exe]
call fcn.1400012c0
mov word [rbp + 0x10], ax
lea edx, [rsi + 0x39]
movzx ecx, word [0x1400652d2]
call fcn.1400012c0
mov word [rbp + 0x12], ax
lea edx, [rsi + 0x3a]
movzx ecx, word [0x1400652d4]
call fcn.1400012c0
mov word [rbp + 0x14], ax
lea edx, [rsi + 0x3b]
movzx ecx, word [0x1400652d6]
call fcn.1400012c0
mov word [rbp + 0x16], ax
lea edx, [rsi + 0x3c]
movzx ecx, word [0x1400652d8]
call fcn.1400012c0
mov word [rbp + 0x18], ax
lea edx, [rsi + 0x3d]
movzx ecx, word [0x1400652da]
call fcn.1400012c0
mov word [rbp + 0x1a], ax
lea edx, [rsi + 0x3e]
movzx ecx, word [0x1400652dc]
call fcn.1400012c0
mov word [rbp + 0x1c], ax
lea edx, [rsi + 0x3f]
movzx ecx, word [0x1400652de]
call fcn.1400012c0
mov word [rbp + 0x1e], ax
lea edx, [rsi + 0x40]
movzx ecx, word [str._map]
call fcn.1400012c0
mov word [rbp + 0x20], ax
lea edx, [rsi + 0x41]
movzx ecx, word [0x1400652e2]
call fcn.1400012c0
mov word [rbp + 0x22], ax
lea edx, [rsi + 0x42]
movzx ecx, word [0x1400652e4]
call fcn.1400012c0
mov word [rbp + 0x24], ax
lea edx, [rsi + 0x43]
movzx ecx, word [0x1400652e6]
call fcn.1400012c0
mov word [rbp + 0x26], ax
lea edx, [rsi + 0x44]
movzx ecx, word [0x1400652e8]
call fcn.1400012c0
mov word [rbp + 0x28], ax
xor eax, eax
mov word [rbp + 0x2a], ax
xor esi, esi
mov edx, esi
movsxd rcx, edx
mov eax, 0x133
add eax, edx
xor word [rsp + rcx*2 + 0x30], ax
inc edx
cmp edx, 0x7d
jb 0x1400022a8
mov word [rbp + 0x2a], si
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], rsi
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1400022da
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x58]
call fcn.140009570
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp + 0x68]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rsi
cmp r9, rcx
jb 0x1400023d3
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova rax, qword [rbp + 0x58]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x30]
call fcn.140009570
or edi, 2
mov dword [rsp + 0x20], edi
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, rbx
call fcn.140008b68
nop
lea rcx, [rbp + 0x30]
call fcn.140008d4c
cmp qword [rbx + 0x10], 5
jne 0x140002311
lea rcx, [rbp + 0x58]
call fcn.140008d4c
mov rax, rbx
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140057660
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140008e4c
int3