Function at 0x41a440
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
mov bl, byte [0x4a93b3]
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 0x41a48a
mov dl, byte [ebp]
test dl, dl
je 0x41a48a
mov edi, edi
lea ecx, [esp + 0x2c]
mov al, 0x20
cmp dl, al
je 0x41a4a4
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a476
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x41a470
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a490
sub eax, edx
xor esi, esi
lea edi, [eax + ebp]
mov dword [esp + 0x2c], esi
jmp 0x41a4f1
mov edi, esi
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x41a4b4
cmp cl, 9
jne 0x41a4b7
inc eax
jmp 0x41a4a8
mov cl, byte [eax]
test cl, cl
jne 0x41a4c5
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x41a4f1
cmp cl, bl
je 0x41a4cf
mov dword [esp + 0x2c], eax
jmp 0x41a4ed
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x41a4cf
cmp cl, 9
je 0x41a4cf
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x41a4ed
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.00474690
add esp, 8
test eax, eax
je 0x41a53f
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474690
add esp, 8
test eax, eax
je 0x41a53f
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474690
add esp, 8
test eax, eax
jne 0x41a54e
mov dword [0x4ad458], 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.00474690
add esp, 8
test eax, eax
jne 0x41a57a
mov byte [0x4ad42b], 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.00474690
add esp, 8
test eax, eax
jne 0x41a5a6
mov byte [0x4ad42a], 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.00474690
add esp, 8
test eax, eax
jne 0x41a657
mov dword [0x4ad444], 1
test esi, esi
je 0x41a53f
push str.Force
push esi
call fcn.00487781
add esp, 8
test eax, eax
jne 0x41a5fd
mov dword [0x4ad444], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.00487781
add esp, 8
test eax, eax
jne 0x41a628
mov dword [0x4ad444], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x49cf2c
push esi
call fcn.00487781
add esp, 8
test eax, eax
jne 0x41a53f
mov dword [0x4ad444], 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.00474690
add esp, 8
test eax, eax
jne 0x41a683
or byte [0x4adb35], 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.00474690
add esp, 8
test eax, eax
jne 0x41a6af
or byte [0x4adb35], 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.00474690
add esp, 8
test eax, eax
jne 0x41a6f8
test esi, esi
je 0x41a6e2
push eax
call fcn.004097d0
add esp, 4
mov byte [0x4adb01], 0
cmp eax, 2
je 0x41a53f
mov byte [0x4adb01], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49c000
mov ecx, ebp
call fcn.00474690
add esp, 8
test eax, eax
jne 0x41a7c7
xor ebx, ebx
cmp esi, ebx
jne 0x41a72b
mov dword [0x4ad470], ebx
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov edi, esi
call fcn.00409d70
mov dword [0x4ad470], eax
cmp eax, ebx
jne 0x41a53f
mov eax, dword [0x4a9978]
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.0041bb40
test eax, eax
jne 0x41a782
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4a9978]
mov byte [ebx + 0x49], 0
mov dword [eax + 0x94], edi
mov esi, dword [ebx + 4]
call fcn.00409cf0
mov dword [0x4ad470], eax
test eax, eax
je 0x41a776
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.00474690
add esp, 8
test eax, eax
jne 0x41a7fe
test esi, esi
je 0x41a53f
call fcn.00414780
mov dword [0x4a9904], 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.00487b3d
add esp, 0xc
test eax, eax
jne 0x41aaab
push 3
lea eax, [ebp + 6]
push 0x49d000
push eax
call fcn.00487b3d
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.00487b3d
add esp, 0xc
test eax, eax
jne 0x41a85f
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41a882
push 5
push str.Exist
push edi
call fcn.00487b3d
add esp, 0xc
test eax, eax
jne 0x41aa9c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x41a89d
mov dword [0x4ad470], edx
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov al, byte [0x4a93b3]
xor esi, esi
mov cl, byte [edx]
test cl, cl
je 0x41a8cc
lea ebx, [ebx]
cmp cl, byte [0x4a98e3]
je 0x41a8e6
cmp cl, al
je 0x41a8e6
cmp cl, byte [0x4a98e2]
je 0x41a8e6
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x41a8b0
test esi, esi
je 0x41a9ca
lea edi, [esi + 1]
mov cl, byte [edi]
cmp cl, 0x20
je 0x41a8e3
cmp cl, 9
jne 0x41a923
inc edi
jmp 0x41a8d7
mov cl, byte [edx]
test cl, cl
je 0x41a8cc
cmp cl, byte [0x4a98e2]
je 0x41a90a
cmp cl, al
jne 0x41a901
test esi, esi
jne 0x41a90a
mov esi, edx
inc edx
jmp 0x41a8a4
inc edx
cmp byte [edx], 0
je 0x41a8cc
inc edx
jmp 0x41a8a4
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042fa70
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.00414670
mov bl, byte [0x4a98e3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x41a9d2
lea esp, [esp]
cmp al, bl
je 0x41a95e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a950
jmp 0x41a9d2
cmp byte [ecx], 0
je 0x41a9d2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41a979.99
movzx edx, byte [eax + 0x41b464]
jmp dword [edx*4 + 0x41b440]
mov byte [edi], 7
jmp case.0x41a979.99
mov byte [edi], 8
jmp case.0x41a979.99
mov byte [edi], 0xc
jmp case.0x41a979.99
mov byte [edi], 0xa
jmp case.0x41a979.99
mov byte [edi], 0xd
jmp case.0x41a979.99
mov byte [edi], 9
jmp case.0x41a979.99
mov byte [edi], 0xb
jmp case.0x41a979.99
mov byte [edi], 0x20
mov eax, edi
lea ebp, [eax + 1]
jmp 0x41a9b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a9b0
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00488360
add esp, 0xc
jmp 0x41a93d
mov dword [esp + 0x14], 0x49b8bd
mov bl, byte [0x4a98e3]
mov ecx, dword [esp + 0x2c]
lea esp, [esp]
mov al, byte [ecx]
test al, al
je 0x41a9f2
cmp al, bl
je 0x41aa2d
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a9e6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00409b10
add esp, 8
test eax, eax
jne 0x41a53f
mov ecx, dword [esp + 0x28]
push 0x49b8bd
push str.Out_of_memory.
call fcn.0042fa70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x41a9f2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41aa48.99
movzx eax, byte [eax + 0x41b4a0]
jmp dword [eax*4 + 0x41b47c]
mov byte [edi], 7
jmp case.0x41aa48.99
mov byte [edi], 8
jmp case.0x41aa48.99
mov byte [edi], 0xc
jmp case.0x41aa48.99
mov byte [edi], 0xa
jmp case.0x41aa48.99
mov byte [edi], 0xd
jmp case.0x41aa48.99
mov byte [edi], 9
jmp case.0x41aa48.99
mov byte [edi], 0xb
jmp case.0x41aa48.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 0x41aa80
sub eax, ebp
inc eax
push eax
push edi
push ecx
call fcn.00488360
add esp, 0xc
mov ecx, edi
jmp 0x41a9e0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49e69c
mov ecx, ebp
call fcn.00474690
add esp, 8
test eax, eax
jne 0x41ac26
test esi, esi
je 0x41a53f
push str.EndChars
mov eax, esi
call fcn.00474980
add esp, 4
test eax, eax
je 0x41aba9
mov edi, 0x49e6a8
call fcn.004096f0
test eax, eax
je 0x41a53f
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.0048a440
mov bl, byte [0x4a98e3]
mov byte [0x4a9974], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x41a53f
cmp al, bl
je 0x41ab3e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41ab23
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ecx], 0
je 0x41a53f
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41ab5d.99
movzx eax, byte [eax + 0x41b4dc]
jmp dword [eax*4 + 0x41b4b8]
mov byte [esi], 7
jmp case.0x41ab5d.99
mov byte [esi], 8
jmp case.0x41ab5d.99
mov byte [esi], 0xc
jmp case.0x41ab5d.99
mov byte [esi], 0xa
jmp case.0x41ab5d.99
mov byte [esi], 0xd
jmp case.0x41ab5d.99
mov byte [esi], 9
jmp case.0x41ab5d.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 0x41ab90
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.00488360
mov ecx, esi
jmp 0x41ab16
push 7
push str.NoMouse
push esi
call fcn.00487b3d
add esp, 0xc
test eax, eax
jne 0x41abd1
mov byte [0x4a990f], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4adaf3
push 0x4adaf2
push 0x4adaf1
push 0x4a990e
push 0x4ad46e
push 0x4adaf0
push 0x4a990d
push 0x4a990c
push 0x4ad46f
push 0x4a9908
push 0x4adaec
push 0x4adae8
mov eax, esi
call fcn.0040d150
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.00474690
add esp, 8
test eax, eax
jne 0x41ac5d
test esi, esi
je 0x41a53f
call fcn.0040e890
mov dword [0x4a98e4], 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.00474690
add esp, 8
test eax, eax
jne 0x41aca7
test esi, esi
je 0x41a53f
call fcn.0040e890
mov dword [0x4a9900], eax
cmp eax, 0xa
jge 0x41a53f
mov dword [0x4a9900], 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.00474690
add esp, 8
test eax, eax
jne 0x41acf1
test esi, esi
je 0x41a53f
call fcn.0040e890
mov dword [0x4a98fc], eax
cmp eax, 1
jge 0x41a53f
mov dword [0x4a98fc], 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.00474690
add esp, 8
test eax, eax
jne 0x41ad52
test esi, esi
je 0x41a53f
call fcn.0040e890
cmp eax, 0xff
jle 0x41ad34
mov eax, 0xff
mov byte [0x4a93b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41ad3e
mov eax, 1
mov byte [0x4a93b2], 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.00474690
add esp, 8
test eax, eax
jne 0x41ad9b
test esi, esi
je 0x41ad85
push eax
call fcn.004097d0
add esp, 4
mov byte [0x4ad46c], 0
cmp eax, 2
je 0x41a53f
mov byte [0x4ad46c], 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.00474690
add esp, 8
test eax, eax
jne 0x41adfc
test esi, esi
je 0x41a53f
call fcn.0040e890
cmp eax, 0xff
jle 0x41adde
mov eax, 0xff
mov dword [0x4a98f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x41ade8
mov eax, 1
mov dword [0x4a98f8], 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.00474690
add esp, 8
test eax, eax
jne 0x41ae33
test esi, esi
je 0x41a53f
call fcn.0040e890
mov dword [0x4a98e8], 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.00474690
add esp, 8
test eax, eax
jne 0x41ae7c
test esi, esi
je 0x41ae66
push eax
call fcn.004097d0
add esp, 4
mov byte [0x4adb00], 0
cmp eax, 2
je 0x41a53f
mov byte [0x4adb00], 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.00474690
add esp, 8
test eax, eax
jne 0x41aea8
mov byte [0x4ad428], 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.00474690
add esp, 8
test eax, eax
jne 0x41aee5
mov edi, dword [esp + 0x28]
mov eax, esi
mov byte [edi + 0x61b], 1
call fcn.00416060
mov dword [edi + 0x61c], 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.00474690
add esp, 8
test eax, eax
jne 0x41af6b
test esi, esi
je 0x41a53f
call fcn.004147b0
fld qword [0x4a3f50]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41af24
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41af28
fstp st(1)
jmp 0x41af2a
fstp st(0)
fld qword [0x4a3e58]
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 [0x4a98f4], 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.00474690
add esp, 8
test eax, eax
jne 0x41afd4
test esi, esi
je 0x41a53f
call fcn.0040e890
mov dword [0x4a98f0], eax
test eax, eax
jns 0x41afb0
mov dword [0x4a98f0], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x41a53f
mov dword [0x4a98f0], 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.00474690
add esp, 8
test eax, eax
jne 0x41b0a5
test esi, esi
je 0x41a53f
cmp byte [esi + 1], al
jne 0x41b069
mov al, byte [esi]
cmp al, 0x23
je 0x41b34e
cmp al, byte [0x4a98e2]
je 0x41b34e
cmp al, byte [0x4a98e3]
je 0x41b34e
cmp al, byte [0x4a93b3]
je 0x41b34e
cmp al, 0x21
je 0x41b34e
cmp al, 0x5e
je 0x41b34e
cmp al, 0x2b
je 0x41b34e
cmp al, 0x24
je 0x41b34e
cmp al, 0x7e
je 0x41b34e
cmp al, 0x2a
je 0x41b34e
cmp al, 0x3c
je 0x41b34e
cmp al, 0x3e
je 0x41b34e
push 0xf
push esi
push 0x4a93c0
call fcn.0048a440
mov eax, 0x4a93c0
add esp, 0xc
mov byte [0x4a93cf], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b088
sub eax, edx
mov dword [0x4a93b4], 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.00474690
add esp, 8
test eax, eax
jne 0x41b116
test esi, esi
je 0x41a53f
mov al, byte [esi]
cmp al, 0x23
je 0x41b34e
cmp al, byte [0x4a98e2]
je 0x41b34e
cmp al, byte [0x4a93b3]
je 0x41b34e
cmp al, 0x2e
je 0x41b34e
cmp dword [0x4a93b4], 1
jne 0x41b102
cmp al, byte [0x4a93c0]
je 0x41b34e
mov byte [0x4a98e3], 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.00474690
add esp, 8
test eax, eax
jne 0x41b17f
test esi, esi
je 0x41a53f
mov al, byte [esi]
cmp al, byte [0x4a98e3]
je 0x41b34e
cmp al, byte [0x4a93b3]
je 0x41b34e
cmp al, 0x2e
je 0x41b34e
cmp dword [0x4a93b4], 1
jne 0x41b16b
cmp al, byte [0x4a93c0]
je 0x41b34e
mov byte [0x4a98e2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49e798
mov ecx, ebp
call fcn.00474690
add esp, 8
test eax, eax
jne 0x41b1f0
test esi, esi
je 0x41a53f
mov al, byte [esi]
cmp al, 0x23
je 0x41b34e
cmp al, byte [0x4a98e3]
je 0x41b34e
cmp al, byte [0x4a98e2]
je 0x41b34e
cmp al, 0x2e
je 0x41b34e
cmp dword [0x4a93b4], 1
jne 0x41b1dc
cmp al, byte [0x4a93c0]
je 0x41b34e
mov byte [0x4a93b3], 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.00474690
add esp, 8
test eax, eax
jne 0x41b263
test esi, esi
je 0x41b249
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4a93b1
xor ecx, ecx
mov edi, 0x4a98e0
mov edx, esi
call fcn.00413920
add esp, 4
test al, al
jne 0x41a53f
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042fa70
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.0042fa70
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.00474690
add esp, 8
test eax, eax
jne 0x41b2bd
test esi, esi
je 0x41b2a7
call fcn.0040e890
test eax, eax
js 0x41b34e
cmp eax, 0x64
jg 0x41b34e
mov byte [0x4ad46d], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
xor eax, eax
mov byte [0x4ad46d], 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.00474690
add esp, 8
test eax, eax
jne 0x41b419
mov ebx, 0x49b8bd
test esi, esi
jne 0x41b2e6
mov dword [esp + 0x2c], ebx
mov esi, ebx
movsx eax, byte [0x4a93b3]
push eax
push esi
call fcn.00488771
add esp, 8
test eax, eax
je 0x41b323
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [edx]
cmp cl, 0x20
je 0x41b30c
cmp cl, 9
jne 0x41b30f
inc edx
jmp 0x41b300
mov esi, dword [esp + 0x2c]
mov ebx, edx
dec eax
mov edx, esi
call fcn.00409750
mov byte [eax + 1], 0
jmp 0x41b327
mov esi, dword [esp + 0x2c]
cmp byte [esi], 0
mov edi, 6
je 0x41b367
xor edi, edi
mov eax, dword [edi*4 + 0x4aae6c]
push eax
push esi
call fcn.00487781
add esp, 8
test eax, eax
je 0x41b367
inc edi
cmp edi, 7
jne 0x41b333
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid.
call fcn.0042fa70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp byte [ebx], 0
mov esi, 2
je 0x41b3a7
xor esi, esi
mov eax, dword [esi*4 + 0x4aae88]
push eax
push ebx
call fcn.00487781
add esp, 8
test eax, eax
je 0x41b3a7
inc esi
cmp esi, 4
jne 0x41b373
mov ecx, dword [esp + 0x28]
push ebx
push str.Parameter_2_invalid.
call fcn.0042fa70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
test edi, edi
je 0x41b3b0
cmp edi, 6
jne 0x41b3b6
mov dword [0x4ad42c], esi
cmp edi, 1
je 0x41b3c0
cmp edi, 6
jne 0x41b3c6
mov dword [0x4ad430], esi
cmp edi, 3
je 0x41b3d0
cmp edi, 6
jne 0x41b3d6
mov dword [0x4ad434], esi
cmp edi, 2
je 0x41b3e0
cmp edi, 6
jne 0x41b3e6
mov dword [0x4ad438], esi
cmp edi, 4
je 0x41b3f0
cmp edi, 6
jne 0x41b3f6
mov dword [0x4ad43c], esi
cmp edi, 5
je 0x41b404
cmp edi, 6
jne 0x41a53f
mov dword [0x4ad440], 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.00474690
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