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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8088
call fcn.004ab360
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
jne 0x43a4f7
mov ecx, dword [0x4ddf70]
mov edx, str.UseErrorLevel
call fcn.004786c0
test eax, eax
mov ecx, 0x4de0d0
mov al, 3
setne bl
cmp al, byte [ebp + 1]
mov byte [esp + 0x14], bl
sbb eax, eax
and eax, dword [0x4ddf24]
push eax
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [0x4ddf70]
mov al, bl
xor al, 1
movzx eax, al
push eax
push dword [0x4ddf6c]
push 0
push dword [0x4ddf68]
call fcn.00436160
test eax, eax
jne 0x43a4f7
test bl, bl
je 0x43a4ed
mov ecx, dword [0x4db768]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.0047b2f0
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 0x43a627
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x4ddf68]
xor edx, edx
push 0
call fcn.00416d70
mov bl, al
add esp, 0xc
mov byte [esp + 0x12], bl
test bl, bl
jne 0x43a56e
mov ecx, dword [0x4ddf68]
lea edx, [esp + 0x2c]
push 0
call fcn.004546a0
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x43a550
cmp ecx, 0xc
jl 0x43a550
cmp ecx, 0x2b
jle 0x43a576
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
call fcn.0047b2f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov edi, dword [0x4ddf6c]
mov byte [esp + 0x11], 0
mov dword [esp + 0x20], 1
mov byte [esp + 0x10], 1
movzx eax, word [edi]
mov dword [esp + 0x28], 0
test ax, ax
je 0x43a609
nop
movzx esi, ax
test esi, 0xffffff80
jne 0x43a5bd
push 2
push esi
call fcn.00498ea3
add esp, 8
test eax, eax
je 0x43a5bd
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x44
je 0x43a5f8
cmp eax, 0x4c
je 0x43a5ee
cmp eax, 0x54
jne 0x43a5fd
lea ecx, [edi + 2]
mov byte [esp + 0x10], 0
call fcn.00417e30
mulsd xmm0, qword [0x4d3108]
cvttsd2si ecx, xmm0
mov dword [esp + 0x28], ecx
jmp 0x43a5fd
mov dword [esp + 0x20], 0
jmp 0x43a5fd
mov byte [esp + 0x11], 1
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43a5a0
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x43a6c6
mov edx, dword [0x4ddf68]
mov ecx, dword [0x4ddf70]
cmp al, 0x3e
je 0x43a641
cmp al, 0x5c
je 0x43a645
cmp word [ecx], 0
jne 0x43a64b
cmp al, 0x5c
jne 0x43a699
cmp word [edx], 0
je 0x43a699
cmp al, 0x5c
mov byte [esp + 0x10], 0
cmove ecx, edx
call fcn.00417e30
mulsd xmm0, qword [0x4d3108]
mov dl, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x12], dl
mov dword [esp + 0x24], ecx
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
cmp eax, 1
mov al, byte [esp + 0x10]
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jge 0x43a6c6
mov dword [esp + 0x28], 0x1f4
jmp 0x43a6c6
mov byte [esp + 0x10], 1
mov al, byte [esp + 0x10]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x10]
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
cmp byte [ebp], 0x3e
je 0x43a6e2
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4b41e8
call fcn.0047b2f0
cmp byte [ebp], 0x5c
jne 0x43a6fb
push 1
mov ecx, ebp
call fcn.004289f0
mov byte [esp + 0x13], 1
cmp eax, 1
je 0x43a700
mov byte [esp + 0x13], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x43a777
test ecx, ecx
jne 0x43a722
mov dword [esp + edi*4 + 0x30], 0x4c602c
jmp 0x43a76e
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4ddf68]
push ebx
call fcn.0049ef24
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 0x43a745
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
movzx eax, byte [ebp + 1]
inc edi
cmp edi, eax
jl 0x43a714
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [0x4d89c0]
mov esi, eax
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
movzx eax, byte [ebp]
add eax, 0xffffffc2
cmp eax, 0x3c
ja case.0x43a7aa.63
movzx eax, byte [eax + 0x43aaf0]
jmp dword [eax*4 + 0x43aad0]
mov al, byte [ebp + 1]
mov ecx, 0x4c602c
cmp al, 4
mov edi, 0x4c602c
push 0
cmova ecx, edx
mov esi, 0x4c602c
cmp al, 3
mov edx, 0x4c602c
push 0
cmova edi, dword [esp + 0x44]
cmp al, 1
push 1
cmova esi, dword [esp + 0x40]
test al, al
push 0
cmovne edx, dword [esp + 0x40]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0047c620
add esp, 0x1c
test eax, eax
jne 0x43aa6e
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x43a7aa.63
mov al, byte [ebp + 1]
mov edi, 0x4c602c
cmp al, 4
mov esi, 0x4c602c
push 0
cmova edi, edx
mov ecx, 0x4c602c
push 0
cmp al, 3
mov edx, 0x4c602c
push 0
cmova esi, dword [esp + 0x48]
cmp al, 1
push 0
cmova ecx, dword [esp + 0x44]
test al, al
push edi
cmovne edx, dword [esp + 0x44]
push esi
push ecx
mov ecx, ebx
call fcn.0047c620
add esp, 0x1c
test eax, eax
je 0x43aa93
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x43a7aa.63
mov cl, byte [ebp + 1]
mov edi, 0x4c602c
cmp cl, 4
mov esi, 0x4c602c
push 1
cmova edi, edx
mov eax, 0x4c602c
cmp cl, 3
mov edx, 0x4c602c
push edi
cmova esi, dword [esp + 0x44]
cmp cl, 1
push esi
cmova eax, dword [esp + 0x40]
test cl, cl
push eax
cmovne edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.0047c4b0
add esp, 0x10
test eax, eax
jne 0x43aa93
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x43a7aa.63
mov cl, byte [ebp + 1]
mov edi, 0x4c602c
cmp cl, 4
mov esi, 0x4c602c
push 1
cmova edi, edx
mov eax, 0x4c602c
cmp cl, 3
mov edx, 0x4c602c
push edi
cmova esi, dword [esp + 0x44]
cmp cl, 1
push esi
cmova eax, dword [esp + 0x40]
test cl, cl
push eax
cmovne edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.0047c4b0
add esp, 0x10
jmp 0x43a854
cmp byte [esp + 0x13], 0
je 0x43a927
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x43aa86
jmp case.0x43a7aa.63
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x43aa86
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x43aa86
jmp case.0x43a7aa.63
mov al, byte [esp + 0x12]
test al, al
je 0x43a968
mov edx, dword [esp + 0x20]
mov cl, al
call fcn.004548b0
cmp al, byte [esp + 0x11]
je 0x43aa86
jmp case.0x43a7aa.63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x24]
push 0
push eax
call fcn.00454950
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x43a993
mov al, 1
jmp 0x43a995
xor al, al
cmp al, byte [esp + 0x11]
je 0x43aa86
jmp case.0x43a7aa.63
test ecx, ecx
je 0x43aaad
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x1c], 0x103
jne 0x43aa9d
cmp byte [esp + 0x10], 0
jne 0x43a9dd
call edi
mov ecx, dword [esp + 0x28]
add ecx, esi
sub ecx, eax
cmp ecx, 5
jle 0x43a550
mov edx, 1
mov ecx, 0x8000012f
call fcn.004016e0
mov ebx, dword [0x4d89c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
test al, al
je 0x43a793
cmp byte [ebx + 0xf9], 0
je 0x43a793
mov eax, dword [0x4dd290]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x4dd8d4], ebp
jne 0x43aa38
cmp dword [ecx*4 + 0x4dd294], esi
mov ecx, dword [esp + 0x18]
je 0x43a793
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov dword [eax*4 + 0x4dd8d8], ebp
mov dword [eax*4 + 0x4dd298], esi
inc eax
mov dword [0x4dd290], eax
cmp eax, 0x190
jl 0x43a793
mov dword [0x4dd290], 0
jmp 0x43a78b
mov ecx, dword [0x4d89c0]
mov ecx, dword [ecx + 0x54]
cmp ecx, 0xffffffff
jle 0x43aa86
mov edx, 1
call fcn.004016e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4d89c0]
mov ecx, dword [eax + 0x54]
jmp 0x43aa77
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
jmp 0x43aab3
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4db768]
push 0x18
cdq
push edx
push eax
call fcn.00401330
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret