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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x408c
call fcn.00492d90
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
cmp byte [esi], 0x3e
jne 0x4335c8
mov ecx, dword [0x4b08a8]
mov edx, str.UseErrorLevel
call fcn.00472e50
test eax, eax
mov ecx, 0x4b09a0
mov al, 3
setne bl
cmp al, byte [esi + 1]
mov byte [esp + 0x10], bl
sbb eax, eax
and eax, dword [0x4b084c]
test bl, bl
push eax
push 1
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push dword [0x4b08a8]
sete al
movzx eax, al
push eax
push dword [0x4b08a4]
push 0
push dword [0x4b08a0]
call fcn.0042eff0
test eax, eax
jne 0x4335c8
test bl, bl
je 0x4335bf
mov ecx, dword [0x4af094]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 0x5d
jne 0x4336f2
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
mov ecx, dword [0x4b08a0]
xor edx, edx
push 0
call fcn.004134c0
mov bh, al
add esp, 0xc
mov byte [esp + 0xe], bh
test bh, bh
jne 0x43363b
mov ecx, dword [0x4b08a0]
lea edx, [esp + 0x2c]
push 0
call fcn.0044d690
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x43361e
cmp eax, 0xc
jl 0x43361e
cmp eax, 0x2b
jle 0x433643
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x4a09f8
call fcn.004759c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov esi, dword [0x4b08a4]
mov byte [esp + 0xd], 0
mov dword [esp + 0x24], 1
mov byte [esp + 0xc], 1
mov bl, byte [esi]
mov dword [esp + 0x28], 0
test bl, bl
je 0x4336d0
lea esp, [esp]
movzx eax, bl
test eax, 0xffffff80
jne 0x43368c
push 2
push eax
call fcn.0048708c
add esp, 8
test eax, eax
je 0x43368c
and bl, 0xdf
mov al, bl
cmp al, 0x44
je 0x4336c3
cmp al, 0x4c
je 0x4336b9
cmp al, 0x54
jne 0x4336c8
lea ecx, [esi + 1]
mov byte [esp + 0xc], 0
call fcn.004145b0
mulsd xmm0, qword [0x4a6668]
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
jmp 0x4336c8
mov dword [esp + 0x24], 0
jmp 0x4336c8
mov byte [esp + 0xd], 1
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x433670
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x43378f
mov edx, dword [0x4b08a0]
mov ecx, dword [0x4b08a8]
cmp al, 0x3e
je 0x43370b
cmp al, 0x5c
je 0x43370f
cmp byte [ecx], 0
jne 0x433714
cmp al, 0x5c
jne 0x433762
cmp byte [edx], 0
je 0x433762
cmp al, 0x5c
mov byte [esp + 0xc], 0
cmove ecx, edx
call fcn.004145b0
mulsd xmm0, qword [0x4a6668]
mov dl, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xe], dl
mov dword [esp + 0x20], ecx
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
cmp eax, 1
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jge 0x43378f
mov dword [esp + 0x28], 0x1f4
jmp 0x43378f
mov byte [esp + 0xc], 1
mov al, byte [esp + 0xc]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0xc]
mov byte [esp + 0xd], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
cmp byte [esi], 0x3e
je 0x4337aa
mov ecx, dword [0x4af094]
push 1
push 0
push 0xffffffffffffffff
push 0x49e080
call fcn.004759c0
cmp byte [esi], 0x5c
jne 0x4337c2
push 1
mov ecx, esi
call fcn.00421930
mov byte [esp + 0xf], 1
cmp eax, 1
je 0x4337c7
mov byte [esp + 0xf], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [esi + 1], 0
mov ecx, 0x4001
jbe 0x433832
jmp 0x4337e0
test ecx, ecx
jne 0x4337ee
mov dword [esp + edi*4 + 0x30], 0x49e065
jmp 0x433829
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4b08a0]
push ebx
call fcn.00488ae0
mov ecx, ebx
mov byte [esi + ebx], 0
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433810
mov esi, dword [esp + 0x18]
sub ecx, edx
inc ecx
add ebx, ecx
lea ecx, [esp + 0x4091]
sub ecx, ebx
movzx eax, byte [esi + 1]
inc edi
cmp edi, eax
jl 0x4337e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [0x4ac1d8]
mov edi, eax
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
lea esp, [esp]
movzx eax, byte [esi]
add eax, 0xffffffc2
cmp eax, 0x3c
ja case.0x433866.63
movzx eax, byte [eax + 0x433bb8]
jmp dword [eax*4 + 0x433b98]
mov al, byte [esi + 1]
mov ecx, 0x49e065
cmp al, 4
mov edi, 0x49e065
push 0
cmova ecx, edx
mov esi, 0x49e065
cmp al, 3
mov edx, 0x49e065
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.00476cf0
add esp, 0x1c
test eax, eax
jne 0x433b38
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp case.0x433866.63
mov al, byte [esi + 1]
mov edi, 0x49e065
cmp al, 4
mov esi, 0x49e065
push 0
cmova edi, edx
mov ecx, 0x49e065
push 0
cmp al, 3
mov edx, 0x49e065
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.00476cf0
add esp, 0x1c
test eax, eax
je 0x433b5c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp case.0x433866.63
mov cl, byte [esi + 1]
mov edi, 0x49e065
cmp cl, 4
mov esi, 0x49e065
push 1
cmova edi, edx
mov eax, 0x49e065
cmp cl, 3
mov edx, 0x49e065
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.00476b80
add esp, 0x10
test eax, eax
jne 0x433b5c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp case.0x433866.63
mov cl, byte [esi + 1]
mov edi, 0x49e065
cmp cl, 4
mov esi, 0x49e065
push 1
cmova edi, edx
mov eax, 0x49e065
cmp cl, 3
mov edx, 0x49e065
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.00476b80
add esp, 0x10
test eax, eax
je 0x433b5c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
jmp case.0x433866.63
cmp byte [esp + 0xf], 0
je 0x4339ed
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x433b50
jmp case.0x433866.63
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x433b50
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x433b50
jmp case.0x433866.63
mov al, byte [esp + 0xe]
test al, al
je 0x433a2e
mov edx, dword [esp + 0x24]
mov cl, al
call fcn.0044d840
cmp al, byte [esp + 0xd]
je 0x433b50
jmp case.0x433866.63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x20]
push 0
push eax
call fcn.0044d8e0
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x433a59
mov al, 1
jmp 0x433a5b
xor al, al
cmp al, byte [esp + 0xd]
je 0x433b50
jmp case.0x433866.63
test ecx, ecx
je 0x433b76
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x1c], 0x103
jne 0x433b66
cmp byte [esp + 0xc], 0
jne 0x433aa7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43361e
mov edx, 1
mov ecx, 0x8000012f
call fcn.004027d0
mov ebx, dword [0x4ac1d8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
test al, al
je 0x433850
cmp byte [ebx + 0xd9], 0
je 0x433850
mov eax, dword [0x4afbb4]
mov ecx, 0x190
test eax, eax
cmovne ecx, eax
cmp dword [ecx*4 + 0x4b01fc], esi
jne 0x433b02
cmp dword [ecx*4 + 0x4afbbc], edi
mov ecx, dword [esp + 0x14]
je 0x433850
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov dword [eax*4 + 0x4b0200], esi
mov dword [eax*4 + 0x4afbc0], edi
inc eax
mov dword [0x4afbb4], eax
cmp eax, 0x190
jl 0x433850
mov dword [0x4afbb4], 0
jmp 0x433844
mov ecx, dword [0x4ac1d8]
mov ecx, dword [ecx + 0x54]
cmp ecx, 0xffffffff
jle 0x433b50
mov edx, 1
call fcn.004027d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ac1d8]
mov ecx, dword [eax + 0x54]
jmp 0x433b41
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
jmp 0x433b7c
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4af094]
push 0x18
cdq
push edx
push eax
call fcn.00402370
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret