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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8088
call fcn.004a4980
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [ebp], 0x3e
jne 0x432b97
mov ecx, dword [0x4d3df8]
mov edx, str.UseErrorLevel
call fcn.004730c0
test eax, eax
mov ecx, 0x4d3ee0
mov al, 3
setne bl
cmp al, byte [ebp + 1]
mov byte [esp + 0x14], bl
sbb eax, eax
and eax, dword [0x4d3da4]
push eax
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [0x4d3df8]
mov al, bl
xor al, 1
movzx eax, al
push eax
push dword [0x4d3df4]
push 0
push dword [0x4d3df0]
call fcn.0042e050
test eax, eax
jne 0x432b97
test bl, bl
je 0x432b8d
mov ecx, dword [0x4d166c]
push 1
push eax
push 0xffffffffffffffff
push str.ERROR
call fcn.00475930
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 0x432cce
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [0x4d3df0]
xor edx, edx
push eax
push 1
push 0
call fcn.00412680
mov bl, al
add esp, 0xc
mov byte [esp + 0x12], bl
test bl, bl
jne 0x432c0f
mov ecx, dword [0x4d3df0]
lea edx, [esp + 0x2c]
push 0
call fcn.0044eb40
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x432bf1
cmp ecx, 0xc
jl 0x432bf1
cmp ecx, 0x2b
jle 0x432c17
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
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 [0x4d3df4]
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 0x432cb0
mov ecx, eax
movzx esi, cx
test esi, 0xffffff80
je 0x432c50
xor eax, eax
jmp 0x432c5b
push 2
push esi
call fcn.00491ac4
add esp, 8
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
cmp ecx, 0x44
je 0x432c9d
cmp ecx, 0x4c
je 0x432c93
cmp ecx, 0x54
jne 0x432ca2
lea ecx, [edi + 2]
mov byte [esp + 0x10], 0
call fcn.00413520
mulsd xmm0, qword [0x4c95c8]
cvttsd2si edx, xmm0
mov dword [esp + 0x28], edx
jmp 0x432ca2
mov dword [esp + 0x20], 0
jmp 0x432ca2
mov byte [esp + 0x11], 1
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x432c41
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
jmp 0x432d6d
mov edx, dword [0x4d3df0]
mov ecx, dword [0x4d3df8]
cmp al, 0x3e
je 0x432ce8
cmp al, 0x5c
je 0x432cec
cmp word [ecx], 0
jne 0x432cf2
cmp al, 0x5c
jne 0x432d40
cmp word [edx], 0
je 0x432d40
cmp al, 0x5c
mov byte [esp + 0x10], 0
cmove ecx, edx
call fcn.00413520
mulsd xmm0, qword [0x4c95c8]
mov bl, byte [esp + 0x10]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x12], bl
mov dword [esp + 0x24], edx
cvttsd2si ecx, xmm0
mov dword [esp + 0x28], ecx
cmp ecx, 1
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
jge 0x432d6d
mov dword [esp + 0x28], 0x1f4
jmp 0x432d6d
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
mov al, byte [ebp]
cmp al, 0x3e
je 0x432d8d
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4ac300
call fcn.00475930
mov al, byte [ebp]
cmp al, 0x5c
jne 0x432da4
push 1
mov ecx, ebp
call fcn.00420900
mov byte [esp + 0x13], 1
cmp eax, 1
je 0x432da9
mov byte [esp + 0x13], 0
xor edi, edi
lea ebx, [esp + 0x90]
cmp byte [ebp + 1], 0
mov ecx, 0x4001
jbe 0x432e23
nop dword [eax]
test ecx, ecx
jne 0x432dce
mov dword [esp + edi*4 + 0x30], 0x4ac22c
jmp 0x432e1a
lea esi, [ecx - 1]
mov dword [esp + edi*4 + 0x30], ebx
push esi
push dword [edi*4 + 0x4d3df0]
push ebx
call fcn.00497e59
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 0x432df1
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 0x432dc0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [0x4ce8c8]
mov esi, eax
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
nop
movzx eax, byte [ebp]
add eax, 0xffffffc2
cmp eax, 0x3c
ja case.0x432e57.63
movzx eax, byte [eax + 0x433158]
jmp dword [eax*4 + 0x433138]
mov al, byte [ebp + 1]
mov ecx, 0x4ac22c
cmp al, 4
mov edi, 0x4ac22c
push 0
cmova ecx, edx
mov esi, 0x4ac22c
cmp al, 3
mov edx, 0x4ac22c
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.00476d30
add esp, 0x1c
test eax, eax
jne 0x4330f5
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x432e57.63
mov al, byte [ebp + 1]
mov edi, 0x4ac22c
cmp al, 4
mov esi, 0x4ac22c
push 0
cmova edi, edx
mov ecx, 0x4ac22c
push 0
cmp al, 3
mov edx, 0x4ac22c
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.00476d30
add esp, 0x1c
test eax, eax
je 0x4330f5
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x432e57.63
mov cl, byte [ebp + 1]
mov edi, 0x4ac22c
cmp cl, 4
mov esi, 0x4ac22c
push 1
cmova edi, edx
mov eax, 0x4ac22c
cmp cl, 3
mov edx, 0x4ac22c
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.00476bc0
add esp, 0x10
jmp 0x432ea4
mov cl, byte [ebp + 1]
mov edi, 0x4ac22c
cmp cl, 4
mov esi, 0x4ac22c
push 1
cmova edi, edx
mov eax, 0x4ac22c
cmp cl, 3
mov edx, 0x4ac22c
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.00476bc0
add esp, 0x10
test eax, eax
jne 0x432eac
mov ecx, dword [0x4ce8c8]
mov ecx, dword [ecx + 0x54]
cmp ecx, 0xffffffff
jle 0x432fc3
mov edx, 1
call fcn.00401e60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x432fe6
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x432fc3
jmp case.0x432e57.63
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x432fc3
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x432fc3
jmp case.0x432e57.63
mov al, byte [esp + 0x12]
test al, al
je 0x43301b
mov edx, dword [esp + 0x20]
mov cl, al
call fcn.0044ed60
cmp al, byte [esp + 0x11]
je 0x432fc3
jmp case.0x432e57.63
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x24]
push 0
push eax
call fcn.0044ee00
add esp, 8
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x433046
mov al, 1
jmp 0x433048
xor al, al
cmp al, byte [esp + 0x11]
je 0x432fc3
jmp case.0x432e57.63
test ecx, ecx
je 0x433112
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x1c], 0x103
jne 0x433102
cmp byte [esp + 0x10], 0
jne 0x433090
call edi
mov ecx, dword [esp + 0x28]
add ecx, esi
sub ecx, eax
cmp ecx, 5
jle 0x432bf1
mov edx, 1
mov ecx, 0x8000012f
call fcn.00401e60
mov ebx, dword [0x4ce8c8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
test al, al
je 0x432e40
cmp byte [ebx + 0xf9], 0
je 0x432e40
mov eax, dword [0x4d3110]
mov dword [eax*4 + 0x4d3758], ebp
mov dword [eax*4 + 0x4d3118], esi
inc eax
mov dword [0x4d3110], eax
cmp eax, 0x190
jl 0x432e40
mov dword [0x4d3110], 0
jmp 0x432e37
mov eax, dword [0x4ce8c8]
mov ecx, dword [eax + 0x54]
jmp 0x432fb4
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
jmp 0x433118
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4d166c]
push 0x18
cdq
push edx
push eax
call fcn.00401ac0
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret