Function at 0x819aa0
Capabilities:
Check for time delay via gettickcount
Connect to http server
Send data
Send http request

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
mov byte [rsp - 0x420], 0
mov byte [rsp - 0x1420], 0
mov byte [rsp - 0x2420], 0
sub rsp, 0x2420
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x2458], rdx
mov qword [rbp + 0x2460], r8
mov qword [rbp + 0x2468], r9
mov rcx, qword [rbp + 0x2458]
call fcn.00412ee0
mov rcx, qword [rbp + 0x2460]
call fcn.00412ee0
mov rcx, qword [rbp + 0x2468]
call fcn.00412ee0
nop
xor eax, eax
mov byte [rbp + 0x67], al
lea rcx, [rbp + 0x1a0]
mov rdx, qword [rbp + 0x2458]
call fcn.00413430
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xe0]
mov edx, 0x102
call fcn.0066cf80
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xe0]
mov rdx, qword [0x00921298]
call fcn.0066cf30
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xe0]
mov dl, 1
call fcn.0066cc40
lea rcx, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x2458]
call fcn.008188c0
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x148]
mov r8, qword [rbp + 0x2458]
call fcn.00819560
lea rcx, [rbp + 0x2458]
mov rdx, qword [rbp + 0x148]
call fcn.00413430
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x150]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x10], 1
jle 0x819d9e
lea rcx, [rbp + 0x138]
mov rax, qword [rbp + 0x50]
mov edx, dword [rax + 0x7c]
call fcn.0043bfe0
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x150]
call fcn.0082e5c0
lea rcx, [rbp + 0x130]
mov edx, eax
call fcn.0043bfe0
lea rcx, [rbp + 0x140]
mov edx, 6
mov r8, qword [rbp + 0x138]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x20], rax
lea rax, [0x0081a92c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [0x0081a93c]
mov qword [rsp + 0x38], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xa0]
mov rdx, qword [rbp + 0x140]
call fcn.00602260
jmp 0x819db0
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xa0]
xor edx, edx
call fcn.00602260
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x247], 0
je 0x819e72
mov rax, qword [rbp + 0x50]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
lea rdx, [rbp + 0x120]
call fcn.006021f0
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x118]
mov r8, qword [rbp + 0x2458]
call fcn.00819700
lea rcx, [rbp + 0x128]
mov edx, 8
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x108]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
lea rax, [0x0081a92c]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x230]
mov qword [rsp + 0x38], rax
lea rax, [0x0081a92c]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x118]
mov qword [rsp + 0x48], rax
call fcn.00414a50
mov rcx, rbx
mov rdx, qword [rbp + 0x128]
call fcn.00602260
jmp 0x819ed6
mov rax, qword [rbp + 0x50]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
lea rdx, [rbp + 0x108]
call fcn.006021f0
lea rcx, [rbp + 0x110]
mov edx, 4
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x108]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rcx, rbx
mov rdx, qword [rbp + 0x110]
call fcn.00602260
cmp qword [rbp + 0x2468], 0
je 0x819ef5
lea rcx, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x2468]
call fcn.00413430
jmp 0x819f08
lea rcx, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x2458]
call fcn.008188c0
lea rcx, [rbp + 0x100]
mov rdx, qword [rbp + 0x2460]
mov r8, qword [rbp + 0x1a8]
call fcn.00819160
lea rcx, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x100]
call fcn.00413430
mov rcx, qword [rbp + 0x1a8]
mov dl, 1
call fcn.0043cfb0
test al, al
je 0x81a813
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x198]
mov r8, qword [rbp + 0x2458]
call fcn.00819700
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0xf8]
mov r8, qword [rbp + 0x2458]
call fcn.008198f0
lea rcx, [rbp + 0x2458]
mov rdx, qword [rbp + 0xf8]
call fcn.00413430
mov rcx, qword [rbp + 0x198]
call fcn.00414500
mov rcx, qword [rbp + 0x50]
mov rcx, qword [rcx + 0x158]
mov rdx, rax
mov r8w, 0x50
xor r9, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.wininet.dll_InternetConnectW
mov qword [rbp + 0x58], rax
cmp byte [rbp + 0x2470], 0
jne 0x81a03b
mov rcx, qword [rbp + 0x2458]
call fcn.00414500
mov rcx, qword [rbp + 0x58]
lea rdx, [0x0081a944]
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x4000000
mov qword [rsp + 0x38], 0
call sub.wininet.dll_HttpOpenRequestW
mov rbx, rax
jmp 0x81a083
mov rcx, qword [rbp + 0x2458]
call fcn.00414500
mov rcx, qword [rbp + 0x58]
lea rdx, [0x0081a94e]
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x4000000
mov qword [rsp + 0x38], 0
call sub.wininet.dll_HttpOpenRequestW
mov rbx, rax
test rbx, rbx
jne 0x81a110
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x160], 0
je 0x81a0b9
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x168]
mov rdx, qword [rbp + 0x50]
mov r8d, 6
mov rbx, qword [rbp + 0x50]
call qword [rbx + 0x160]
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x170], 0
je 0x81a813
lea rcx, [rbp + 0xf0]
lea rdx, [0x0081a964]
mov r8, qword [rbp + 0x198]
call fcn.00414920
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x178]
mov rdx, qword [rbp + 0x50]
mov r8d, 6
mov r9, qword [rbp + 0xf0]
mov rbx, qword [rbp + 0x50]
call qword [rbx + 0x170]
jmp 0x81a813
mov dword [rbp + 0x41c], 0x1000
mov rax, qword [0x0091a810]
movzx di, byte [rax]
mov rax, qword [0x0091a810]
mov byte [rax], 0
test rbx, rbx
je 0x81a812
lea rcx, [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1a8]
call fcn.0040cbb0
call fcn.00409610
lea rcx, [rbp + 0x1b0]
mov edx, 1
call fcn.0040e0f0
call fcn.00409610
lea rcx, [rbp + 0x1b0]
call fcn.0040cf70
mov esi, eax
call fcn.00409610
mov dword [rbp + 0x6c], esi
mov dword [rbp + 0x41c], 0x1000
xor eax, eax
mov dword [rbp + 0x68], eax
lea rcx, [rbp + 0x158]
mov edx, 0x38
xor r8, r8
call fcn.0040cff0
mov dword [rbp + 0x158], 0x38
mov eax, dword [rbp + 0x6c]
mov dword [rbp + 0x184], eax
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
mov r9d, 8
mov qword [rsp + 0x20], 0
call sub.wininet.dll_HttpSendRequestExW
test eax, eax
jne 0x81a276
call sub.kernel32.dll_GetLastError
mov esi, eax
lea rcx, [rbp + 0x1b0]
call fcn.0040cec0
call fcn.00409610
mov rcx, rbx
call sub.wininet.dll_InternetCloseHandle
mov rcx, qword [rbp + 0x58]
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x160], 0
je 0x81a22e
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x168]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov rbx, qword [rbp + 0x50]
call qword [rbx + 0x160]
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x170], 0
je 0x81a813
lea rcx, [rbp + 0xe8]
mov edx, esi
call fcn.00819490
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x178]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov r9, qword [rbp + 0xe8]
mov rbx, qword [rbp + 0x50]
call qword [rbx + 0x170]
jmp 0x81a813
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x81a73b
lea rcx, [rbp + 0x1b0]
lea rdx, [rbp + 0x420]
mov r8d, 0x1000
lea r9, [rbp + 0x41c]
call fcn.0040ce60
call fcn.00409610
mov rcx, rbx
lea rdx, [rbp + 0x420]
mov r8d, dword [rbp + 0x41c]
lea r9, [rbp + 0x194]
call sub.wininet.dll_InternetWriteFile
test eax, eax
jne 0x81a342
call sub.kernel32.dll_GetLastError
mov esi, eax
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x160], 0
je 0x81a2fa
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x168]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov r13, qword [rbp + 0x50]
call qword [r13 + 0x160]
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x170], 0
je 0x81a758
lea rcx, [rbp + 0xe0]
mov edx, esi
call fcn.00819490
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x178]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov r9, qword [rbp + 0xe0]
mov rsi, qword [rbp + 0x50]
call qword [rsi + 0x170]
jmp 0x81a758
mov eax, dword [rbp + 0x68]
add eax, dword [rbp + 0x41c]
mov dword [rbp + 0x68], eax
cmp dword [rbp + 0x194], 0
jbe 0x81a431
mov eax, dword [rbp + 0x68]
mov eax, eax
cvtsi2sd xmm0, rax
mov eax, dword [rbp + 0x194]
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, qword [0x0081a890]
call fcn.0040c490
mov rcx, qword [rbp + 0x50]
mov rcx, qword [rcx + 0x98]
mov edx, eax
call fcn.00665bb0
lea rcx, [rbp + 0xd0]
mov edx, dword [rbp + 0x68]
mov edx, edx
call fcn.008189d0
lea rcx, [rbp + 0xc8]
mov edx, dword [rbp + 0x6c]
mov edx, edx
call fcn.008189d0
lea rcx, [rbp + 0xd8]
mov edx, 7
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x110]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea rax, [0x0081a92c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x30], rax
lea rax, [0x0081a92c]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x40], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xa8]
mov rdx, qword [rbp + 0xd8]
call fcn.00602260
jmp 0x81a488
lea rcx, [rbp + 0xb8]
mov edx, dword [rbp + 0x68]
mov edx, edx
call fcn.008189d0
lea rcx, [rbp + 0xc0]
mov edx, 3
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x110]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xa8]
mov rdx, qword [rbp + 0xc0]
call fcn.00602260
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x246], 0
je 0x81a519
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x98]
call fcn.00665880
lea rcx, [rbp + 0xa8]
mov edx, eax
call fcn.0043bfe0
lea rcx, [rbp + 0xb0]
mov edx, 5
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x100]
lea r9, [0x0081a93c]
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea rax, [0x0081a9a4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x248]
mov qword [rsp + 0x30], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rbp + 0xb0]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
mov ecx, dword [rbp + 0x68]
mov ecx, ecx
cvtsi2sd xmm0, rcx
sub eax, esi
add eax, 1
mov eax, eax
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, qword [0x0081a898]
call fcn.0040c490
lea rcx, [rbp + 0xa0]
mov rdx, rax
call fcn.00818c30
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x2f0]
mov rdx, qword [rbp + 0xa0]
call fcn.004133a0
lea rcx, [rbp + 0x98]
mov edx, 3
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x118]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xb0]
mov rdx, qword [rbp + 0x98]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
mov r13d, dword [rbp + 0x6c]
mov r13d, r13d
lea rcx, [rbp + 0x90]
mov edx, eax
sub edx, esi
mov r8d, dword [rbp + 0x68]
mov r8d, r8d
mov r9, r13
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x28], rax
call fcn.00818eb0
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x2f8]
mov rdx, qword [rbp + 0x90]
call fcn.004133a0
lea rcx, [rbp + 0x88]
mov edx, 3
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x120]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2f8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xb8]
mov rdx, qword [rbp + 0x88]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
lea rcx, [rbp + 0x80]
mov edx, eax
sub edx, esi
xor r8, r8
mov r9, r13
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x28], rax
call fcn.00818eb0
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x300]
mov rdx, qword [rbp + 0x80]
call fcn.004133a0
lea rcx, [rbp + 0x78]
mov edx, 3
mov rax, qword [rbp + 0x50]
mov r8, qword [rax + 0x128]
lea r9, [0x0081a92c]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x300]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0xc0]
mov rdx, qword [rbp + 0x78]
call fcn.00602260
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x1f0], 0
je 0x81a72c
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x1f8]
mov rax, qword [rbp + 0x50]
mov rdx, rax
mov r8d, dword [rax + 0x7c]
mov r9d, dword [rbp + 0x68]
mov eax, dword [rbp + 0x6c]
mov dword [rsp + 0x20], eax
mov r13, qword [rbp + 0x50]
call qword [r13 + 0x1f0]
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp dword [rbp + 0x41c], 0x1000
jne 0x81a758
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x80], 0
je 0x81a282
nop
mov rcx, rbx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.wininet.dll_HttpEndRequestW
test eax, eax
jne 0x81a7d8
call sub.kernel32.dll_GetLastError
mov esi, eax
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x160], 0
je 0x81a79f
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x168]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov r13, qword [rbp + 0x50]
call qword [r13 + 0x160]
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x170], 0
je 0x81a7d8
lea rcx, [rbp + 0x70]
mov edx, esi
call fcn.00819490
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x178]
mov rdx, qword [rbp + 0x50]
mov r8d, esi
mov r9, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x50]
call qword [rsi + 0x170]
lea rcx, [rbp + 0x1b0]
call fcn.0040cec0
call fcn.00409610
mov rcx, rbx
call sub.wininet.dll_InternetCloseHandle
mov rcx, qword [rbp + 0x58]
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [0x0091a810]
mov byte [rax], dil
mov eax, dword [rbp + 0x6c]
mov ecx, dword [rbp + 0x68]
cmp ecx, eax
sete al
mov byte [rbp + 0x67], al
nop
lea rcx, [rbp + 0x70]
mov edx, 0x13
call fcn.00412df0
lea rcx, [rbp + 0x108]
call fcn.00412d10
lea rcx, [rbp + 0x110]
mov edx, 2
call fcn.00412df0
lea rcx, [rbp + 0x120]
call fcn.00412d10
lea rcx, [rbp + 0x128]
mov edx, 5
call fcn.00412df0
lea rcx, [rbp + 0x198]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0x2458]
mov edx, 3
call fcn.00412df0
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x2420]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret