Function at 0x1400022e0
Capabilities:
Authenticate hmac
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 [0x140043040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.140018bf0
mov ecx, eax
call fcn.140015798
mov ecx, 0x51
xor edx, edx
call fcn.140001150
mov word [rsp + 0x30], ax
mov ecx, 0x57
mov edx, 1
call fcn.140001150
mov word [rsp + 0x32], ax
mov ecx, 0x45
mov edx, 2
call fcn.140001150
mov word [rsp + 0x34], ax
mov ecx, 0x52
mov edx, 3
call fcn.140001150
mov word [rsp + 0x36], ax
mov ecx, 0x54
mov edx, 4
call fcn.140001150
mov word [rsp + 0x38], ax
mov ecx, 0x59
mov edx, 5
call fcn.140001150
mov word [rsp + 0x3a], ax
mov ecx, 0x55
mov edx, 6
call fcn.140001150
mov word [rsp + 0x3c], ax
mov ecx, 0x49
mov edx, 7
call fcn.140001150
mov word [rsp + 0x3e], ax
mov ecx, 0x4f
mov edx, 8
call fcn.140001150
mov word [rsp + 0x40], ax
mov ecx, 0x50
mov edx, 9
call fcn.140001150
mov word [rsp + 0x42], ax
mov ecx, 0x41
mov edx, 0xa
call fcn.140001150
mov word [rsp + 0x44], ax
mov ecx, 0x53
mov edx, 0xb
call fcn.140001150
mov word [rsp + 0x46], ax
mov ecx, 0x44
mov edx, 0xc
call fcn.140001150
mov word [rsp + 0x48], ax
mov ecx, 0x46
mov edx, 0xd
call fcn.140001150
mov word [rsp + 0x4a], ax
mov ecx, 0x47
mov edx, 0xe
call fcn.140001150
mov word [rsp + 0x4c], ax
mov ecx, 0x48
mov edx, 0xf
call fcn.140001150
mov word [rsp + 0x4e], ax
mov ecx, 0x4a
mov edx, 0x10
call fcn.140001150
mov word [rsp + 0x50], ax
mov ecx, 0x4b
mov edx, 0x11
call fcn.140001150
mov word [rsp + 0x52], ax
mov ecx, 0x4c
mov edx, 0x12
call fcn.140001150
mov word [rsp + 0x54], ax
mov ecx, 0x5a
mov edx, 0x13
call fcn.140001150
mov word [rsp + 0x56], ax
mov ecx, 0x58
mov edx, 0x14
call fcn.140001150
mov word [rsp + 0x58], ax
mov ecx, 0x43
mov edx, 0x15
call fcn.140001150
mov word [rsp + 0x5a], ax
mov ecx, 0x56
mov edx, 0x16
call fcn.140001150
mov word [rsp + 0x5c], ax
mov ecx, 0x42
mov edx, 0x17
call fcn.140001150
mov word [rsp + 0x5e], ax
mov ecx, 0x4e
mov edx, 0x18
call fcn.140001150
mov word [rsp + 0x60], ax
mov ecx, 0x4d
mov edx, 0x19
call fcn.140001150
mov word [rsp + 0x62], ax
mov ecx, 0x71
mov edx, 0x1a
call fcn.140001150
mov word [rsp + 0x64], ax
mov ecx, 0x77
mov edx, 0x1b
call fcn.140001150
mov word [rsp + 0x66], ax
mov ecx, 0x65
mov edx, 0x1c
call fcn.140001150
mov word [rsp + 0x68], ax
mov ecx, 0x72
mov edx, 0x1d
call fcn.140001150
mov word [rsp + 0x6a], ax
mov ecx, 0x74
mov edx, 0x1e
call fcn.140001150
mov word [rsp + 0x6c], ax
mov ecx, 0x79
mov edx, 0x1f
call fcn.140001150
mov word [rsp + 0x6e], ax
mov ecx, 0x75
mov edx, 0x20
call fcn.140001150
mov word [rsp + 0x70], ax
mov ecx, 0x69
mov edx, 0x21
call fcn.140001150
mov word [rsp + 0x72], ax
mov ecx, 0x6f
mov edx, 0x22
call fcn.140001150
mov word [rsp + 0x74], ax
mov ecx, 0x70
mov edx, 0x23
call fcn.140001150
mov word [rsp + 0x76], ax
mov ecx, 0x61
mov edx, 0x24
call fcn.140001150
mov word [rsp + 0x78], ax
mov ecx, 0x73
mov edx, 0x25
call fcn.140001150
mov word [rsp + 0x7a], ax
mov ecx, 0x64
mov edx, 0x26
call fcn.140001150
mov word [rsp + 0x7c], ax
mov ecx, 0x66
mov edx, 0x27
call fcn.140001150
mov word [rsp + 0x7e], ax
mov ecx, 0x67
mov edx, 0x28
call fcn.140001150
mov word [rbp - 0x80], ax
mov ecx, 0x68
mov edx, 0x29
call fcn.140001150
mov word [rbp - 0x7e], ax
mov ecx, 0x6a
mov edx, 0x2a
call fcn.140001150
mov word [rbp - 0x7c], ax
mov ecx, 0x6b
mov edx, 0x2b
call fcn.140001150
mov word [rbp - 0x7a], ax
mov ecx, 0x6c
mov edx, 0x2c
call fcn.140001150
mov word [rbp - 0x78], ax
mov ecx, 0x7a
mov edx, 0x2d
call fcn.140001150
mov word [rbp - 0x76], ax
mov ecx, 0x78
mov edx, 0x2e
call fcn.140001150
mov word [rbp - 0x74], ax
mov ecx, 0x63
mov edx, 0x2f
call fcn.140001150
mov word [rbp - 0x72], ax
mov ecx, 0x76
mov edx, 0x30
call fcn.140001150
mov word [rbp - 0x70], ax
mov ecx, 0x62
mov edx, 0x31
call fcn.140001150
mov word [rbp - 0x6e], ax
mov ecx, 0x6e
mov edx, 0x32
call fcn.140001150
mov word [rbp - 0x6c], ax
mov ecx, 0x6d
mov edx, 0x33
call fcn.140001150
mov word [rbp - 0x6a], ax
mov ecx, 0x31
mov edx, 0x34
call fcn.140001150
mov word [rbp - 0x68], ax
mov ecx, 0x32
mov edx, 0x35
call fcn.140001150
mov word [rbp - 0x66], ax
mov ecx, 0x33
mov edx, 0x36
call fcn.140001150
mov word [rbp - 0x64], ax
mov ecx, 0x34
mov edx, 0x37
call fcn.140001150
mov word [rbp - 0x62], ax
mov ecx, 0x35
mov edx, 0x38
call fcn.140001150
mov word [rbp - 0x60], ax
mov ecx, 0x36
mov edx, 0x39
call fcn.140001150
mov word [rbp - 0x5e], ax
mov ecx, 0x37
mov edx, 0x3a
call fcn.140001150
mov word [rbp - 0x5c], ax
mov ecx, 0x38
mov edx, 0x3b
call fcn.140001150
mov word [rbp - 0x5a], ax
mov ecx, 0x39
mov edx, 0x3c
call fcn.140001150
mov word [rbp - 0x58], ax
mov ecx, 0x30
mov edx, 0x3d
call fcn.140001150
mov word [rbp - 0x56], ax
xor ecx, ecx
mov edx, 0x3e
call fcn.140001150
mov word [rbp - 0x54], ax
mov edx, 0x3f
movzx ecx, word [0x14003d45e]
call fcn.140001150
mov word [rbp - 0x52], ax
mov edx, 0x40
movzx ecx, word [str.SoftwareDistributionDownload_]
call fcn.140001150
mov word [rbp - 0x50], ax
mov edx, 0x41
movzx ecx, word [0x14003d462]
call fcn.140001150
mov word [rbp - 0x4e], ax
mov edx, 0x42
movzx ecx, word [0x14003d464]
call fcn.140001150
mov word [rbp - 0x4c], ax
mov edx, 0x43
movzx ecx, word [0x14003d466]
call fcn.140001150
mov word [rbp - 0x4a], ax
mov edx, 0x44
movzx ecx, word [0x14003d468]
call fcn.140001150
mov word [rbp - 0x48], ax
mov edx, 0x45
movzx ecx, word [0x14003d46a]
call fcn.140001150
mov word [rbp - 0x46], ax
mov edx, 0x46
movzx ecx, word [0x14003d46c]
call fcn.140001150
mov word [rbp - 0x44], ax
mov edx, 0x47
movzx ecx, word [0x14003d46e]
call fcn.140001150
mov word [rbp - 0x42], ax
mov edx, 0x48
movzx ecx, word [0x14003d470]
call fcn.140001150
mov word [rbp - 0x40], ax
mov edx, 0x49
movzx ecx, word [0x14003d472]
call fcn.140001150
mov word [rbp - 0x3e], ax
mov edx, 0x4a
movzx ecx, word [0x14003d474]
call fcn.140001150
mov word [rbp - 0x3c], ax
mov edx, 0x4b
movzx ecx, word [0x14003d476]
call fcn.140001150
mov word [rbp - 0x3a], ax
mov edx, 0x4c
movzx ecx, word [0x14003d478]
call fcn.140001150
mov word [rbp - 0x38], ax
mov edx, 0x4d
movzx ecx, word [0x14003d47a]
call fcn.140001150
mov word [rbp - 0x36], ax
mov edx, 0x4e
movzx ecx, word [0x14003d47c]
call fcn.140001150
mov word [rbp - 0x34], ax
mov edx, 0x4f
movzx ecx, word [0x14003d47e]
call fcn.140001150
mov word [rbp - 0x32], ax
mov edx, 0x50
movzx ecx, word [0x14003d480]
call fcn.140001150
mov word [rbp - 0x30], ax
mov edx, 0x51
movzx ecx, word [0x14003d482]
call fcn.140001150
mov word [rbp - 0x2e], ax
mov edx, 0x52
movzx ecx, word [0x14003d484]
call fcn.140001150
mov word [rbp - 0x2c], ax
mov edx, 0x53
movzx ecx, word [0x14003d486]
call fcn.140001150
mov word [rbp - 0x2a], ax
mov edx, 0x54
movzx ecx, word [0x14003d488]
call fcn.140001150
mov word [rbp - 0x28], ax
mov edx, 0x55
movzx ecx, word [0x14003d48a]
call fcn.140001150
mov word [rbp - 0x26], ax
mov edx, 0x56
movzx ecx, word [0x14003d48c]
call fcn.140001150
mov word [rbp - 0x24], ax
mov edx, 0x57
movzx ecx, word [0x14003d48e]
call fcn.140001150
mov word [rbp - 0x22], ax
mov edx, 0x58
movzx ecx, word [0x14003d490]
call fcn.140001150
mov word [rbp - 0x20], ax
mov edx, 0x59
movzx ecx, word [0x14003d492]
call fcn.140001150
mov word [rbp - 0x1e], ax
mov edx, 0x5a
movzx ecx, word [0x14003d494]
call fcn.140001150
mov word [rbp - 0x1c], ax
mov edx, 0x5b
movzx ecx, word [0x14003d496]
call fcn.140001150
mov word [rbp - 0x1a], ax
mov edx, 0x5c
movzx ecx, word [0x14003d498]
call fcn.140001150
mov word [rbp - 0x18], ax
mov edx, 0x5d
movzx ecx, word [0x14003d49a]
call fcn.140001150
mov word [rbp - 0x16], ax
mov edx, 0x5e
movzx ecx, word [0x14003d49c]
call fcn.140001150
mov word [rbp - 0x14], ax
mov edx, 0x5f
movzx ecx, word [0x14003d49e]
call fcn.140001150
mov word [rbp - 0x12], ax
mov edx, 0x60
movzx ecx, word [str.runas]
call fcn.140001150
mov word [rbp - 0x10], ax
mov edx, 0x61
movzx ecx, word [0x14003d4a2]
call fcn.140001150
mov word [rbp - 0xe], ax
mov edx, 0x62
movzx ecx, word [0x14003d4a4]
call fcn.140001150
mov word [rbp - 0xc], ax
mov edx, 0x63
movzx ecx, word [0x14003d4a6]
call fcn.140001150
mov word [rbp - 0xa], ax
mov edx, 0x64
movzx ecx, word [0x14003d4a8]
call fcn.140001150
mov word [rbp - 8], ax
mov edx, 0x65
movzx ecx, word [0x14003d4aa]
call fcn.140001150
mov word [rbp - 6], ax
mov edx, 0x66
movzx ecx, word [0x14003d4ac]
call fcn.140001150
mov word [rbp - 4], ax
mov edx, 0x67
movzx ecx, word [0x14003d4ae]
call fcn.140001150
mov word [rbp - 2], ax
mov edx, 0x68
movzx ecx, word [0x14003d4b0]
call fcn.140001150
mov word [rbp], ax
mov edx, 0x69
movzx ecx, word [0x14003d4b2]
call fcn.140001150
mov word [rbp + 2], ax
mov edx, 0x6a
movzx ecx, word [0x14003d4b4]
call fcn.140001150
mov word [rbp + 4], ax
mov edx, 0x6b
movzx ecx, word [0x14003d4b6]
call fcn.140001150
mov word [rbp + 6], ax
mov edx, 0x6c
movzx ecx, word [0x14003d4b8]
call fcn.140001150
mov word [rbp + 8], ax
mov edx, 0x6d
movzx ecx, word [0x14003d4ba]
call fcn.140001150
mov word [rbp + 0xa], ax
mov edx, 0x6e
movzx ecx, word [0x14003d4bc]
call fcn.140001150
mov word [rbp + 0xc], ax
mov edx, 0x6f
movzx ecx, word [0x14003d4be]
call fcn.140001150
mov word [rbp + 0xe], ax
mov edx, 0x70
movzx ecx, word [str..exe]
call fcn.140001150
mov word [rbp + 0x10], ax
mov edx, 0x71
movzx ecx, word [0x14003d4c2]
call fcn.140001150
mov word [rbp + 0x12], ax
mov edx, 0x72
movzx ecx, word [0x14003d4c4]
call fcn.140001150
mov word [rbp + 0x14], ax
mov edx, 0x73
movzx ecx, word [0x14003d4c6]
call fcn.140001150
mov word [rbp + 0x16], ax
mov edx, 0x74
movzx ecx, word [0x14003d4c8]
call fcn.140001150
mov word [rbp + 0x18], ax
mov edx, 0x75
movzx ecx, word [0x14003d4ca]
call fcn.140001150
mov word [rbp + 0x1a], ax
mov edx, 0x76
movzx ecx, word [0x14003d4cc]
call fcn.140001150
mov word [rbp + 0x1c], ax
mov edx, 0x77
movzx ecx, word [0x14003d4ce]
call fcn.140001150
mov word [rbp + 0x1e], ax
mov edx, 0x78
movzx ecx, word [0x14003d4d0]
call fcn.140001150
mov word [rbp + 0x20], ax
mov edx, 0x79
movzx ecx, word [0x14003d4d2]
call fcn.140001150
mov word [rbp + 0x22], ax
mov edx, 0x7a
movzx ecx, word [0x14003d4d4]
call fcn.140001150
mov word [rbp + 0x24], ax
mov edx, 0x7b
movzx ecx, word [0x14003d4d6]
call fcn.140001150
mov word [rbp + 0x26], ax
mov edx, 0x7c
movzx ecx, word [0x14003d4d8]
call fcn.140001150
mov word [rbp + 0x28], ax
xor eax, eax
mov word [rbp + 0x2a], ax
movdqa xmm4, xmmword [0x14003d7d0]
movdqa xmm5, xmmword [0x14003d7f0]
nop dword [rax]
nop word [rax + rax]
movsxd rdx, eax
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x30]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x30], xmm3
lea ecx, [rax + 4]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x38]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x38], xmm3
lea ecx, [rax + 8]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x40]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x40], xmm3
lea ecx, [rax + 0xc]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x48]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x48], xmm3
add eax, 0x10
cmp eax, 0x70
jb 0x140002d30
cmp eax, 0x7d
jae 0x140002e3a
mov r8d, 0x133
nop
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x7d
jb 0x140002e20
mov word [rbp + 0x2a], si
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rsi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140002e60
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14000b590
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 fcn.14001576c
cdqe
mov r9, qword [rbp + 0x40]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rsi
cmp r9, rcx
jb 0x140002fb6
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x50]
call fcn.14000b590
or edi, 2
mov dword [rsp + 0x20], edi
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.14000a2a0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140002f41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002fb0
call fcn.14000fc04
cmp qword [rbx + 0x10], 5
jne 0x140002e97
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140002f88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002fbc
call fcn.14000fc04
mov rax, rbx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000f8c0
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.140019114
int3
call fcn.14000ad90
nop
call fcn.140019114
int3