Function at 0x44cd10
Capabilities:
Check for time delay via gettickcount
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8090
call fcn.004d2340
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
jne 0x44cdb7
mov ecx, dword [0x509320]
mov edx, str.UseErrorLevel
call fcn.0049bfa0
test eax, eax
mov ecx, 0x509c28
mov al, 3
setne bl
cmp al, byte [ebp + 1]
mov byte [esp + 0x18], bl
sbb eax, eax
and eax, dword [0x5092d4]
push eax
push 1
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
push dword [0x509320]
mov al, bl
xor al, 1
movzx eax, al
push eax
push dword [0x50931c]
push 0
push dword [0x509318]
call fcn.00448860
test eax, eax
jne 0x44cdb7
test bl, bl
je 0x44cdad
mov ecx, dword [0x507a8c]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.0049fde0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp]
cmp al, 0x5d
jne 0x44ceed
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x509318]
xor edx, edx
push 0
call fcn.0041ca20
mov bl, al
add esp, 0xc
mov byte [esp + 0x14], bl
test bl, bl
jne 0x44ce2e
mov ecx, dword [0x509318]
lea edx, [esp + 0x30]
push 0
call fcn.0046d6b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x44ce10
cmp ecx, 0xc
jl 0x44ce10
cmp ecx, 0x2b
jle 0x44ce36
mov ecx, dword [0x507a8c]
push 1
push 0
push 0xffffffffffffffff
push 0x4f07d4
call fcn.0049fde0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov edi, dword [0x50931c]
mov byte [esp + 0x15], 0
mov dword [esp + 0x28], 1
mov byte [esp + 0x16], 1
movzx eax, word [edi]
mov dword [esp + 0x20], 0
test ax, ax
je 0x44cecf
mov ecx, eax
movzx esi, cx
test esi, 0xffffff80
je 0x44ce6f
xor eax, eax
jmp 0x44ce7a
push 2
push esi
call fcn.004be8e0
add esp, 8
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
cmp ecx, 0x44
je 0x44cebc
cmp ecx, 0x4c
je 0x44ceb2
cmp ecx, 0x54
jne 0x44cec1
lea ecx, [edi + 2]
mov byte [esp + 0x16], 0
call fcn.00427670
mulsd xmm0, qword [0x4fd560]
cvttsd2si edx, xmm0
mov dword [esp + 0x20], edx
jmp 0x44cec1
mov dword [esp + 0x28], 0
jmp 0x44cec1
mov byte [esp + 0x15], 1
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x44ce60
lea eax, [esp + 0x98]
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], eax
jmp 0x44cf8c
mov edx, dword [0x509318]
mov ecx, dword [0x509320]
cmp al, 0x3e
je 0x44cf07
cmp al, 0x5c
je 0x44cf0b
cmp word [ecx], 0
jne 0x44cf11
cmp al, 0x5c
jne 0x44cf5f
cmp word [edx], 0
je 0x44cf5f
cmp al, 0x5c
mov byte [esp + 0x16], 0
cmove ecx, edx
call fcn.00427670
mulsd xmm0, qword [0x4fd560]
mov bl, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], bl
mov dword [esp + 0x2c], edx
cvttsd2si ecx, xmm0
mov dword [esp + 0x20], ecx
cmp ecx, 1
mov cl, byte [esp + 0x14]
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
jge 0x44cf8c
mov dword [esp + 0x20], 0x1f4
jmp 0x44cf8c
mov al, byte [esp + 0x14]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x14]
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x24]
mov byte [esp + 0x16], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
mov al, byte [ebp]
cmp al, 0x3e
je 0x44cfac
mov ecx, dword [0x507a8c]
push 1
push 0
push 0xffffffffffffffff
push 0x4da494
call fcn.0049fde0
mov al, byte [ebp]
cmp al, 0x5c
jne 0x44cfc3
push 1
mov ecx, ebp
call fcn.0043a750
mov byte [esp + 0x17], 1
cmp eax, 1
je 0x44cfc8
mov byte [esp + 0x17], 0
xor edi, edi
lea ebx, [esp + 0x98]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x44d043
nop dword [eax]
test ecx, ecx
jne 0x44cfee
mov dword [esp + edi*4 + 0x38], 0x4da3cc
jmp 0x44d03a
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x38], ebx
push esi
push dword [edi*4 + 0x509318]
push ebx
call fcn.004c41d6
mov ecx, ebx
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d011
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
lea ecx, [esp + 0x98]
mov eax, ebx
sub eax, ecx
mov ecx, 0x4001
sar eax, 1
sub ecx, eax
movzx eax, byte [ebp + 1]
inc edi
cmp edi, eax
jl 0x44cfe0
mov eax, dword fs:[0x24]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [esp + 0x18], edi
mov ebx, dword [0x50499c]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
nop word [eax + eax]
movzx eax, byte [ebp]
add eax, 0xffffffc2
cmp eax, 0x40
ja case.0x44d087.63
movzx eax, byte [eax + 0x44d428]
jmp dword [eax*4 + 0x44d408]
mov al, byte [ebp + 1]
mov ecx, 0x4da3cc
cmp al, 4
mov edi, 0x4da3cc
push 0
cmova ecx, edx
mov esi, 0x4da3cc
cmp al, 3
mov edx, 0x4da3cc
push 0
cmova edi, dword [esp + 0x4c]
cmp al, 1
push 1
cmova esi, dword [esp + 0x48]
test al, al
push 0
cmovne edx, dword [esp + 0x48]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.004a10e0
add esp, 0x1c
test eax, eax
jne 0x44d382
mov edi, dword [esp + 0x18]
jmp case.0x44d087.63
mov al, byte [ebp + 1]
mov edi, 0x4da3cc
cmp al, 4
mov esi, 0x4da3cc
push 0
cmova edi, edx
mov ecx, 0x4da3cc
push 0
cmp al, 3
mov edx, 0x4da3cc
push 0
cmova esi, dword [esp + 0x50]
cmp al, 1
push 0
cmova ecx, dword [esp + 0x4c]
test al, al
push edi
cmovne edx, dword [esp + 0x4c]
push esi
push ecx
mov ecx, ebx
call fcn.004a10e0
add esp, 0x1c
test eax, eax
je 0x44d382
mov edi, dword [esp + 0x18]
jmp case.0x44d087.63
mov cl, byte [ebp + 1]
mov edi, 0x4da3cc
cmp cl, 4
mov esi, 0x4da3cc
push 1
cmova edi, edx
mov eax, 0x4da3cc
cmp cl, 3
mov edx, 0x4da3cc
push edi
cmova esi, dword [esp + 0x4c]
cmp cl, 1
push esi
cmova eax, dword [esp + 0x48]
test cl, cl
push eax
cmovne edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004a0f50
add esp, 0x10
test eax, eax
jne 0x44d382
mov edi, dword [esp + 0x18]
jmp case.0x44d087.63
mov cl, byte [ebp + 1]
mov edi, 0x4da3cc
cmp cl, 4
mov esi, 0x4da3cc
push 1
cmova edi, edx
mov eax, 0x4da3cc
cmp cl, 3
mov edx, 0x4da3cc
push edi
cmova esi, dword [esp + 0x4c]
cmp cl, 1
push esi
cmova eax, dword [esp + 0x48]
test cl, cl
push eax
cmovne edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004a0f50
add esp, 0x10
test eax, eax
je 0x44d382
mov edi, dword [esp + 0x18]
jmp case.0x44d087.63
cmp byte [esp + 0x17], 0
je 0x44d1fe
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x44d3c9
jmp case.0x44d087.63
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x44d3c9
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x44d3c9
jmp case.0x44d087.63
mov al, byte [esp + 0x14]
test al, al
je 0x44d23f
mov edx, dword [esp + 0x28]
mov cl, al
call fcn.0046d8d0
cmp al, byte [esp + 0x15]
je 0x44d3c9
jmp case.0x44d087.63
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x2c]
push 0
push eax
call fcn.0046d970
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x44d26a
mov al, 1
jmp 0x44d26c
xor al, al
cmp al, byte [esp + 0x15]
je 0x44d3c9
jmp case.0x44d087.63
test esi, esi
je 0x44d3e3
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x24], 0x103
jne 0x44d3d6
mov eax, dword [esp + 0x34]
cmp dword [0x50939c], eax
jne 0x44d357
cmp byte [esp + 0x16], 0
jne 0x44d2ca
mov esi, dword [esp + 0x20]
add esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
sub ecx, eax
cmp ecx, 5
jle 0x44d364
mov edx, 1
mov ecx, 0x8000012f
call fcn.004019f0
mov ebx, dword [0x50499c]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
test al, al
je 0x44d070
cmp byte [ebx + 0xf9], 0
je 0x44d070
mov eax, dword [0x508640]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x508c84], ebp
jne 0x44d321
cmp dword [ecx*4 + 0x508644], edi
je 0x44d070
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax*4 + 0x508c88], ebp
mov dword [eax*4 + 0x508648], edi
inc eax
mov dword [0x508640], eax
cmp eax, 0x190
jl 0x44d070
mov dword [0x508640], 0
jmp 0x44d05f
mov esi, dword [esp + 0x20]
add esi, edi
cmp byte [esp + 0x16], 0
jne 0x44d375
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, eax
cmp esi, 5
jle 0x44ce10
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44d059
mov eax, dword [0x50499c]
cmp dword [eax + 0x54], 0xffffffff
jle 0x44d3c9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x50939c], eax
je 0x44d3b6
mov eax, dword [0x50499c]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x50499c]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.004019f0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
jmp 0x44d3e9
xor eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [0x507a8c]
push 0x18
cdq
push edx
push eax
call fcn.004014e0
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret