Function at 0x41a810
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
mov bl, byte [0x4aa3b3]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov word [esp + 0x2c], 0x920
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0
mov esi, ebp
test ebp, ebp
je 0x41a85a
mov dl, byte [ebp]
test dl, dl
je 0x41a85a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x41a874
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a846
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x41a840
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a860
sub eax, edx
xor esi, esi
lea edi, [eax + ebp]
mov dword [esp + 0x2c], esi
jmp 0x41a8c1
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x41a884
cmp cl, 9
jne 0x41a887
inc eax
jmp 0x41a878
mov cl, byte [eax]
test cl, cl
jne 0x41a895
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x41a8c1
cmp cl, bl
je 0x41a89f
mov dword [esp + 0x2c], eax
jmp 0x41a8bd
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x41a89f
cmp cl, 9
je 0x41a89f
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x41a8bd
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x2c]
sub edi, ebp
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
je 0x41a90f
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
je 0x41a90f
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41a91e
mov dword [0x4ae3c0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41a94a
mov byte [0x4ae392], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41a976
mov byte [0x4ae391], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41aa27
mov dword [0x4ae3ac], 1
test esi, esi
je 0x41a90f
push str.Force
push esi
call fcn.00487c11
add esp, 8
test eax, eax
jne 0x41a9cd
mov dword [0x4ae3ac], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.00487c11
add esp, 8
test eax, eax
jne 0x41a9f8
mov dword [0x4ae3ac], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x49cf34
push esi
call fcn.00487c11
add esp, 8
test eax, eax
jne 0x41a90f
mov dword [0x4ae3ac], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41aa53
or byte [0x4aea9c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41aa7f
or byte [0x4aea9c], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41aac8
test esi, esi
je 0x41aab2
push eax
call fcn.00409cd0
add esp, 4
mov byte [0x4aea68], 0
cmp eax, 2
je 0x41a90f
mov byte [0x4aea68], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49c004
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41ab97
xor ebx, ebx
cmp esi, ebx
jne 0x41aafb
mov dword [0x4ae3d8], ebx
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.0040a270
mov dword [0x4ae3d8], eax
cmp eax, ebx
jne 0x41a90f
mov eax, dword [0x4aa978]
mov edi, dword [eax + 0x94]
push 0
push 0
push 0
push 0x49b8bd
push 0
mov dword [eax + 0x94], ebx
mov ebx, dword [esp + 0x3c]
push 0xe3
push esi
mov ecx, ebx
mov byte [ebx + 0x49], 1
call fcn.0041bf10
test eax, eax
jne 0x41ab52
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4aa978]
mov byte [ebx + 0x49], 0
mov dword [eax + 0x94], edi
mov esi, dword [ebx + 4]
call fcn.0040a1f0
mov dword [0x4ae3d8], eax
test eax, eax
je 0x41ab46
mov byte [eax], 5
mov dword [eax + 0xc], esi
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x49b8bd
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41abce
test esi, esi
je 0x41a90f
call fcn.00414d30
mov dword [0x4aa904], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 6
push str.IfWin
push ebp
call fcn.00487fcd
add esp, 0xc
test eax, eax
jne 0x41ae7b
push 3
lea eax, [ebp + 6]
push 0x49d008
push eax
call fcn.00487fcd
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 6
push 6
lea edi, [ecx + ebp]
push str.Active
push edi
call fcn.00487fcd
add esp, 0xc
test eax, eax
jne 0x41ac2f
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41ac52
push 5
push str.Exist
push edi
call fcn.00487fcd
add esp, 0xc
test eax, eax
jne 0x41ae6c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x41ac6d
mov dword [0x4ae3d8], edx
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov al, byte [0x4aa3b3]
xor esi, esi
mov cl, byte [edx]
test cl, cl
je 0x41ac9c
lea ebx, [ebx]
cmp cl, byte [0x4aa8e3]
je 0x41acb6
cmp cl, al
je 0x41acb6
cmp cl, byte [0x4aa8e2]
je 0x41acb6
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x41ac80
test esi, esi
je 0x41ad9a
lea edi, [esi + 1]
mov cl, byte [edi]
cmp cl, 0x20
je 0x41acb3
cmp cl, 9
jne 0x41acf3
inc edi
jmp 0x41aca7
mov cl, byte [edx]
test cl, cl
je 0x41ac9c
cmp cl, byte [0x4aa8e2]
je 0x41acda
cmp cl, al
jne 0x41acd1
test esi, esi
jne 0x41acda
mov esi, edx
inc edx
jmp 0x41ac74
inc edx
cmp byte [edx], 0
je 0x41ac9c
inc edx
jmp 0x41ac74
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov byte [esi], 0
mov eax, esi
mov esi, dword [esp + 0x2c]
sub eax, esi
mov dword [esp + 0x14], edi
call fcn.00414c20
mov bl, byte [0x4aa8e3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x41ada2
lea esp, [esp]
cmp al, bl
je 0x41ad2e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41ad20
jmp 0x41ada2
cmp byte [ecx], 0
je 0x41ada2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41ad49.99
movzx edx, byte [eax + 0x41b834]
jmp dword [edx*4 + 0x41b810]
mov byte [edi], 7
jmp case.0x41ad49.99
mov byte [edi], 8
jmp case.0x41ad49.99
mov byte [edi], 0xc
jmp case.0x41ad49.99
mov byte [edi], 0xa
jmp case.0x41ad49.99
mov byte [edi], 0xd
jmp case.0x41ad49.99
mov byte [edi], 9
jmp case.0x41ad49.99
mov byte [edi], 0xb
jmp case.0x41ad49.99
mov byte [edi], 0x20
mov eax, edi
lea ebp, [eax + 1]
jmp 0x41ad80
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ad80
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.004887f0
add esp, 0xc
jmp 0x41ad0d
mov dword [esp + 0x14], 0x49b8bd
mov bl, byte [0x4aa8e3]
mov ecx, dword [esp + 0x2c]
lea esp, [esp]
mov al, byte [ecx]
test al, al
je 0x41adc2
cmp al, bl
je 0x41adfd
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41adb6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push ecx
push edx
call fcn.0040a010
add esp, 8
test eax, eax
jne 0x41a90f
mov ecx, dword [esp + 0x28]
push 0x49b8bd
push str.Out_of_memory.
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x41adc2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41ae18.99
movzx eax, byte [eax + 0x41b870]
jmp dword [eax*4 + 0x41b84c]
mov byte [edi], 7
jmp case.0x41ae18.99
mov byte [edi], 8
jmp case.0x41ae18.99
mov byte [edi], 0xc
jmp case.0x41ae18.99
mov byte [edi], 0xa
jmp case.0x41ae18.99
mov byte [edi], 0xd
jmp case.0x41ae18.99
mov byte [edi], 9
jmp case.0x41ae18.99
mov byte [edi], 0xb
jmp case.0x41ae18.99
mov byte [edi], 0x20
mov eax, edi
lea ebp, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ae50
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.004887f0
add esp, 0xc
mov ecx, edi
jmp 0x41adb0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49e68c
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41aff6
test esi, esi
je 0x41a90f
push str.EndChars
mov eax, esi
call fcn.00474d70
add esp, 4
test eax, eax
je 0x41af79
mov edi, 0x49e698
call fcn.00409bf0
test eax, eax
je 0x41a90f
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.0048a8d0
mov bl, byte [0x4aa8e3]
mov byte [0x4aa974], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x41a90f
cmp al, bl
je 0x41af0e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41aef3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x41a90f
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41af2d.99
movzx eax, byte [eax + 0x41b8ac]
jmp dword [eax*4 + 0x41b888]
mov byte [esi], 7
jmp case.0x41af2d.99
mov byte [esi], 8
jmp case.0x41af2d.99
mov byte [esi], 0xc
jmp case.0x41af2d.99
mov byte [esi], 0xa
jmp case.0x41af2d.99
mov byte [esi], 0xd
jmp case.0x41af2d.99
mov byte [esi], 9
jmp case.0x41af2d.99
mov byte [esi], 0xb
mov eax, esi
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41af60
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.004887f0
mov ecx, esi
jmp 0x41aee6
push 7
push str.NoMouse
push esi
call fcn.00487fcd
add esp, 0xc
test eax, eax
jne 0x41afa1
mov byte [0x4aa90f], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4aea5a
push 0x4aea59
push 0x4aea58
push 0x4aa90e
push 0x4ae3d5
push 0x4ae3d7
push 0x4aa90d
push 0x4aa90c
push 0x4ae3d6
push 0x4aa908
push 0x4aea54
push 0x4aea50
mov eax, esi
call fcn.0040d700
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b02d
test esi, esi
je 0x41a90f
call fcn.0040ee40
mov dword [0x4aa8e4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b077
test esi, esi
je 0x41a90f
call fcn.0040ee40
mov dword [0x4aa900], eax
cmp eax, 0xa
jge 0x41a90f
mov dword [0x4aa900], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b0c1
test esi, esi
je 0x41a90f
call fcn.0040ee40
mov dword [0x4aa8fc], eax
cmp eax, 1
jge 0x41a90f
mov dword [0x4aa8fc], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b122
test esi, esi
je 0x41a90f
call fcn.0040ee40
cmp eax, 0xff
jle 0x41b104
mov eax, 0xff
mov byte [0x4aa3b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41b10e
mov eax, 1
mov byte [0x4aa3b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b16b
test esi, esi
je 0x41b155
push eax
call fcn.00409cd0
add esp, 4
mov byte [0x4ae3b7], 0
cmp eax, 2
je 0x41a90f
mov byte [0x4ae3b7], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b1cc
test esi, esi
je 0x41a90f
call fcn.0040ee40
cmp eax, 0xff
jle 0x41b1ae
mov eax, 0xff
mov dword [0x4aa8f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41b1b8
mov eax, 1
mov dword [0x4aa8f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b203
test esi, esi
je 0x41a90f
call fcn.0040ee40
mov dword [0x4aa8e8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b24c
test esi, esi
je 0x41b236
push eax
call fcn.00409cd0
add esp, 4
mov byte [0x4aea5b], 0
cmp eax, 2
je 0x41a90f
mov byte [0x4aea5b], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b278
mov byte [0x4ae390], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b2b5
mov edi, dword [esp + 0x28]
mov eax, esi
mov byte [edi + 0x61f], 1
call fcn.00416610
mov dword [edi + 0x620], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b33b
test esi, esi
je 0x41a90f
call fcn.00414d60
fld qword [0x4a3fb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41b2f4
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41b2f8
fstp st(1)
jmp 0x41b2fa
fstp st(0)
fld qword [0x4a3eb8]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x2c], eax
mov eax, 3
fmulp st(1)
fldcw word [esp + 0x2c]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [0x4aa8f4], ecx
fldcw word [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b3a4
test esi, esi
je 0x41a90f
call fcn.0040ee40
mov dword [0x4aa8f0], eax
test eax, eax
jns 0x41b380
mov dword [0x4aa8f0], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x41a90f
mov dword [0x4aa8f0], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b475
test esi, esi
je 0x41a90f
cmp byte [esi + 1], al
jne 0x41b439
mov al, byte [esi]
cmp al, 0x23
je 0x41b71e
cmp al, byte [0x4aa8e2]
je 0x41b71e
cmp al, byte [0x4aa8e3]
je 0x41b71e
cmp al, byte [0x4aa3b3]
je 0x41b71e
cmp al, 0x21
je 0x41b71e
cmp al, 0x5e
je 0x41b71e
cmp al, 0x2b
je 0x41b71e
cmp al, 0x24
je 0x41b71e
cmp al, 0x7e
je 0x41b71e
cmp al, 0x2a
je 0x41b71e
cmp al, 0x3c
je 0x41b71e
cmp al, 0x3e
je 0x41b71e
push 0xf
push esi
push 0x4aa3c0
call fcn.0048a8d0
mov eax, 0x4aa3c0
add esp, 0xc
mov byte [0x4aa3cf], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b458
sub eax, edx
mov dword [0x4aa3b4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b4e6
test esi, esi
je 0x41a90f
mov al, byte [esi]
cmp al, 0x23
je 0x41b71e
cmp al, byte [0x4aa8e2]
je 0x41b71e
cmp al, byte [0x4aa3b3]
je 0x41b71e
cmp al, 0x2e
je 0x41b71e
cmp dword [0x4aa3b4], 1
jne 0x41b4d2
cmp al, byte [0x4aa3c0]
je 0x41b71e
mov byte [0x4aa8e3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b54f
test esi, esi
je 0x41a90f
mov al, byte [esi]
cmp al, byte [0x4aa8e3]
je 0x41b71e
cmp al, byte [0x4aa3b3]
je 0x41b71e
cmp al, 0x2e
je 0x41b71e
cmp dword [0x4aa3b4], 1
jne 0x41b53b
cmp al, byte [0x4aa3c0]
je 0x41b71e
mov byte [0x4aa8e2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49e788
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b5c0
test esi, esi
je 0x41a90f
mov al, byte [esi]
cmp al, 0x23
je 0x41b71e
cmp al, byte [0x4aa8e3]
je 0x41b71e
cmp al, byte [0x4aa8e2]
je 0x41b71e
cmp al, 0x2e
je 0x41b71e
cmp dword [0x4aa3b4], 1
jne 0x41b5ac
cmp al, byte [0x4aa3c0]
je 0x41b71e
mov byte [0x4aa3b3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b633
test esi, esi
je 0x41b619
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4aa3b1
xor ecx, ecx
mov edi, 0x4aa8e0
mov edx, esi
call fcn.00413ed0
add esp, 4
test al, al
jne 0x41a90f
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b68d
test esi, esi
je 0x41b677
call fcn.0040ee40
test eax, eax
js 0x41b71e
cmp eax, 0x64
jg 0x41b71e
mov byte [0x4ae3d4], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4ae3d4], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.00474a80
add esp, 8
test eax, eax
jne 0x41b7e9
mov ebx, 0x49b8bd
test esi, esi
jne 0x41b6b6
mov dword [esp + 0x2c], ebx
mov esi, ebx
movsx eax, byte [0x4aa3b3]
push eax
push esi
call fcn.00488c01
add esp, 8
test eax, eax
je 0x41b6f3
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [edx]
cmp cl, 0x20
je 0x41b6dc
cmp cl, 9
jne 0x41b6df
inc edx
jmp 0x41b6d0
mov esi, dword [esp + 0x2c]
mov ebx, edx
dec eax
mov edx, esi
call fcn.00409c50
mov byte [eax + 1], 0
jmp 0x41b6f7
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
mov edi, 6
je 0x41b737
xor edi, edi
mov eax, dword [edi*4 + 0x49e7d0]
push eax
push esi
call fcn.00487c11
add esp, 8
test eax, eax
je 0x41b737
inc edi
cmp edi, 7
jne 0x41b703
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ebx], 0
mov esi, 2
je 0x41b777
xor esi, esi
mov eax, dword [esi*4 + 0x49e7ec]
push eax
push ebx
call fcn.00487c11
add esp, 8
test eax, eax
je 0x41b777
inc esi
cmp esi, 4
jne 0x41b743
mov ecx, dword [esp + 0x28]
push ebx
push str.Parameter_2_invalid.
call fcn.0042fe10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test edi, edi
je 0x41b780
cmp edi, 6
jne 0x41b786
mov dword [0x4ae394], esi
cmp edi, 1
je 0x41b790
cmp edi, 6
jne 0x41b796
mov dword [0x4ae398], esi
cmp edi, 3
je 0x41b7a0
cmp edi, 6
jne 0x41b7a6
mov dword [0x4ae39c], esi
cmp edi, 2
je 0x41b7b0
cmp edi, 6
jne 0x41b7b6
mov dword [0x4ae3a0], esi
cmp edi, 4
je 0x41b7c0
cmp edi, 6
jne 0x41b7c6
mov dword [0x4ae3a4], esi
cmp edi, 5
je 0x41b7d4
cmp edi, 6
jne 0x41a90f
mov dword [0x4ae3a8], esi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Requires
mov ecx, ebp
call fcn.00474a80
add esp, 8
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add eax, 3
pop ebx
add esp, 0x14
ret 8