Function at 0x4235d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9229
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x532d60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x74], ebx
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x68]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x68], eax
mov eax, dword [0x538390]
mov dword [ebp - 0x64], 0
test al, 1
jne 0x42365d
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
mov ecx, dword [0x534374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044c9c0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
jne 0x423855
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x50]
push str.getLastActiveTime_GetLastInputInfo__d
push eax
call fcn.00404fe0
add esp, 0xc
lea ecx, [ebp - 0x60]
push str.getL__tActiveTime
call fcn.00403ac0
mov byte [ebp - 4], 5
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x78], esi
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00433ec0
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00403ac0
push 2
push edi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x537920
mov byte [ebp - 4], 8
call fcn.004018b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x423777
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423797
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4237b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4237d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x90]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0044d470
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0044c9c0
cmp dword [ebp - 0x7c], 0x10
jb 0x42382c
push dword [ebp - 0x90]
call fcn.004b817c
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423a4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x423a4f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, dword [0x537408]
mov ecx, edi
imul ecx, edi
mov esi, eax
mov eax, ecx
cdq
mov dword [ebp - 0x54], 0xf
idiv dword [ebp - 0x54]
cmp edx, 5
jne 0x4238a0
imul ecx, edi
mov eax, ecx
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 4
jne 0x4238a0
call ebx
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x537408], edx
mov eax, dword [ebp - 0x68]
sub esi, dword [ebp - 0x48]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], esi
push ecx
push str.lastactive
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0044d470
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0044c9c0
mov edx, dword [0x537408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 2
jne 0x423a45
mov eax, dword [0x51b9bc]
movq xmm0, qword [str.gvGXxQKjs2EmVf]
mov dword [ebp - 0x68], eax
mov ax, word [0x51b9c0]
mov word [ebp - 0x64], ax
mov al, byte [0x51b9c2]
mov byte [ebp - 0x62], al
lea eax, [ebp - 0x70]
movq qword [ebp - 0x70], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423934
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b7950
add esp, 4
push eax
call fcn.004b8a0b
add esp, 4
jmp 0x423a45
or edi, 0xffffffff
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0x51c0cc
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x13
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.0044f670
mov edx, eax
mov byte [ebp - 4], 0x15
cmp dword [edx + 0x14], 0x10
jb 0x423aa8
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x423ac7
xor ecx, ecx
jmp 0x423ada
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423ad0
sub ecx, dword [ebp - 0x58]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [ebp - 0x54]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 0x16
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x423b42
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x423b33
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x423b33
call fcn.00404b50
mov dword [ebp - 0x58], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x423b2b
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x58]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
jmp 0x423b42
push dword [edx - 0xc]
lea ecx, [ebp - 0x50]
push edx
call fcn.00404a90
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423b62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x7c], 0x10
jb 0x423b7a
push dword [ebp - 0x90]
call fcn.004b817c
add esp, 4
mov ebx, dword [ebp - 0x74]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x423b98
call fcn.0040caf0
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x13
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x423bb6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0x51c0cc
jb 0x423bce
push dword [ebp - 0x40]
call fcn.004b817c
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x51fca0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8181
mov esp, ebp
pop ebp
ret