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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8088
call fcn.004bdab0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
mov dword [esp + 0x28], ebp
jne 0x4447cb
mov ecx, dword [0x4eb050]
mov edx, str.UseErrorLevel
call fcn.004a1f00
test eax, eax
mov ecx, 0x4eb958
mov al, 3
setne bl
cmp al, byte [ebp + 1]
mov byte [esp + 0x14], bl
sbb eax, eax
and eax, dword [0x4eaffc]
push eax
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [0x4eb050]
mov al, bl
xor al, 1
movzx eax, al
push eax
push dword [0x4eb04c]
push 0
push dword [0x4eb048]
call fcn.0043f9c0
test eax, eax
jne 0x4447cb
test bl, bl
je 0x4447c1
mov ecx, dword [0x4e97d8]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.004a6070
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 0x444900
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x4eb048]
xor edx, edx
push 0
call fcn.004162a0
add esp, 0xc
mov byte [esp + 0x10], al
test al, al
jne 0x444840
mov ecx, dword [0x4eb048]
lea edx, [esp + 0x2c]
push 0
call fcn.0046bb70
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x444822
cmp ecx, 0xc
jl 0x444822
cmp ecx, 0x2b
jle 0x444848
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4ebc
call fcn.004a6070
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 edi, dword [0x4eb04c]
mov byte [esp + 0x11], 0
mov dword [esp + 0x24], 1
mov byte [esp + 0x12], 1
movzx eax, word [edi]
mov dword [esp + 0x1c], 0
test ax, ax
je 0x4448e5
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov ecx, eax
nop dword [eax + eax]
movzx esi, cx
test esi, 0xffffff80
jne 0x44489a
push 2
push esi
call ebx
add esp, 8
test eax, eax
je 0x44489a
and esi, 0xffffffdf
cmp esi, 0x44
je 0x4448d2
cmp esi, 0x4c
je 0x4448c8
cmp esi, 0x54
jne 0x4448d7
lea ecx, [edi + 2]
mov byte [esp + 0x12], 0
call fcn.004218d0
mulsd xmm0, qword [0x4e1158]
cvttsd2si edx, xmm0
mov dword [esp + 0x1c], edx
jmp 0x4448d7
mov dword [esp + 0x24], 0
jmp 0x4448d7
mov byte [esp + 0x11], 1
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x444880
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x44494f
cmp al, 0x3e
je 0x444922
mov edx, dword [0x4eb048]
mov ecx, dword [0x4eb050]
cmp al, 0x5c
je 0x4449c1
cmp word [ecx], 0
jne 0x4449cb
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 0x44496f
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc24
call fcn.004a6070
mov al, byte [ebp]
cmp al, 0x5c
jne 0x444986
push 1
mov ecx, ebp
call fcn.004303c0
mov byte [esp + 0x13], 1
cmp eax, 1
je 0x44498b
mov byte [esp + 0x13], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x444a7e
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
nop dword [eax]
test ecx, ecx
jne 0x444a20
mov dword [esp + edi*4 + 0x30], 0x4bfba0
jmp 0x444a69
cmp word [edx], 0
je 0x444922
cmp al, 0x5c
mov byte [esp + 0x12], 0
cmove ecx, edx
call fcn.004218d0
mulsd xmm0, qword [0x4e1158]
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 0x44494f
mov dword [esp + 0x1c], 0x1f4
jmp 0x44494f
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4eb048]
push ebx
call ebp
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 0x444a40
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
lea ecx, [esp + 0x90]
mov eax, ebx
sub eax, ecx
mov ecx, 0x4001
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x28]
inc edi
movzx eax, byte [eax + 1]
cmp edi, eax
jl 0x4449b0
mov ebp, dword [esp + 0x28]
mov eax, dword fs:[0x24]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, dword [0x4e7024]
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.0x444ab9.63
movzx eax, byte [eax + 0x444f1c]
jmp dword [eax*4 + 0x444efc]
mov al, byte [ebp + 1]
cmp al, 4
ja 0x444ad0
mov ecx, 0x4bfba0
cmp al, 3
jbe 0x444adc
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x444b0d
mov ecx, 0x4bfba0
mov esi, ecx
cmp al, 1
jbe 0x444af1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x444b0d
mov edx, 0x4bfba0
mov ecx, edx
mov esi, edx
test al, al
je 0x444b04
mov eax, dword [esp + 0x30]
jmp 0x444b0d
mov eax, 0x4bfba0
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.004a74f0
add esp, 0x1c
test eax, eax
je case.0x444ab9.63
mov eax, dword [0x4e7024]
cmp dword [eax + 0x54], 0xffffffff
jle 0x444eed
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x444e57
mov eax, dword [0x4e7024]
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 0x444b78
mov ecx, 0x4bfba0
cmp al, 3
jbe 0x444b84
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x444bb5
mov ecx, 0x4bfba0
mov esi, ecx
cmp al, 1
jbe 0x444b99
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x444bb5
mov edx, 0x4bfba0
mov ecx, edx
mov esi, edx
test al, al
je 0x444bac
mov eax, dword [esp + 0x30]
jmp 0x444bb5
mov eax, 0x4bfba0
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.004a74f0
add esp, 0x1c
test eax, eax
je 0x444b2c
jmp case.0x444ab9.63
mov al, byte [ebp + 1]
cmp al, 4
ja 0x444be9
mov ecx, 0x4bfba0
cmp al, 3
jbe 0x444bf5
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x444c26
mov ecx, 0x4bfba0
mov esi, ecx
cmp al, 1
jbe 0x444c0a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x444c26
mov edx, 0x4bfba0
mov ecx, edx
mov esi, edx
test al, al
je 0x444c1d
mov eax, dword [esp + 0x30]
jmp 0x444c26
mov eax, 0x4bfba0
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a7360
add esp, 0x10
test eax, eax
jne 0x444b2c
jmp case.0x444ab9.63
mov al, byte [ebp + 1]
cmp al, 4
ja 0x444c54
mov ecx, 0x4bfba0
cmp al, 3
jbe 0x444c60
mov eax, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esp + 0x34]
jmp 0x444c91
mov ecx, 0x4bfba0
mov esi, ecx
cmp al, 1
jbe 0x444c75
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x444c91
mov edx, 0x4bfba0
mov ecx, edx
mov esi, edx
test al, al
je 0x444c88
mov eax, dword [esp + 0x30]
jmp 0x444c91
mov eax, 0x4bfba0
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004a7360
add esp, 0x10
test eax, eax
je 0x444b2c
jmp case.0x444ab9.63
cmp byte [esp + 0x13], 0
je 0x444cc9
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x444eed
jmp case.0x444ab9.63
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x444eed
push 0xf
call esi
test eax, eax
jne 0x444eed
jmp case.0x444ab9.63
mov al, byte [esp + 0x10]
test al, al
je 0x444d08
mov edx, dword [esp + 0x24]
mov cl, al
call fcn.0046bd30
cmp al, byte [esp + 0x11]
je 0x444eed
jmp case.0x444ab9.63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x14]
push 0
push eax
call fcn.0046bdd0
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x444d33
mov al, 1
jmp 0x444d35
xor al, al
cmp al, byte [esp + 0x11]
je 0x444eed
jmp case.0x444ab9.63
test esi, esi
je 0x444e84
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x20], 0x103
jne 0x444e77
mov eax, dword [esp + 0x28]
cmp dword [0x4eb0cc], eax
jne 0x444e2c
cmp byte [esp + 0x12], 0
jne 0x444d93
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 0x444e39
mov edx, 1
mov ecx, 0x8000012f
call fcn.00401700
test al, al
je 0x444a90
mov edi, dword [0x4e7024]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp byte [edi + 0xf9], 0
je 0x444aa2
mov eax, dword [0x4ea36c]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x4ea9ac], ebp
jne 0x444df2
cmp dword [ecx*4 + 0x4ea36c], ebx
mov ecx, dword [esp + 0x40]
je 0x444aa2
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax*4 + 0x4ea9b0], ebp
mov dword [eax*4 + 0x4ea370], ebx
inc eax
mov dword [0x4ea36c], eax
cmp eax, 0x190
jl 0x444aa2
mov dword [0x4ea36c], 0
jmp 0x444a96
mov esi, dword [esp + 0x1c]
add esi, ebx
cmp byte [esp + 0x12], 0
jne 0x444e4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, eax
cmp esi, 5
jle 0x444822
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x444a90
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401700
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 0x444e8a
xor edi, edi
mov dword [esp + 0x20], edi
mov esi, dword [0x4e97d8]
cmp byte [esi + 0x17], 0
jne 0x444e99
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x444eb2
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 0x444edd
mov ecx, esi
call fcn.00401380
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4e9800], 0
je 0x444eed
mov ecx, esi
call fcn.00401380
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret