Function at 0x14001ed20
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
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400d0b68]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15, rcx
mov qword [rbp + 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea ecx, [r14 + 0x51]
xor edx, edx
call fcn.140019110
mov word [rsp + 0x50], ax
lea ecx, [r14 + 0x57]
lea edx, [rcx - 0x56]
call fcn.140019110
mov word [rsp + 0x52], ax
lea ecx, [r14 + 0x45]
lea edx, [rcx - 0x43]
call fcn.140019110
mov word [rsp + 0x54], ax
lea ecx, [r14 + 0x52]
lea edx, [rcx - 0x4f]
call fcn.140019110
mov word [rsp + 0x56], ax
lea ecx, [r14 + 0x54]
lea edx, [rcx - 0x50]
call fcn.140019110
mov word [rsp + 0x58], ax
lea ecx, [r14 + 0x59]
lea edx, [rcx - 0x54]
call fcn.140019110
mov word [rsp + 0x5a], ax
lea ecx, [r14 + 0x55]
lea edx, [rcx - 0x4f]
call fcn.140019110
mov word [rsp + 0x5c], ax
lea ecx, [r14 + 0x49]
lea edx, [rcx - 0x42]
call fcn.140019110
mov word [rsp + 0x5e], ax
lea ecx, [r14 + 0x4f]
lea edx, [rcx - 0x47]
call fcn.140019110
mov word [rsp + 0x60], ax
lea ecx, [r14 + 0x50]
lea edx, [rcx - 0x47]
call fcn.140019110
mov word [rsp + 0x62], ax
lea ecx, [r14 + 0x41]
lea edx, [rcx - 0x37]
call fcn.140019110
mov word [rsp + 0x64], ax
lea ecx, [r14 + 0x53]
lea edx, [rcx - 0x48]
call fcn.140019110
mov word [rsp + 0x66], ax
lea ecx, [r14 + 0x44]
lea edx, [rcx - 0x38]
call fcn.140019110
mov word [rsp + 0x68], ax
lea ecx, [r14 + 0x46]
lea edx, [rcx - 0x39]
call fcn.140019110
mov word [rsp + 0x6a], ax
lea ecx, [r14 + 0x47]
lea edx, [rcx - 0x39]
call fcn.140019110
mov word [rsp + 0x6c], ax
lea ecx, [r14 + 0x48]
lea edx, [rcx - 0x39]
call fcn.140019110
mov word [rsp + 0x6e], ax
lea ecx, [r14 + 0x4a]
lea edx, [rcx - 0x3a]
call fcn.140019110
mov word [rsp + 0x70], ax
lea ecx, [r14 + 0x4b]
lea edx, [rcx - 0x3a]
call fcn.140019110
mov word [rsp + 0x72], ax
lea ecx, [r14 + 0x4c]
lea edx, [rcx - 0x3a]
call fcn.140019110
mov word [rsp + 0x74], ax
lea ecx, [r14 + 0x5a]
lea edx, [rcx - 0x47]
call fcn.140019110
mov word [rsp + 0x76], ax
lea ecx, [r14 + 0x58]
lea edx, [rcx - 0x44]
call fcn.140019110
mov word [rsp + 0x78], ax
lea ecx, [r14 + 0x43]
lea edx, [rcx - 0x2e]
call fcn.140019110
mov word [rsp + 0x7a], ax
lea ecx, [r14 + 0x56]
lea edx, [rcx - 0x40]
call fcn.140019110
mov word [rsp + 0x7c], ax
lea ecx, [r14 + 0x42]
lea edx, [rcx - 0x2b]
call fcn.140019110
mov word [rsp + 0x7e], ax
lea ecx, [r14 + 0x4e]
lea edx, [rcx - 0x36]
call fcn.140019110
mov word [rbp - 0x80], ax
lea ecx, [r14 + 0x4d]
lea edx, [rcx - 0x34]
call fcn.140019110
mov word [rbp - 0x7e], ax
lea ecx, [r14 + 0x71]
lea edx, [rcx - 0x57]
call fcn.140019110
mov word [rbp - 0x7c], ax
lea ecx, [r14 + 0x77]
lea edx, [rcx - 0x5c]
call fcn.140019110
mov word [rbp - 0x7a], ax
lea ecx, [r14 + 0x65]
lea edx, [rcx - 0x49]
call fcn.140019110
mov word [rbp - 0x78], ax
lea ecx, [r14 + 0x72]
lea edx, [rcx - 0x55]
call fcn.140019110
mov word [rbp - 0x76], ax
lea ecx, [r14 + 0x74]
lea edx, [rcx - 0x56]
call fcn.140019110
mov word [rbp - 0x74], ax
lea ecx, [r14 + 0x79]
lea edx, [rcx - 0x5a]
call fcn.140019110
mov word [rbp - 0x72], ax
lea ecx, [r14 + 0x75]
lea edx, [rcx - 0x55]
call fcn.140019110
mov word [rbp - 0x70], ax
lea ecx, [r14 + 0x69]
lea edx, [rcx - 0x48]
call fcn.140019110
mov word [rbp - 0x6e], ax
lea ecx, [r14 + 0x6f]
lea edx, [rcx - 0x4d]
call fcn.140019110
mov word [rbp - 0x6c], ax
lea ecx, [r14 + 0x70]
lea edx, [rcx - 0x4d]
call fcn.140019110
mov word [rbp - 0x6a], ax
lea ecx, [r14 + 0x61]
lea edx, [rcx - 0x3d]
call fcn.140019110
mov word [rbp - 0x68], ax
lea ecx, [r14 + 0x73]
lea edx, [rcx - 0x4e]
call fcn.140019110
mov word [rbp - 0x66], ax
lea ecx, [r14 + 0x64]
lea edx, [rcx - 0x3e]
call fcn.140019110
mov word [rbp - 0x64], ax
lea ecx, [r14 + 0x66]
lea edx, [rcx - 0x3f]
call fcn.140019110
mov word [rbp - 0x62], ax
lea ecx, [r14 + 0x67]
lea edx, [rcx - 0x3f]
call fcn.140019110
mov word [rbp - 0x60], ax
lea ecx, [r14 + 0x68]
lea edx, [rcx - 0x3f]
call fcn.140019110
mov word [rbp - 0x5e], ax
lea ecx, [r14 + 0x6a]
lea edx, [rcx - 0x40]
call fcn.140019110
mov word [rbp - 0x5c], ax
lea ecx, [r14 + 0x6b]
lea edx, [rcx - 0x40]
call fcn.140019110
mov word [rbp - 0x5a], ax
lea ecx, [r14 + 0x6c]
lea edx, [rcx - 0x40]
call fcn.140019110
mov word [rbp - 0x58], ax
lea ecx, [r14 + 0x7a]
lea edx, [rcx - 0x4d]
call fcn.140019110
mov word [rbp - 0x56], ax
lea ecx, [r14 + 0x78]
lea edx, [rcx - 0x4a]
call fcn.140019110
mov word [rbp - 0x54], ax
lea ecx, [r14 + 0x63]
lea edx, [rcx - 0x34]
call fcn.140019110
mov word [rbp - 0x52], ax
lea ecx, [r14 + 0x76]
lea edx, [rcx - 0x46]
call fcn.140019110
mov word [rbp - 0x50], ax
lea ecx, [r14 + 0x62]
lea edx, [rcx - 0x31]
call fcn.140019110
mov word [rbp - 0x4e], ax
lea ecx, [r14 + 0x6e]
lea edx, [rcx - 0x3c]
call fcn.140019110
mov word [rbp - 0x4c], ax
lea ecx, [r14 + 0x6d]
lea edx, [rcx - 0x3a]
call fcn.140019110
mov word [rbp - 0x4a], ax
lea ecx, [r14 + 0x31]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x48], ax
lea ecx, [r14 + 0x32]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x46], ax
lea ecx, [r14 + 0x33]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x44], ax
lea ecx, [r14 + 0x34]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x42], ax
lea ecx, [r14 + 0x35]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x40], ax
lea ecx, [r14 + 0x36]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x3e], ax
lea ecx, [r14 + 0x37]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x3c], ax
lea ecx, [r14 + 0x38]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x3a], ax
lea ecx, [r14 + 0x39]
lea edx, [rcx + 3]
call fcn.140019110
mov word [rbp - 0x38], ax
lea ecx, [r14 + 0x30]
lea edx, [rcx + 0xd]
call fcn.140019110
mov word [rbp - 0x36], ax
xor ecx, ecx
lea edx, [rcx + 0x3e]
call fcn.140019110
mov word [rbp - 0x34], ax
lea edx, [r14 + 0x3f]
movzx ecx, word [0x140072dfe]
call fcn.140019110
mov word [rbp - 0x32], ax
lea edx, [r14 + 0x40]
movzx ecx, word [str.SoftwareDistributionDownload_]
call fcn.140019110
mov word [rbp - 0x30], ax
lea edx, [r14 + 0x41]
movzx ecx, word [0x140072e02]
call fcn.140019110
mov word [rbp - 0x2e], ax
lea edx, [r14 + 0x42]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.140019110
mov word [rbp - 0x2c], ax
lea edx, [r14 + 0x43]
movzx ecx, word [0x140072e06]
call fcn.140019110
mov word [rbp - 0x2a], ax
lea edx, [r14 + 0x44]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.140019110
mov word [rbp - 0x28], ax
lea edx, [r14 + 0x45]
movzx ecx, word [0x140072e0a]
call fcn.140019110
mov word [rbp - 0x26], ax
lea edx, [r14 + 0x46]
movzx ecx, word [0x140072e0c]
call fcn.140019110
mov word [rbp - 0x24], ax
lea edx, [r14 + 0x47]
movzx ecx, word [0x140072e0e]
call fcn.140019110
mov word [rbp - 0x22], ax
lea edx, [r14 + 0x48]
movzx ecx, word [0x140072e10]
call fcn.140019110
mov word [rbp - 0x20], ax
lea edx, [r14 + 0x49]
movzx ecx, word [0x140072e12]
call fcn.140019110
mov word [rbp - 0x1e], ax
lea edx, [r14 + 0x4a]
movzx ecx, word [0x140072e14]
call fcn.140019110
mov word [rbp - 0x1c], ax
lea edx, [r14 + 0x4b]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rbp - 0x1a], ax
lea edx, [r14 + 0x4c]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.140019110
mov word [rbp - 0x18], ax
lea edx, [r14 + 0x4d]
movzx ecx, word [0x140072e1a]
call fcn.140019110
mov word [rbp - 0x16], ax
lea edx, [r14 + 0x4e]
movzx ecx, word [0x140072e1c]
call fcn.140019110
mov word [rbp - 0x14], ax
lea edx, [r14 + 0x4f]
movzx ecx, word [0x140072e1e]
call fcn.140019110
mov word [rbp - 0x12], ax
lea edx, [r14 + 0x50]
movzx ecx, word [0x140072e20]
call fcn.140019110
mov word [rbp - 0x10], ax
lea edx, [r14 + 0x51]
movzx ecx, word [reloc.WS2_32.dll_WSACleanup]
call fcn.140019110
mov word [rbp - 0xe], ax
lea edx, [r14 + 0x52]
movzx ecx, word [0x140072e24]
call fcn.140019110
mov word [rbp - 0xc], ax
lea edx, [r14 + 0x53]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.140019110
mov word [rbp - 0xa], ax
lea edx, [r14 + 0x54]
movzx ecx, word [0x140072e28]
call fcn.140019110
mov word [rbp - 8], ax
lea edx, [r14 + 0x55]
movzx ecx, word [0x140072e2a]
call fcn.140019110
mov word [rbp - 6], ax
lea edx, [r14 + 0x56]
movzx ecx, word [0x140072e2c]
call fcn.140019110
mov word [rbp - 4], ax
lea edx, [r14 + 0x57]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.140019110
mov word [rbp - 2], ax
lea edx, [r14 + 0x58]
movzx ecx, word [0x140072e30]
call fcn.140019110
mov word [rbp], ax
lea edx, [r14 + 0x59]
movzx ecx, word [0x140072e32]
call fcn.140019110
mov word [rbp + 2], ax
lea edx, [r14 + 0x5a]
movzx ecx, word [0x140072e34]
call fcn.140019110
mov word [rbp + 4], ax
lea edx, [r14 + 0x5b]
movzx ecx, word [reloc.WS2_32.dll_WSAGetLastError]
call fcn.140019110
mov word [rbp + 6], ax
lea edx, [r14 + 0x5c]
movzx ecx, word [0x140072e38]
call fcn.140019110
mov word [rbp + 8], ax
lea edx, [r14 + 0x5d]
movzx ecx, word [0x140072e3a]
call fcn.140019110
mov word [rbp + 0xa], ax
lea edx, [r14 + 0x5e]
movzx ecx, word [0x140072e3c]
call fcn.140019110
mov word [rbp + 0xc], ax
lea edx, [r14 + 0x5f]
movzx ecx, word [0x140072e3e]
call fcn.140019110
mov word [rbp + 0xe], ax
lea edx, [r14 + 0x60]
movzx ecx, word [str.runas]
call fcn.140019110
mov word [rbp + 0x10], ax
lea edx, [r14 + 0x61]
movzx ecx, word [0x140072e42]
call fcn.140019110
mov word [rbp + 0x12], ax
lea edx, [r14 + 0x62]
movzx ecx, word [0x140072e44]
call fcn.140019110
mov word [rbp + 0x14], ax
lea edx, [r14 + 0x63]
movzx ecx, word [0x140072e46]
call fcn.140019110
mov word [rbp + 0x16], ax
lea edx, [r14 + 0x64]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rbp + 0x18], ax
lea edx, [r14 + 0x65]
movzx ecx, word [0x140072e4a]
call fcn.140019110
mov word [rbp + 0x1a], ax
lea edx, [r14 + 0x66]
movzx ecx, word [0x140072e4c]
call fcn.140019110
mov word [rbp + 0x1c], ax
lea edx, [r14 + 0x67]
movzx ecx, word [0x140072e4e]
call fcn.140019110
mov word [rbp + 0x1e], ax
lea edx, [r14 + 0x68]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.140019110
mov word [rbp + 0x20], ax
lea edx, [r14 + 0x69]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rbp + 0x22], ax
lea edx, [r14 + 0x6a]
movzx ecx, word [0x140072e54]
call fcn.140019110
mov word [rbp + 0x24], ax
lea edx, [r14 + 0x6b]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.140019110
mov word [rbp + 0x26], ax
lea edx, [r14 + 0x6c]
movzx ecx, word [0x140072e58]
call fcn.140019110
mov word [rbp + 0x28], ax
lea edx, [r14 + 0x6d]
movzx ecx, word [0x140072e5a]
call fcn.140019110
mov word [rbp + 0x2a], ax
lea edx, [r14 + 0x6e]
movzx ecx, word [0x140072e5c]
call fcn.140019110
mov word [rbp + 0x2c], ax
lea edx, [r14 + 0x6f]
movzx ecx, word [0x140072e5e]
call fcn.140019110
mov word [rbp + 0x2e], ax
lea edx, [r14 + 0x70]
movzx ecx, word [str..exe]
call fcn.140019110
mov word [rbp + 0x30], ax
lea edx, [r14 + 0x71]
movzx ecx, word [0x140072e62]
call fcn.140019110
mov word [rbp + 0x32], ax
lea edx, [r14 + 0x72]
movzx ecx, word [0x140072e64]
call fcn.140019110
mov word [rbp + 0x34], ax
lea edx, [r14 + 0x73]
movzx ecx, word [0x140072e66]
call fcn.140019110
mov word [rbp + 0x36], ax
lea edx, [r14 + 0x74]
movzx ecx, word [0x140072e68]
call fcn.140019110
mov word [rbp + 0x38], ax
lea edx, [r14 + 0x75]
movzx ecx, word [0x140072e6a]
call fcn.140019110
mov word [rbp + 0x3a], ax
lea edx, [r14 + 0x76]
movzx ecx, word [0x140072e6c]
call fcn.140019110
mov word [rbp + 0x3c], ax
lea edx, [r14 + 0x77]
movzx ecx, word [0x140072e6e]
call fcn.140019110
mov word [rbp + 0x3e], ax
lea edx, [r14 + 0x78]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_45]
call fcn.140019110
mov word [rbp + 0x40], ax
lea edx, [r14 + 0x79]
movzx ecx, word [0x140072e72]
call fcn.140019110
mov word [rbp + 0x42], ax
lea edx, [r14 + 0x7a]
movzx ecx, word [0x140072e74]
call fcn.140019110
mov word [rbp + 0x44], ax
lea edx, [r14 + 0x7b]
movzx ecx, word [reloc.WS2_32.dll_WSASetLastError]
call fcn.140019110
mov word [rbp + 0x46], ax
lea edx, [r14 + 0x7c]
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_32]
call fcn.140019110
mov word [rbp + 0x48], ax
xor eax, eax
mov word [rbp + 0x4a], ax
mov r8d, 0x133
movsxd rcx, eax
lea rdx, [rsp + 0x50]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x7d
jb 0x14001f650
mov word [rbp + 0x4a], r14w
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x14001f690
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
call fcn.1400197b0
nop
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
mov r12d, 1
mov dword [rsp + 0x20], r12d
mov rbx, qword [rbp + 0x70]
lea rsi, [rbx + 1]
mov qword [rbp + 0x50], rsi
mov rdi, qword [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rsi
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
cmp rbx, rcx
jb 0x14001f8cc
mov rax, rbx
sub rax, rcx
mov esi, 1
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, rdi
lea r13, [rax + rcx*2]
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x14001f8c6
cmp rsi, 8
jae 0x14001f77b
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r13
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x28], r14w
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
jmp 0x14001f7d2
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x14001f78c
mov rdi, rax
jmp 0x14001f799
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x28]
call fcn.14000b4c0
mov r14, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r14 + rbx], ax
or r12d, 2
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x28]
cmp rdi, 8
cmovae rdx, r14
mov r8, rsi
mov rcx, r15
call fcn.14000b440
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001f832
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f82d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f849
call fcn.14006e438
cmp qword [r15 + 0x10], 5
je 0x14001f850
mov rbx, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x50]
xor r14d, r14d
jmp 0x14001f6d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rbp + 0x78]
cmp rax, 8
jb 0x14001f893
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f88e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f88e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e438
mov rax, r15
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14006e560
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002ba0
int3
call fcn.140019b20
int3