Function at 0x140018200
Capabilities:
Check for time delay via gettickcount
Check http status code
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov eax, dword [rcx + 0x28]
lea r14, [rcx + 0x2c]
mov r13, qword [rcx + 0x58]
xor r8d, r8d
mov dword [rsp + 0xc8], eax
mov ebx, edx
mov eax, dword [r14]
mov rdi, rcx
mov dword [rsp + 0xc0], eax
mov qword [rsp + 0x40], r13
call fcn.14001aa9c
mov r15d, 1
cmp ebx, 0x27
ja 0x140018892
je 0x140018866
mov eax, ebx
sub eax, 8
je 0x140018691
sub eax, r15d
je 0x140018547
sub eax, 4
je 0x1400183b0
sub eax, 0x14
je 0x140018336
sub eax, r15d
je 0x140018336
sub eax, r15d
je 0x14001831b
sub eax, r15d
je 0x140018302
sub eax, r15d
je 0x1400182c9
cmp eax, r15d
jne 0x140018c1d
mov eax, dword [r14]
cmp ebx, 0x26
jne 0x140018bfa
test eax, eax
je 0x140018c1d
mov rcx, rdi
call fcn.140015a4c
or ebx, 0xffffffff
add dword [r14], ebx
jmp 0x140018c0d
or ebx, 0xffffffff
xor esi, esi
mov dword [rdi + 0x24], ebx
cmp dword [rdi + 0x28], esi
je 0x140018c1d
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.14001b084
sub eax, r15d
mov edx, eax
mov r8d, ebx
mov rcx, rdi
call fcn.140015a98
mov dword [rdi + 0x28], eax
jmp 0x140018c15
or ebx, 0xffffffff
xor esi, esi
mov dword [rdi + 0x24], ebx
cmp dword [rdi + 0x28], esi
je 0x140018c1d
mov dword [rdi + 0x28], esi
jmp 0x140018c15
or ebx, 0xffffffff
mov rcx, rdi
mov edx, ebx
mov dword [rdi + 0x24], ebx
call fcn.140016f40
cmp dword [rdi + 0x28], eax
je 0x140018c1d
jmp 0x1400182fa
mov eax, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x10]
cdq
idiv dword [0x14003efb8]
mov r8d, dword [r14]
mov r9d, eax
cmp ebx, 0x21
jne 0x140018368
sub r8d, eax
xor esi, esi
sub ecx, eax
mov dword [r14], r8d
cmovs ecx, esi
mov dword [rdi + 0x10], ecx
test r8d, r8d
jns 0x140018399
mov dword [r14], esi
jmp 0x140018399
lea edx, [rcx + rax]
mov esi, 0
lea ecx, [r8 + rax]
mov dword [rdi + 0x10], edx
mov dword [r14], ecx
mov eax, dword [r13 + 8]
sub eax, r9d
cmovns esi, eax
cmp edx, esi
cmovg edx, esi
mov dword [rdi + 0x10], edx
mov eax, dword [r13 + 8]
cmp ecx, eax
jl 0x140018399
dec eax
mov dword [r14], eax
xor edx, edx
mov rcx, rdi
call fcn.140015820
mov rcx, rdi
call fcn.1400155cc
jmp 0x140018a20
mov eax, dword [rdi + 0x4c]
cmp dword [rdi + 0x44], eax
jne 0x1400183c0
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
je 0x1400183c8
mov rcx, rdi
call fcn.140016238
mov r9d, dword [r14]
mov esi, InitCommonControls
mov r8d, dword [rdi + 0x28]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140029670
mov r9d, dword [r14]
xor edx, edx
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.14001e304
mov rcx, rdi
call fcn.140019a34
xor esi, esi
test eax, eax
je 0x140018523
cmp dword [rdi + 0x28], esi
jne 0x140018424
mov edx, dword [r14]
mov r8d, r15d
mov rcx, rdi
call fcn.140017b04
add dword [r14], r15d
jmp 0x140018518
mov rax, qword [rdi + 0x58]
mov rbp, rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x14001843f
movsxd rcx, dword [r14]
cmp ecx, dword [rax + 8]
jge 0x14001843f
mov rbp, qword [rdx + rcx*8]
test rbp, rbp
je 0x1400184fa
or ebx, 0xffffffff
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.14001b084
movzx ebx, word [rbp + 2]
mov r9, r14
movsxd r12, eax
sub ebx, r12d
test ebx, ebx
jle 0x1400184fd
mov rcx, rdi
mov word [rbp + 2], r12w
call fcn.140015a4c
mov edx, dword [r14]
mov r8d, r15d
inc edx
mov rcx, rdi
mov dword [r14], edx
call fcn.140017b04
mov rcx, rdi
call fcn.140015480
mov r8d, dword [r14]
mov rcx, rdi
mov edx, dword [rdi + 0x28]
movsxd r15, eax
lea r9d, [rbx + r15]
call fcn.1400198c4
mov r13, rax
test rax, rax
je 0x1400184e5
mov r8d, 0x20
lea rcx, [rax + 6]
mov edx, r15d
call fcn.140005000
movsxd r8, ebx
lea rdx, [rbp + r12*2 + 6]
add r8, r8
lea rcx, [r13 + r15*2 + 6]
call sub.ntdll.dll_memcpy
add bx, r15w
mov word [r13 + 2], bx
mov rcx, rdi
call fcn.140015a4c
mov r13, qword [rsp + 0x40]
mov r15d, 1
jmp 0x140018518
mov r9, r14
mov rcx, rdi
call fcn.140015a4c
mov edx, dword [r9]
mov r8d, r15d
inc edx
mov rcx, rdi
mov dword [r14], edx
call fcn.140017b04
mov rcx, rdi
call fcn.140015480
mov dword [rdi + 0x28], eax
mov r9d, dword [r14]
xor edx, edx
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
call fcn.140029654
xor edx, edx
mov byte [r13 + 0x26], r15b
mov rcx, rdi
call fcn.140015820
jmp 0x140018a20
xor esi, esi
cmp dword [0x14003e7ec], esi
mov ebp, esi
jne 0x14001855d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x140018574
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14003e7ec]
cmp eax, 0x190
setb bpl
mov eax, dword [rdi + 0x4c]
mov dword [0x14003e7ec], ebx
cmp dword [rdi + 0x44], eax
jne 0x140018660
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
jne 0x140018660
mov rcx, rdi
call fcn.140019a34
test eax, eax
je 0x140018c1d
or ebx, 0xffffffff
mov dword [rdi + 0x24], ebx
test ebp, ebp
je 0x1400185b6
test byte [rdi + 0x28], 7
je 0x140018c1d
mov eax, dword [rdi + 0x28]
lea rcx, [rsp + 0x48]
mov r8d, 0x20
lea ebx, [rax + 4]
and ebx, 0xfffffffc
sub ebx, eax
mov edx, ebx
call fcn.140005000
mov r9d, dword [r14]
lea rax, [rsp + 0x48]
mov r8d, dword [rdi + 0x28]
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140029690
mov r9d, dword [r14]
lea rax, [rsp + 0x48]
mov r8d, dword [rdi + 0x28]
xor edx, edx
mov dword [rsp + 0x30], esi
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14001e32c
mov r8d, dword [r14]
lea r9, [rsp + 0x48]
mov edx, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.140017e84
mov r9d, dword [r14]
mov r8d, eax
xor edx, edx
mov dword [rdi + 0x28], eax
mov rcx, rdi
call fcn.140029654
mov rcx, rdi
mov byte [r13 + 0x26], r15b
call fcn.1400155cc
test eax, eax
jne 0x140018c1d
mov rcx, rdi
call fcn.1400164ac
jmp 0x140018c1d
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov rcx, rdi
neg ax
sbb edx, edx
and edx, 0xfffffff8
add edx, 4
call fcn.1400151b4
mov dword [0x14003e7ec], esi
jmp 0x140018c1d
mov eax, dword [rdi + 0x4c]
xor esi, esi
mov r12d, esi
cmp dword [rdi + 0x44], eax
jne 0x140018bf0
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
jne 0x140018bf0
or ebx, 0xffffffff
mov dword [rdi + 0x24], ebx
cmp dword [rdi + 0x28], esi
jne 0x14001871f
cmp dword [r14], esi
je 0x140018c1d
mov r9d, dword [r14]
lea esi, [rbx + 0xe]
xor r8d, r8d
mov dword [rsp + 0x20], esi
lea edx, [rbx + 3]
mov rcx, rdi
call fcn.140029670
add dword [r14], ebx
mov edx, ebx
mov rcx, rdi
call fcn.140016f40
mov rcx, rdi
mov dword [rdi + 0x28], eax
call fcn.1400180ac
mov r9d, dword [r14]
lea edx, [rbx + 3]
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
call fcn.140029654
mov r9d, dword [r14]
mov edx, r15d
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.14001e304
jmp 0x140018a20
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.14001b084
mov edx, dword [rdi + 0x28]
mov r8d, ebx
and edx, 0xfffffffc
mov dword [rsp + 0xb0], eax
cmp dword [rdi + 0x28], edx
mov ebp, eax
mov r15d, esi
lea ecx, [rdx - 4]
cmovne ecx, edx
mov edx, esi
test ecx, ecx
cmovns edx, ecx
xor r9d, r9d
mov rcx, rdi
call fcn.14001b084
mov rdx, qword [rdi + 0x58]
mov r9, rsi
mov r8, qword [rdx]
test r8, r8
je 0x14001877a
movsxd rcx, dword [r14]
cmp ecx, dword [rdx + 8]
jge 0x14001877a
mov r9, qword [r8 + rcx*8]
lea ecx, [rbp - 1]
cmp ecx, eax
jl 0x1400187b6
movsxd r8, ecx
mov edx, 0x20
movsxd r11, eax
lea r10, [r9 + r8*2 + 6]
test r9, r9
je 0x1400187a5
movzx eax, word [r9 + 2]
cmp ecx, eax
jge 0x1400187a5
cmp word [r10], dx
jne 0x1400187b6
inc r15d
dec ecx
dec r8
sub r10, 2
cmp r8, r11
jge 0x140018791
mov r9d, dword [r14]
test r15d, r15d
mov r8d, dword [rdi + 0x28]
mov ebp, 1
mov edx, 2
mov rcx, rdi
cmovne ebp, r15d
call fcn.140029654
test ebp, ebp
je 0x14001884c
mov r13d, dword [rsp + 0xb0]
dec r13d
mov r8d, ebx
mov edx, r13d
mov rcx, rdi
dec ebp
call fcn.140015a98
mov rcx, rdi
mov dword [rdi + 0x28], eax
call fcn.1400161d4
mov r9d, dword [r14]
mov edx, 2
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov r15d, eax
mov dword [rsp + 0x20], eax
call fcn.140029670
mov r9d, dword [r14]
mov edx, 1
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.14001e304
cmp r15d, 0x2a
je 0x140018840
cmp r15d, 0x2f
jne 0x140018843
inc r12d
test ebp, ebp
jne 0x1400187e2
mov r13, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400155cc
mov r15d, 1
test r12d, r12d
mov byte [r13 + 0x26], r15b
jmp 0x140018a1a
or ebx, 0xffffffff
cmp dword [rdi + 0x28], 0x1000
mov dword [rdi + 0x24], ebx
jge 0x140018c1d
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.14001b084
lea edx, [r15 + rax]
jmp 0x1400182ef
mov eax, ebx
sub eax, 0x28
je 0x1400182a2
sub eax, 6
je 0x140018a4d
sub eax, 0x13
je 0x140018a33
sub eax, 2
je 0x1400189f1
sub eax, 2
je 0x1400189d4
sub eax, r15d
je 0x14001893a
sub eax, 5
je 0x14001891a
sub eax, 4
je 0x140018900
cmp eax, 4
jne 0x140018c1d
cmp byte [0x14003e7e8], 2
jne 0x140018c1d
mov rcx, qword [rdi]
lea r8d, [rax + 0x4e]
xor r9d, r9d
mov edx, 0x111
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x140018c1d
cmp byte [0x14003e7e8], r15b
jne 0x140018c1d
mov rcx, rdi
call fcn.1400147b0
jmp 0x140018c1d
cmp byte [0x14003e7e8], r15b
jne 0x140018c1d
xor esi, esi
cmp dword [rdi + 0x40], esi
je 0x140018c1d
mov dword [rdi + 0x40], esi
jmp 0x140018a0c
mov al, byte [0x14003e7e8]
cmp al, 2
jne 0x14001894b
xor edx, edx
jmp 0x1400189e4
cmp al, 3
jne 0x14001895e
xor edx, edx
mov rcx, rdi
call fcn.14001df94
jmp 0x140018c1d
cmp al, r15b
jne 0x140018c1d
mov eax, dword [rdi + 0x4c]
cmp dword [rdi + 0x44], eax
jne 0x140018977
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
je 0x1400189bc
cmp dword [rdi + 0x40], r15d
jne 0x1400189bc
mov r8, qword [0x14003ef48]
lea r9, [0x140015254]
mov rcx, qword [0x14003e3b0]
xor esi, esi
mov qword [rsp + 0x20], rsi
lea edx, [rsi + 0x12]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x140018c1d
mov r8d, eax
xor edx, edx
mov rcx, rdi
call fcn.140016d94
jmp 0x140018c1d
mov rcx, qword [0x14003ef48]
xor r8d, r8d
lea edx, [r8 + 0x75]
call fcn.140003fa0
jmp 0x140018c1d
cmp byte [0x14003e7e8], 2
jne 0x140018c1d
mov edx, r15d
mov rcx, rdi
call fcn.1400143e8
jmp 0x140018c1d
cmp byte [0x14003e7e8], r15b
jne 0x140018c1d
cmp dword [rdi + 0x40], r15d
je 0x140018c1d
mov dword [rdi + 0x40], r15d
mov eax, dword [rdi + 0x4c]
cmp dword [rdi + 0x44], eax
jne 0x140018a20
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
je 0x140018c1d
mov rcx, qword [rdi]
mov r8d, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140018c1d
cmp byte [0x14003e7e8], 3
jne 0x140018c1d
mov rcx, rdi
call fcn.14001d948
jmp 0x140018c1d
mov eax, dword [rdi + 0x4c]
xor esi, esi
mov r12d, esi
cmp dword [rdi + 0x44], eax
jne 0x140018bf0
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
jne 0x140018bf0
or ebx, 0xffffffff
mov rcx, rdi
mov edx, ebx
call fcn.140016f40
cmp dword [rdi + 0x28], eax
jl 0x140018aea
mov eax, dword [r13 + 8]
sub eax, r15d
cmp dword [r14], eax
jge 0x140018c1d
mov rcx, rdi
call fcn.1400180ac
mov r9d, dword [r14]
lea esi, [rbx + 0xe]
mov r8d, dword [rdi + 0x28]
mov edx, r15d
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140029670
mov r9d, dword [r14]
mov edx, r15d
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.14001e304
mov rcx, qword [rdi]
mov r8d, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, qword [rdi + 0x58]
mov edx, dword [r14]
mov ecx, dword [rdi + 0x28]
movzx r8d, byte [rax + 0x26]
call fcn.14002aa04
jmp 0x140018c1d
mov rax, qword [rdi + 0x58]
mov ebp, esi
mov r15, qword [rax]
test r15, r15
je 0x140018be0
movsxd rcx, dword [r14]
cmp ecx, dword [rax + 8]
jge 0x140018be0
mov r15, qword [r15 + rcx*8]
test r15, r15
je 0x140018be0
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.14001b084
movzx r9d, word [r15 + 2]
movsxd rcx, eax
cmp rcx, r9
jge 0x140018be0
mov edx, 0x20
lea r8, [r15 + rcx*2 + 6]
lea r15d, [rdx - 0x1f]
cmp word [r8], dx
jne 0x140018bc0
add eax, r15d
add rcx, r15
add r8, 2
cmp rcx, r9
jl 0x140018b44
mov ebx, r15d
mov rcx, rdi
sub ebx, r15d
call fcn.1400161d4
mov r9d, dword [r14]
mov edx, r15d
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov ebp, eax
mov dword [rsp + 0x20], eax
call fcn.140029670
mov r9d, dword [r14]
mov edx, r15d
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.14001e304
cmp ebp, 0x2a
je 0x140018b9f
cmp ebp, 0x2f
jne 0x140018ba2
add r12d, r15d
test ebx, ebx
jne 0x140018b5c
mov byte [r13 + 0x26], r15b
test r12d, r12d
jne 0x140018ac3
mov rcx, rdi
call fcn.1400164ac
jmp 0x140018ad1
mov r8d, ebx
mov edx, eax
mov rcx, rdi
call fcn.140015a98
jmp 0x140018bd6
add ebp, r15d
test al, 3
je 0x140018be6
sub eax, r15d
cmp eax, dword [rdi + 0x28]
jge 0x140018bcf
jmp 0x140018be6
mov r15d, 1
test ebp, ebp
mov ebx, r15d
cmovne ebx, ebp
jmp 0x140018ba2
mov rcx, rdi
call fcn.140016238
jmp 0x140018c1d
inc eax
cmp eax, dword [r13 + 8]
jge 0x140018c1d
mov rcx, rdi
call fcn.140015a4c
add dword [r14], r15d
mov rcx, rdi
call fcn.140014de8
mov rcx, rdi
call fcn.1400155cc
mov ebx, dword [rsp + 0xb8]
mov r8d, r15d
mov edx, ebx
mov rcx, rdi
call fcn.14001aa9c
lea eax, [rbx - 0x21]
cmp eax, 7
ja 0x140018c69
mov r9d, dword [rsp + 0xc0]
mov ebx, 3
mov r8d, dword [rsp + 0xc8]
mov edx, ebx
mov rcx, rdi
call fcn.140029654
mov r9d, dword [r14]
mov edx, ebx
mov r8d, dword [rdi + 0x28]
mov rcx, rdi
call fcn.140029654
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret