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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8088
call fcn.004cc6a0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
mov dword [esp + 0x28], ebp
jne 0x45350c
mov ecx, dword [0x4fc308]
mov edx, str.UseErrorLevel
call fcn.004b09f0
mov esi, eax
mov al, 3
test esi, esi
setne byte [esp + 0x14]
cmp al, byte [ebp + 1]
lea eax, [esp + 0x18]
sbb ecx, ecx
and ecx, dword [0x4fc2b4]
test esi, esi
push ecx
push 1
push dword [esp + 0x1c]
mov ecx, 0x4fcc10
push eax
push dword [0x4fc308]
sete al
movzx eax, al
push eax
push dword [0x4fc304]
push 0
push dword [0x4fc300]
call fcn.0044ecf0
test eax, eax
jne 0x45350c
test esi, esi
je 0x453502
mov ecx, dword [0x4faa64]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.004b4bf0
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 0x453640
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x4fc300]
xor edx, edx
push 0
call fcn.0041efb0
add esp, 0xc
mov byte [esp + 0x10], al
test al, al
jne 0x453581
mov ecx, dword [0x4fc300]
lea edx, [esp + 0x2c]
push 0
call fcn.0047a220
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x453563
cmp ecx, 0xc
jl 0x453563
cmp ecx, 0x2b
jle 0x453589
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e513c
call fcn.004b4bf0
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 [0x4fc304]
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 0x453625
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov ecx, eax
nop dword [eax]
movzx esi, cx
test esi, 0xffffff80
jne 0x4535da
push 2
push esi
call ebx
add esp, 8
test eax, eax
je 0x4535da
and esi, 0xffffffdf
cmp esi, 0x44
je 0x453612
cmp esi, 0x4c
je 0x453608
cmp esi, 0x54
jne 0x453617
lea ecx, [edi + 2]
mov byte [esp + 0x12], 0
call fcn.0042a740
mulsd xmm0, qword [0x4f1f68]
cvttsd2si edx, xmm0
mov dword [esp + 0x1c], edx
jmp 0x453617
mov dword [esp + 0x24], 0
jmp 0x453617
mov byte [esp + 0x11], 1
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x4535c0
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x45368f
cmp al, 0x3e
je 0x453662
mov edx, dword [0x4fc300]
mov ecx, dword [0x4fc308]
cmp al, 0x5c
je 0x4536f8
cmp word [ecx], 0
jne 0x453702
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
cmp byte [ebp], 0x3e
je 0x4536ab
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
cmp byte [ebp], 0x5c
jne 0x4536c4
push 1
mov ecx, ebp
call fcn.0043f580
mov byte [esp + 0x13], 1
cmp eax, 1
je 0x4536c9
mov byte [esp + 0x13], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x4537b5
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
test ecx, ecx
jne 0x453757
mov dword [esp + edi*4 + 0x30], 0x4cec30
jmp 0x4537a0
cmp word [edx], 0
je 0x453662
cmp al, 0x5c
mov byte [esp + 0x12], 0
cmove ecx, edx
call fcn.0042a740
mulsd xmm0, qword [0x4f1f68]
mov cl, byte [esp + 0x10]
mov byte [esp + 0x10], cl
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
cmp eax, 1
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 dword [esp + 0x24], eax
jge 0x45368f
mov dword [esp + 0x1c], 0x1f4
jmp 0x45368f
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4fc300]
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 0x453777
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 0x4536e7
mov ebp, dword [esp + 0x28]
mov eax, dword fs:[0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
call esi
mov ebx, eax
mov edi, dword [0x4f8174]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
nop word [eax + eax]
movzx eax, byte [ebp]
add eax, 0xffffffc2
cmp eax, 0x40
ja case.0x4537f7.63
movzx eax, byte [eax + 0x453c54]
jmp dword [eax*4 + 0x453c34]
mov al, byte [ebp + 1]
cmp al, 4
jbe 0x453815
mov esi, dword [esp + 0x3c]
mov ecx, edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45385d
mov ecx, 0x4cec30
cmp al, 3
jbe 0x45382c
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45385d
mov ecx, 0x4cec30
mov esi, ecx
cmp al, 1
jbe 0x453841
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45385d
mov edx, 0x4cec30
mov ecx, edx
mov esi, edx
test al, al
je 0x453854
mov eax, dword [esp + 0x30]
jmp 0x45385d
mov eax, 0x4cec30
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.004b6150
add esp, 0x1c
test eax, eax
jne 0x453bac
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x4537f7.63
mov al, byte [ebp + 1]
cmp al, 4
jbe 0x45389e
mov esi, dword [esp + 0x3c]
mov ecx, edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4538e6
mov ecx, 0x4cec30
cmp al, 3
jbe 0x4538b5
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4538e6
mov ecx, 0x4cec30
mov esi, ecx
cmp al, 1
jbe 0x4538ca
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4538e6
mov edx, 0x4cec30
mov ecx, edx
mov esi, edx
test al, al
je 0x4538dd
mov eax, dword [esp + 0x30]
jmp 0x4538e6
mov eax, 0x4cec30
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.004b6150
add esp, 0x1c
test eax, eax
je 0x453bac
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x4537f7.63
mov al, byte [ebp + 1]
cmp al, 4
jbe 0x453927
mov esi, dword [esp + 0x3c]
mov ecx, edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45396f
mov ecx, 0x4cec30
cmp al, 3
jbe 0x45393e
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45396f
mov ecx, 0x4cec30
mov esi, ecx
cmp al, 1
jbe 0x453953
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x45396f
mov edx, 0x4cec30
mov ecx, edx
mov esi, edx
test al, al
je 0x453966
mov eax, dword [esp + 0x30]
jmp 0x45396f
mov eax, 0x4cec30
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004b5fc0
add esp, 0x10
test eax, eax
jne 0x453bac
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x4537f7.63
mov al, byte [ebp + 1]
cmp al, 4
jbe 0x4539aa
mov esi, dword [esp + 0x3c]
mov ecx, edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4539f2
mov ecx, 0x4cec30
cmp al, 3
jbe 0x4539c1
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4539f2
mov ecx, 0x4cec30
mov esi, ecx
cmp al, 1
jbe 0x4539d6
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x4539f2
mov edx, 0x4cec30
mov ecx, edx
mov esi, edx
test al, al
je 0x4539e9
mov eax, dword [esp + 0x30]
jmp 0x4539f2
mov eax, 0x4cec30
mov ecx, eax
mov esi, eax
push 1
push ecx
push esi
push edx
mov edx, eax
mov ecx, edi
call fcn.004b5fc0
add esp, 0x10
test eax, eax
je 0x453bac
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x4537f7.63
cmp byte [esp + 0x13], 0
je 0x453a30
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x453bf4
jmp case.0x4537f7.63
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
jne 0x453bf4
push 0xf
call edi
test eax, eax
jne 0x453bf4
jmp case.0x4537f7.63
mov al, byte [esp + 0x10]
test al, al
je 0x453a6f
mov edx, dword [esp + 0x24]
mov cl, al
call fcn.0047a3e0
cmp al, byte [esp + 0x11]
je 0x453bf4
jmp case.0x4537f7.63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x14]
push 0
push eax
call fcn.0047a480
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x453a9a
mov al, 1
jmp 0x453a9c
xor al, al
cmp al, byte [esp + 0x11]
je 0x453bf4
jmp case.0x4537f7.63
test ecx, ecx
je 0x453c11
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x20], 0x103
jne 0x453c01
mov eax, dword [esp + 0x28]
cmp dword [0x4fcbf0], eax
jne 0x453b85
cmp byte [esp + 0x12], 0
jne 0x453af4
call esi
mov ecx, dword [esp + 0x1c]
add ecx, ebx
sub ecx, eax
cmp ecx, 5
jle 0x453b8c
mov edx, 1
mov ecx, 0x8000012f
call fcn.004018d0
mov edi, dword [0x4f8174]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
test al, al
je 0x4537e0
cmp byte [edi + 0xf9], 0
je 0x4537e0
mov eax, dword [0x4fb620]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x4fbc64], ebp
jne 0x453b4f
cmp dword [ecx*4 + 0x4fb624], ebx
mov ecx, dword [esp + 0x18]
je 0x4537e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov dword [eax*4 + 0x4fbc68], ebp
mov dword [eax*4 + 0x4fb628], ebx
inc eax
mov dword [0x4fb620], eax
cmp eax, 0x190
jl 0x4537e0
mov dword [0x4fb620], 0
jmp 0x4537cf
cmp byte [esp + 0x12], 0
jne 0x453b9f
call esi
mov ecx, dword [esp + 0x1c]
add ecx, ebx
sub ecx, eax
cmp ecx, 5
jle 0x453563
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4537c9
mov eax, dword [0x4f8174]
cmp dword [eax + 0x54], 0xffffffff
jle 0x453bf4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x453be1
mov eax, dword [0x4f8174]
push dword [eax + 0x54]
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.004018d0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
jmp 0x453c17
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [0x4faa64]
push 0x18
cdq
push edx
push eax
call fcn.00401470
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret