Function at 0x18002b190
Capabilities:
Check http status code
Create http request
Log keystrokes via polling
Read data from internet
Receive data

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x10b0
call fcn.18005aa10
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x10e0], rbx
mov qword [rsp + 0x10e8], rbp
mov rax, qword [0x18007f130]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rbp, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
lea edi, [r12 + 1]
lea ecx, [rdi + 0x13]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
jae 0x18002b218
lea ecx, [rdi + 0x57]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
jae 0x18002b218
lea ecx, [rdi + 0x59]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
cmovb edi, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, edi
lea rcx, [0x18006d208]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x18002b264
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18006cc44]
mov rcx, rbx
call fcn.18000cdb0
mov rax, rbx
jmp 0x18002b4d8
mov dword [rsp + 0x38], 1
mov r9d, 4
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x3d]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x18006d220]
repne scasw ax, word [rdi]
not rcx
lea r9, [rcx - 1]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x84083180
lea r8, [0x18006d220]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
jne 0x18002b2f6
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18006cc44]
mov rcx, rbx
call fcn.18000cdb0
mov rax, rbx
jmp 0x18002b4d8
mov word [rsp + 0x70], r12w
xor eax, eax
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov word [rsp + 0x82], ax
mov dword [rsp + 0x34], 0x14
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x70]
lea edx, [rax + 0x13]
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x18002b4a1
lea rcx, [rsp + 0x70]
call fcn.180036d04
cmp eax, 0xc8
je 0x18002b388
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18006cc44]
mov rcx, rbx
call fcn.18000cdb0
mov rax, rbx
jmp 0x18002b4d8
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x90], 0
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x91]
call fcn.180035fe0
lea r9, [rsp + 0x30]
mov r8d, 0xffa
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18002b43e
nop dword [rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18002b43e
mov byte [rsp + rax + 0x90], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.180019df0
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
mov r8d, 0xffa
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18002b3e0
xor edx, edx
mov r8d, 0x1001
lea rcx, [rsp + 0x90]
call fcn.180035fe0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18000d490
nop
cmp qword [rsp + 0x68], 0x10
jb 0x18002b49c
mov rcx, qword [rsp + 0x50]
call fcn.1800340d0
mov rax, rbx
jmp 0x18002b4d8
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18006cc44]
mov rcx, rbx
call fcn.18000cdb0
mov rax, rbx
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.1800340f0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret