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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4088
call fcn.004cd3a0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
jne 0x444d37
mov ecx, dword [0x4ecf10]
mov edx, str.UseErrorLevel
call fcn.0049e4d0
test eax, eax
mov ecx, 0x4ed830
mov al, 3
setne bl
cmp al, byte [ebp + 1]
mov byte [esp + 0x14], bl
sbb eax, eax
and eax, dword [0x4ecebc]
push eax
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [0x4ecf10]
mov al, bl
xor al, 1
movzx eax, al
push eax
push dword [0x4ecf0c]
push 0
push dword [0x4ecf08]
call fcn.0043fa30
test eax, eax
jne 0x444d37
test bl, bl
je 0x444d2d
mov ecx, dword [0x4eb720]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.004a2730
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 0x444e5b
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x4ecf08]
xor edx, edx
push 0
call fcn.00415c70
mov bh, al
add esp, 0xc
mov byte [esp + 0x10], bh
test bh, bh
jne 0x444dac
mov ecx, dword [0x4ecf08]
lea edx, [esp + 0x28]
push 0
call fcn.00468b30
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x444d8e
cmp eax, 0xc
jl 0x444d8e
cmp eax, 0x2b
jle 0x444db4
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov esi, dword [0x4ecf0c]
mov byte [esp + 0x11], 0
mov dword [esp + 0x24], 1
mov byte [esp + 0x12], 1
mov bl, byte [esi]
mov dword [esp + 0x1c], 0
test bl, bl
je 0x444e40
nop word [eax + eax]
movzx eax, bl
test eax, 0xffffff80
jne 0x444dfc
push 2
push eax
call fcn.004b8e5e
add esp, 8
test eax, eax
je 0x444dfc
and bl, 0xdf
mov al, bl
cmp al, 0x44
je 0x444e33
cmp al, 0x4c
je 0x444e29
cmp al, 0x54
jne 0x444e38
lea ecx, [esi + 1]
mov byte [esp + 0x12], 0
call fcn.00421050
mulsd xmm0, qword [0x4e1c48]
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
jmp 0x444e38
mov dword [esp + 0x24], 0
jmp 0x444e38
mov byte [esp + 0x11], 1
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x444de0
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x444ea9
cmp al, 0x3e
je 0x444e7c
mov edx, dword [0x4ecf08]
mov ecx, dword [0x4ecf10]
cmp al, 0x5c
je 0x444f11
cmp byte [ecx], 0
jne 0x444f1a
mov al, byte [esp + 0x10]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x10]
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x20]
mov byte [esp + 0x12], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov al, byte [ebp]
cmp al, 0x3e
je 0x444ec9
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
mov al, byte [ebp]
cmp al, 0x5c
jne 0x444ee0
push 1
mov ecx, ebp
call fcn.00430240
mov byte [esp + 0x13], 1
cmp eax, 1
je 0x444ee5
mov byte [esp + 0x13], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x444fb2
nop dword [eax]
test ecx, ecx
jne 0x444f6f
mov dword [esp + edi*4 + 0x30], 0x4d5231
jmp 0x444fa5
cmp byte [edx], 0
je 0x444e7c
cmp al, 0x5c
mov byte [esp + 0x12], 0
cmove ecx, edx
call fcn.00421050
mulsd xmm0, qword [0x4e1c48]
mov dl, byte [esp + 0x10]
mov byte [esp + 0x10], dl
cvttsd2si ecx, xmm0
mov dword [esp + 0x1c], ecx
cmp ecx, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
jge 0x444ea9
mov dword [esp + 0x1c], 0x1f4
jmp 0x444ea9
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4ecf08]
push ebx
call fcn.004ba990
mov ecx, ebx
mov byte [esi + ebx], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444f90
sub ecx, edx
inc ecx
add ebx, ecx
lea ecx, [esp + 0x4091]
sub ecx, ebx
movzx eax, byte [ebp + 1]
inc edi
cmp edi, eax
jl 0x444f00
mov eax, dword fs:[0x24]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, dword [0x4e88cc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
movzx eax, byte [ebp]
add eax, 0xffffffc2
cmp eax, 0x40
ja case.0x444fed.63
movzx eax, byte [eax + 0x445450]
jmp dword [eax*4 + 0x445430]
mov al, byte [ebp + 1]
cmp al, 4
ja 0x445004
mov ecx, 0x4d5231
cmp al, 3
jbe 0x445010
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x445041
mov ecx, 0x4d5231
mov esi, ecx
cmp al, 1
jbe 0x445025
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x445041
mov edx, 0x4d5231
mov ecx, edx
mov esi, edx
test al, al
je 0x445038
mov eax, dword [esp + 0x30]
jmp 0x445041
mov eax, 0x4d5231
mov ecx, eax
mov esi, eax
push 0
push 0
push 1
push 0
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a3b20
add esp, 0x1c
test eax, eax
je case.0x444fed.63
mov eax, dword [0x4e88cc]
cmp dword [eax + 0x54], 0xffffffff
jle 0x445421
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ed7f8], eax
je 0x44538b
mov eax, dword [0x4e88cc]
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 al, byte [ebp + 1]
cmp al, 4
ja 0x4450ac
mov ecx, 0x4d5231
cmp al, 3
jbe 0x4450b8
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x4450e9
mov ecx, 0x4d5231
mov esi, ecx
cmp al, 1
jbe 0x4450cd
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4450e9
mov edx, 0x4d5231
mov ecx, edx
mov esi, edx
test al, al
je 0x4450e0
mov eax, dword [esp + 0x30]
jmp 0x4450e9
mov eax, 0x4d5231
mov ecx, eax
mov esi, eax
push 0
push 0
push 0
push 0
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a3b20
add esp, 0x1c
test eax, eax
je 0x445060
jmp case.0x444fed.63
mov al, byte [ebp + 1]
cmp al, 4
ja 0x44511d
mov ecx, 0x4d5231
cmp al, 3
jbe 0x445129
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x44515a
mov ecx, 0x4d5231
mov esi, ecx
cmp al, 1
jbe 0x44513e
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x44515a
mov edx, 0x4d5231
mov ecx, edx
mov esi, edx
test al, al
je 0x445151
mov eax, dword [esp + 0x30]
jmp 0x44515a
mov eax, 0x4d5231
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a39a0
add esp, 0x10
test eax, eax
jne 0x445060
jmp case.0x444fed.63
mov al, byte [ebp + 1]
cmp al, 4
ja 0x445188
mov ecx, 0x4d5231
cmp al, 3
jbe 0x445194
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x4451c5
mov ecx, 0x4d5231
mov esi, ecx
cmp al, 1
jbe 0x4451a9
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4451c5
mov edx, 0x4d5231
mov ecx, edx
mov esi, edx
test al, al
je 0x4451bc
mov eax, dword [esp + 0x30]
jmp 0x4451c5
mov eax, 0x4d5231
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a39a0
add esp, 0x10
test eax, eax
je 0x445060
jmp case.0x444fed.63
cmp byte [esp + 0x13], 0
je 0x4451fd
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x445421
jmp case.0x444fed.63
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x445421
push 0xf
call esi
test eax, eax
jne 0x445421
jmp case.0x444fed.63
mov al, byte [esp + 0x10]
test al, al
je 0x44523c
mov edx, dword [esp + 0x24]
mov cl, al
call fcn.00468db0
cmp al, byte [esp + 0x11]
je 0x445421
jmp case.0x444fed.63
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x14]
push 0
push eax
call fcn.00468e50
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x445267
mov al, 1
jmp 0x445269
xor al, al
cmp al, byte [esp + 0x11]
je 0x445421
jmp case.0x444fed.63
test esi, esi
je 0x4453b8
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x20], 0x103
jne 0x4453ab
mov eax, dword [esp + 0x2c]
cmp dword [0x4ed7f8], eax
jne 0x445360
cmp byte [esp + 0x12], 0
jne 0x4452c7
mov esi, dword [esp + 0x1c]
add esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
sub ecx, eax
cmp ecx, 5
jle 0x44536d
mov edx, 1
mov ecx, 0x8000012f
call fcn.00401730
test al, al
je 0x444fc4
mov edi, dword [0x4e88cc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp byte [edi + 0xd9], 0
je 0x444fd6
mov eax, dword [0x4ec22c]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x4ec86c], ebp
jne 0x445326
cmp dword [ecx*4 + 0x4ec22c], ebx
mov ecx, dword [esp + 0x40]
je 0x444fd6
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax*4 + 0x4ec870], ebp
mov dword [eax*4 + 0x4ec230], ebx
inc eax
mov dword [0x4ec22c], eax
cmp eax, 0x190
jl 0x444fd6
mov dword [0x4ec22c], 0
jmp 0x444fca
mov esi, dword [esp + 0x1c]
add esi, ebx
cmp byte [esp + 0x12], 0
jne 0x44537e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, eax
cmp esi, 5
jle 0x444d8e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x444fc4
mov ecx, dword [0x4e88cc]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401730
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 edi, dword [esp + 0x20]
jmp 0x4453be
xor edi, edi
mov dword [esp + 0x20], edi
mov esi, dword [0x4eb720]
cmp byte [esi + 0x17], 0
jne 0x4453cd
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x4453e6
and cl, 0x3d
mov byte [esi + 0x15], cl
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [esi + 0x15]
mov eax, edi
and cl, 0x9b
cdq
or cl, 0x18
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x445411
mov ecx, esi
call fcn.004013b0
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4eb748], 0
je 0x445421
mov ecx, esi
call fcn.004013b0
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret