Function at 0x140002f50
Capabilities:
Contain obfuscated stackstrings
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x558], rbx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
je 0x140003478
mov dword [rbp - 0x80], 0x740068
mov dword [rbp - 0x7c], 0x700074
mov dword [rbp - 0x78], 0x2f003a
mov dword [rbp - 0x74], 0x61002f
mov dword [rbp - 0x70], 0x690070
mov dword [rbp - 0x6c], 0x70002e
mov dword [rbp - 0x68], 0x6e0069
mov dword [rbp - 0x64], 0x750064
mov dword [rbp - 0x60], 0x64006f
mov dword [rbp - 0x5c], 0x6f0075
mov dword [rbp - 0x58], 0x63002e
mov dword [rbp - 0x54], 0x6d006f
mov dword [rbp - 0x50], 0x61002f
mov dword [rbp - 0x4c], 0x690070
mov dword [rbp - 0x48], 0x73002f
mov dword [rbp - 0x44], 0x720065
mov dword [rbp - 0x40], 0x650076
mov dword [rbp - 0x3c], 0x2f0072
mov dword [rbp - 0x38], 0x73005f
mov dword [rbp - 0x34], 0x6d0074
mov word [rbp - 0x30], r13w
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140003069
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140003478
mov dword [rbp + 0x440], r13d
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], r13b
lea r9, [rbp + 0x440]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400030da
mov eax, dword [rbp + 0x440]
test eax, eax
je 0x1400030da
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140003c50
lea r9, [rbp + 0x440]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400030a1
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
lea rbx, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 0x10
cmovae rbx, r8
nop word [rax + rax]
lea rcx, [rsp + 0x30]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x40]
add rax, rcx
cmp rbx, rax
je 0x14000315d
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003158
lea rcx, [rsp + 0x58]
call fcn.140003b60
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x140003120
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
mov dword [rbp + 0x448], r13d
lea r9, [rbp + 0x448]
mov r8d, 0xa
lea rdx, [rbp + 0x450]
mov rcx, rbx
call fcn.14000cf78
mov rsi, rax
cmp rbx, qword [rbp + 0x450]
jne 0x1400031aa
lea rcx, str.invalid_stoll_argument
call fcn.140009778
int3
cmp dword [rbp + 0x448], 0
je 0x1400031c0
lea rcx, str.stoll_argument_out_of_range
call fcn.140009830
int3
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x140003219
cmp qword [rsp + 0x70], 0x10
jb 0x140003201
mov rcx, qword [rsp + 0x58]
call fcn.14000f0a4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140003466
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140003275
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp qword [rsp + 0x70], 0x10
jb 0x14000325d
mov rcx, qword [rsp + 0x58]
call fcn.14000f0a4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140003466
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rax, qword [rsp + 0x30]
mov byte [rax], 0
lea r9, [rbp + 0x440]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400032e9
nop dword [rax]
mov eax, dword [rbp + 0x440]
test eax, eax
je 0x1400032e9
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140003c50
lea r9, [rbp + 0x440]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400032b0
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], 0
lea rbx, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 0x10
cmovae rbx, r8
lea rcx, [rsp + 0x30]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x40]
add rax, rcx
cmp rbx, rax
je 0x14000335e
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003359
lea rcx, [rbp - 0x20]
call fcn.140003b60
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x140003322
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
mov dword [rbp + 0x448], r13d
lea r9, [rbp + 0x448]
mov r8d, 0xa
lea rdx, [rbp + 0x450]
mov rcx, rbx
call fcn.14000cf78
cmp rbx, qword [rbp + 0x450]
jne 0x1400033a5
lea rcx, str.invalid_stoll_argument
call fcn.140009778
int3
cmp dword [rbp + 0x448], 0
je 0x1400033bb
lea rcx, str.stoll_argument_out_of_range
call fcn.140009830
int3
sub rax, rsi
cmp rax, 0x2328
jle 0x140003421
cmp qword [rbp - 8], 0x10
jb 0x1400033d6
mov rcx, qword [rbp - 0x20]
call fcn.14000f0a4
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], 0
cmp qword [rsp + 0x70], 0x10
jb 0x1400033f8
mov rcx, qword [rsp + 0x58]
call fcn.14000f0a4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x14000341d
mov rcx, qword [rsp + 0x30]
call fcn.14000f0a4
mov al, 1
jmp 0x14000347a
cmp qword [rbp - 8], 0x10
jb 0x140003431
mov rcx, qword [rbp - 0x20]
call fcn.14000f0a4
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140003453
mov rcx, qword [rsp + 0x58]
call fcn.14000f0a4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x140003478
mov rcx, qword [rsp + 0x30]
call fcn.14000f0a4
xor al, al
mov rbx, qword [rsp + 0x558]
add rsp, 0x510
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret