Function at 0x413dbc
Capabilities:
Check for time delay via gettickcount
Identify system language via api

Disassembly:
mov eax, 0x42ff80
call fcn.0042e9c0
sub esp, 0x50
mov al, byte [0x438c22]
push ebx
add al, byte [0x438c19]
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], ebx
mov byte [0x438c1c], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [0x438c26], ax
mov dword [ebp - 0x34], ebx
cmp byte [0x438c1c], bl
mov dword [ebp - 4], ebx
je 0x413e0d
cmp byte [0x438c1e], bl
mov byte [0x438c21], 1
jne 0x413e13
mov byte [0x438c21], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xb7d9ffff
push 0xac7fffff
mov dword [0x438c38], eax
call fcn.0040a9a5
pop ecx
mov word [0x438c24], ax
mov eax, dword [ebp + 8]
pop ecx
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
cmp word [0x438c22], bx
jne 0x413e5a
cmp dword [0x438c58], ebx
mov word [0x438c2a], bx
je 0x413e63
mov word [0x438c2a], 1
cmp eax, ebx
mov eax, dword [ebp - 0x34]
jl 0x4144cc
cmp eax, ebx
je 0x4144cc
or eax, 0xffffffff
mov dword [ebp - 0x3c], ebx
sub eax, dword [0x438c5c]
add word [0x438c2a], ax
or al, 0xff
sub al, byte [0x438c30]
mov byte [0x438c19], al
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
inc eax
lea edx, [ebp - 0x10]
add word [0x438c2e], ax
mov eax, dword [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x174]
movsx ax, byte [0x438c1c]
mov cx, word [0x438c34]
push dword [ebp - 0x10]
sub cx, ax
mov word [0x438c26], cx
lea ecx, [ebp - 0x3c]
call fcn.00417cc0
push dword [0x438c48]
push 0x7099ffff
call fcn.0040aa4f
pop ecx
mov word [0x438c32], ax
pop ecx
call dword [sym.imp.USER32.dll_GetInputState]
add dword [0x438c4c], eax
push 0x888dffff
movsx eax, byte [0x438c1f]
push eax
call fcn.0040a8f9
mov word [0x438c30], ax
mov eax, dword [ebp - 0x10]
pop ecx
cmp eax, ebx
pop ecx
je 0x413f27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0x5347ffff
mov dword [0x438c3c], eax
push dword [0x438c44]
call fcn.0040aa83
add word [0x438c32], ax
movsx eax, byte [0x438c21]
push eax
movsx eax, word [0x438c26]
push eax
call fcn.0040a9a5
mov byte [0x438c18], al
mov dword [ebp - 0x10], ebx
movsx eax, byte [0x438c1d]
push eax
push 0xdcc9ffff
call fcn.0040aa83
push 0x9cbfffff
push 0x7c81ffff
mov dword [0x438c54], eax
call fcn.0040a96f
mov word [0x438c32], ax
mov dword [ebp - 0x30], ebx
push 0x7d0fffff
push 0xff0dffff
mov byte [ebp - 4], 2
call fcn.0040a8f9
add dword [0x438c38], eax
mov al, byte [0x438c32]
or al, byte [0x438c44]
push 0xffffffffffffffff
push 0x4381fc
mov word [ebp - 0x5c], 8
add byte [0x438c20], al
call fcn.00411ed7
mov dword [ebp - 0x54], eax
movsx eax, word [0x438c34]
push eax
push 0x3cc5ffff
call fcn.0040aac5
add esp, 0x38
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x5c]
add word [0x438c2e], ax
push edx
mov eax, dword [ebp - 0x3c]
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
push dword [ebp - 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x9451ffff
push 0x9e7bffff
call fcn.0040a9de
pop ecx
mov dword [0x438c3c], eax
pop ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.00417cc0
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x414040
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4a63ffff
push 0xd837ffff
call fcn.0040aa83
add dword [0x438c4c], eax
push 0x551fffff
movsx eax, byte [0x438c20]
sub eax, 0x13ca0001
push 0xec85ffff
mov dword [0x438c38], eax
call fcn.0040ab0e
add dword [0x438c54], eax
push dword [0x438c54]
mov dword [ebp - 0x10], ebx
push dword [0x438c50]
call fcn.0040aac5
add esp, 0x18
cmp dword [ebp - 0x30], ebx
mov byte [0x438c1d], al
je 0x4144a2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add word [0x438c2c], ax
push dword [0x438c3c]
movsx eax, word [0x438c2a]
push eax
call fcn.0040a96f
push 0xc195ffff
mov byte [0x438c1d], al
push dword [0x438c58]
call fcn.0040a9a5
mov dword [ebp - 0x18], ebx
mov al, byte [0x438c48]
push dword [0x438c38]
mov byte [0x438c1f], al
mov eax, dword [0x438c3c]
mov cl, al
push eax
neg cl
mov byte [0x438c21], cl
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov word [ebp - 0x5c], 3
mov byte [0x438c19], 1
mov dword [ebp - 0x54], ecx
call fcn.0040a9a5
add esp, 0x18
lea edx, [ebp - 0x10]
lea esi, [ebp - 0x5c]
add word [0x438c2c], ax
push edx
mov eax, dword [ebp - 0x30]
sub esp, 0x10
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x5c]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00417ced
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov byte [0x438c1f], al
movsx eax, byte [0x438c1e]
push eax
push dword [0x438c44]
call fcn.0040aa83
pop ecx
mov dword [0x438c44], eax
pop ecx
mov ecx, 0x4749ffff
sub ecx, eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [0x438c48], ecx
je 0x414193
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [0x438c48]
or eax, 0xffffffff
mov dword [ebp - 0x10], ebx
sub eax, ecx
mov word [0x438c26], ax
mov al, byte [0x438c18]
and al, byte [0x438c1c]
add byte [0x438c21], al
mov al, byte [0x438c58]
imul byte [0x438c3c]
add byte [0x438c20], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x18], ebx
mov word [0x438c2e], ax
je 0x414491
mov eax, dword [ebp - 0x4c]
dec word [0x438c34]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + 0x30]
push edx
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x41442e
cmp dword [ebp - 0x24], ebx
je 0x41442e
test byte [0x439110], 1
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x414224
or byte [0x439110], 1
push ebx
call esi
mov dword [0x4390c8], eax
test byte [0x439110], 2
jne 0x41423d
or byte [0x439110], 2
push 1
call esi
mov dword [0x4390c4], eax
mov eax, 0xf0
cmp dword [0x4390c8], eax
jge 0x41424f
mov dword [0x4390c8], eax
cmp dword [0x4390c4], eax
jge 0x41425c
mov dword [0x4390c4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp + 8], eax
je 0x41427e
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 4
call dword [ecx + 0xd0]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push edx
mov ecx, dword [eax]
push eax
mov dword [ebp + 0xc], edi
call dword [ecx + 0xe0]
test eax, eax
jl 0x41433a
push dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
call fcn.004144eb
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x41433a
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
add esi, dword [ebp - 0x14]
add edi, dword [ebp - 0x1c]
jmp 0x4142e8
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov dword [ebp - 0x44], eax
jne 0x41434b
mov dword [ebp - 0x44], 0xa
mov edi, dword [sym.imp.MSVCRT.dll_rand]
call edi
cdq
idiv dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], edx
jne 0x41436b
mov dword [ebp - 0x44], 0xa
call edi
cdq
idiv dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ebx
add dword [ebp - 0x2c], eax
add esi, eax
mov dword [ebp - 0x44], ebx
lea eax, [esi + 0xc8]
add dword [ebp + 0xc], edx
add dword [ebp - 0x28], edx
cmp eax, dword [0x4390c8]
mov dword [ebp - 0x1c], edx
jle 0x4143ae
call edi
mov ecx, dword [0x4390c8]
cdq
add ecx, 0xffffff38
idiv ecx
sub esi, edx
mov dword [ebp - 0x4c], esi
mov esi, edx
mov eax, dword [ebp + 0xc]
add eax, 0xc8
cmp eax, dword [0x4390c4]
jle 0x4143da
call edi
mov ecx, dword [0x4390c4]
cdq
add ecx, 0xffffff38
idiv ecx
mov eax, dword [ebp + 0xc]
sub eax, edx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x44], eax
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0x10200
push ebx
push 0x20
push dword [ebp - 0x24]
call edi
movzx eax, word [ebp + 0xc]
movzx ecx, si
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 0x200
push dword [ebp - 0x24]
call edi
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push esi
call fcn.0041f833
mov eax, dword [ebp + 8]
add esp, 0x18
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41442e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00417e6b
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x414450
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x114]
mov eax, dword [0x438c40]
mov word [0x438c30], 1
mov dword [0x438c58], eax
xor eax, eax
cmp word [0x438c34], bx
mov byte [ebp - 4], 3
setne al
mov dword [0x438c54], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x414491
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4144a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4144b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4144c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x4144d0
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4144da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8