Function at 0x41a800
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x10
push ebx
mov bl, byte [0x4aa3b3]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov word [esp + 0x24], 0x920
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0
mov esi, ebp
test ebp, ebp
je 0x41a84a
mov dl, byte [ebp]
test dl, dl
je 0x41a84a
mov edi, edi
lea ecx, [esp + 0x24]
mov al, 0x20
cmp dl, al
je 0x41a85e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a836
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x41a830
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a850
sub eax, edx
lea esi, [eax + ebp]
jmp 0x41a895
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x41a86c
cmp cl, 9
jne 0x41a86f
inc eax
jmp 0x41a860
mov cl, byte [eax]
test cl, cl
je 0x41a895
cmp cl, bl
je 0x41a87d
mov ebx, eax
jmp 0x41a897
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x41a87d
cmp cl, 9
je 0x41a87d
mov ebx, eax
mov dword [esp + 0x24], ebx
test cl, cl
jne 0x41a89b
xor ebx, ebx
mov dword [esp + 0x24], ebx
sub esi, ebp
mov edi, esi
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
je 0x41a8eb
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
je 0x41a8eb
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41a8fa
mov dword [0x4ae444], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41a926
mov byte [0x4ae417], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41a952
mov byte [0x4ae416], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41aa03
mov dword [0x4ae430], 1
test ebx, ebx
je 0x41a8eb
push str.Force
push ebx
call fcn.004883a1
add esp, 8
test eax, eax
jne 0x41a9a9
mov dword [0x4ae430], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push str.Ignore
push ebx
call fcn.004883a1
add esp, 8
test eax, eax
jne 0x41a9d4
mov dword [0x4ae430], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x49cf34
push ebx
call fcn.004883a1
add esp, 8
test eax, eax
jne 0x41a8eb
mov dword [0x4ae430], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41aa2f
or byte [0x4aeb21], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41aa5b
or byte [0x4aeb21], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41aaa6
test ebx, ebx
je 0x41aa90
push eax
mov esi, ebx
call fcn.00409d00
add esp, 4
mov byte [0x4aeaed], 0
cmp eax, 2
je 0x41a8eb
mov byte [0x4aeaed], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, 0x49c008
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41ab79
xor ebp, ebp
cmp ebx, ebp
jne 0x41aad9
mov dword [0x4ae45c], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edi, ebx
call fcn.0040a2a0
mov dword [0x4ae45c], eax
cmp eax, ebp
jne 0x41a8eb
mov eax, dword [0x4aa988]
mov esi, dword [eax + 0x94]
push ebp
push ebp
push ebp
push 0x49b8cd
push ebp
push 0xe3
mov dword [eax + 0x94], ebp
push ebx
mov ecx, 0x4af278
mov byte [0x4af2c1], 1
call fcn.0041bf10
test eax, eax
jne 0x41ab2e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [0x4aa988]
mov byte [0x4af2c1], 0
mov dword [eax + 0x94], esi
mov esi, dword [0x4af27c]
call fcn.0040a220
mov dword [0x4ae45c], eax
cmp eax, ebp
je 0x41ab22
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], 0x49b8cd
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41abb2
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.00414d70
mov dword [0x4aa914], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 6
push str.IfWin
push ebp
call fcn.0048875d
add esp, 0xc
test eax, eax
jne 0x41ae5b
push 3
lea eax, [ebp + 6]
push 0x49d008
push eax
call fcn.0048875d
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 0x49d00c
push edi
call fcn.0048875d
add esp, 0xc
test eax, eax
jne 0x41ac13
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x41ac36
push 5
push str.Exist
push edi
call fcn.0048875d
add esp, 0xc
test eax, eax
jne 0x41ae4c
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x41ac51
mov dword [0x4ae45c], edx
lea eax, [edx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov al, byte [0x4aa3b3]
xor esi, esi
mov cl, byte [edx]
test cl, cl
je 0x41ac7c
mov edi, edi
cmp cl, byte [0x4aa8f3]
je 0x41ac96
cmp cl, al
je 0x41ac96
cmp cl, byte [0x4aa8f2]
je 0x41ac96
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x41ac60
test esi, esi
je 0x41ad7a
lea edi, [esi + 1]
mov cl, byte [edi]
cmp cl, 0x20
je 0x41ac93
cmp cl, 9
jne 0x41acd4
inc edi
jmp 0x41ac87
mov cl, byte [edx]
test cl, cl
je 0x41ac7c
cmp cl, byte [0x4aa8f2]
je 0x41acba
cmp cl, al
jne 0x41acb1
test esi, esi
jne 0x41acba
mov esi, edx
inc edx
jmp 0x41ac58
inc edx
cmp byte [edx], 0
je 0x41ac7c
inc edx
jmp 0x41ac58
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebp, dword [esp + 0x24]
mov eax, esi
mov byte [esi], 0
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x14], edi
call fcn.00414c60
mov bl, byte [0x4aa8f3]
mov ecx, edi
mov al, byte [ecx]
test al, al
je 0x41ad86
lea esp, [esp]
cmp al, bl
je 0x41ad0e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41ad00
jmp 0x41ad86
cmp byte [ecx], 0
je 0x41ad86
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41ad29.99
movzx edx, byte [eax + 0x41b824]
jmp dword [edx*4 + 0x41b800]
mov byte [edi], 7
jmp case.0x41ad29.99
mov byte [edi], 8
jmp case.0x41ad29.99
mov byte [edi], 0xc
jmp case.0x41ad29.99
mov byte [edi], 0xa
jmp case.0x41ad29.99
mov byte [edi], 0xd
jmp case.0x41ad29.99
mov byte [edi], 9
jmp case.0x41ad29.99
mov byte [edi], 0xb
jmp case.0x41ad29.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
jmp 0x41ad60
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ad60
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.00488cd0
add esp, 0xc
jmp 0x41acf0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], 0x49b8cd
mov bl, byte [0x4aa8f3]
mov ecx, ebp
mov edi, edi
mov al, byte [ecx]
test al, al
je 0x41ada2
cmp al, bl
je 0x41addc
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41ad96
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ebx, ebp
call fcn.0040a040
add esp, 8
test eax, eax
jne 0x41a8eb
push 0x49b8cd
push str.Out_of_memory.
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp byte [ecx], 0
je 0x41ada2
movsx eax, byte [ecx + 1]
lea edi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41adf7.99
movzx eax, byte [eax + 0x41b860]
jmp dword [eax*4 + 0x41b83c]
mov byte [edi], 7
jmp case.0x41adf7.99
mov byte [edi], 8
jmp case.0x41adf7.99
mov byte [edi], 0xc
jmp case.0x41adf7.99
mov byte [edi], 0xa
jmp case.0x41adf7.99
mov byte [edi], 0xd
jmp case.0x41adf7.99
mov byte [edi], 9
jmp case.0x41adf7.99
mov byte [edi], 0xb
jmp case.0x41adf7.99
mov byte [edi], 0x20
mov eax, edi
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ae30
sub eax, esi
inc eax
push eax
push edi
push ecx
call fcn.00488cd0
add esp, 0xc
mov ecx, edi
jmp 0x41ad90
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, 0x49e6ac
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41afd6
test ebx, ebx
je 0x41a8eb
push str.EndChars
mov eax, ebx
call fcn.004752c0
add esp, 4
test eax, eax
je 0x41af59
mov edi, 0x49e6b8
call fcn.00409c20
test eax, eax
je 0x41a8eb
push 0x64
inc eax
push eax
push str._____:____.___n__t
call fcn.0048adb0
mov bl, byte [0x4aa8f3]
mov byte [0x4aa984], 0
mov ecx, str._____:____.___n__t
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x41a8eb
cmp al, bl
je 0x41aeee
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41aed3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp byte [ecx], 0
je 0x41a8eb
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41af0d.99
movzx eax, byte [eax + 0x41b89c]
jmp dword [eax*4 + 0x41b878]
mov byte [esi], 7
jmp case.0x41af0d.99
mov byte [esi], 8
jmp case.0x41af0d.99
mov byte [esi], 0xc
jmp case.0x41af0d.99
mov byte [esi], 0xa
jmp case.0x41af0d.99
mov byte [esi], 0xd
jmp case.0x41af0d.99
mov byte [esi], 9
jmp case.0x41af0d.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 0x41af40
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.00488cd0
mov ecx, esi
jmp 0x41aec6
push 7
push str.NoMouse
push ebx
call fcn.0048875d
add esp, 0xc
test eax, eax
jne 0x41af81
mov byte [0x4aa91f], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x4aeadf
push 0x4aeade
push 0x4aeadd
push 0x4aa91e
push 0x4ae45a
push 0x4aeadc
push 0x4aa91d
push 0x4aa91c
push 0x4ae45b
push 0x4aa918
push 0x4aead8
push 0x4aea84
mov eax, ebx
call fcn.0040d640
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b00f
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
mov dword [0x4aa8f4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b05b
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
mov dword [0x4aa910], eax
cmp eax, 0xa
jge 0x41a8eb
mov dword [0x4aa910], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b0a7
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
mov dword [0x4aa90c], eax
cmp eax, 1
jge 0x41a8eb
mov dword [0x4aa90c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b10a
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
cmp eax, 0xff
jle 0x41b0ec
mov eax, 0xff
mov byte [0x4aa3b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp eax, 1
jge 0x41b0f6
mov eax, 1
mov byte [0x4aa3b2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b155
test ebx, ebx
je 0x41b13f
push eax
mov esi, ebx
call fcn.00409d00
add esp, 4
mov byte [0x4ae458], 0
cmp eax, 2
je 0x41a8eb
mov byte [0x4ae458], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b1b8
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
cmp eax, 0xff
jle 0x41b19a
mov eax, 0xff
mov dword [0x4aa908], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp eax, 1
jge 0x41b1a4
mov eax, 1
mov dword [0x4aa908], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b1f1
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
mov dword [0x4aa8f8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b23c
test ebx, ebx
je 0x41b226
push eax
mov esi, ebx
call fcn.00409d00
add esp, 4
mov byte [0x4aeaec], 0
cmp eax, 2
je 0x41a8eb
mov byte [0x4aeaec], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b268
mov byte [0x4ae415], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b2a0
mov eax, ebx
mov byte [0x4af897], 1
call fcn.00416680
mov dword [0x4af898], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b328
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.00414da0
fld qword [0x4a4008]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41b2e1
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41b2e5
fstp st(1)
jmp 0x41b2e7
fstp st(0)
fld qword [0x4a3f18]
fnstcw word [esp + 0x24]
movzx eax, word [esp + 0x24]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x18], eax
mov eax, 3
fmulp st(1)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [0x4aa904], ecx
fldcw word [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b393
test ebx, ebx
je 0x41a8eb
mov esi, ebx
call fcn.0040ed80
mov dword [0x4aa900], eax
test eax, eax
jns 0x41b36f
mov dword [0x4aa900], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp eax, 0x1f4
jle 0x41a8eb
mov dword [0x4aa900], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b464
test ebx, ebx
je 0x41a8eb
cmp byte [ebx + 1], al
jne 0x41b428
mov al, byte [ebx]
cmp al, 0x23
je 0x41b70b
cmp al, byte [0x4aa8f2]
je 0x41b70b
cmp al, byte [0x4aa8f3]
je 0x41b70b
cmp al, byte [0x4aa3b3]
je 0x41b70b
cmp al, 0x21
je 0x41b70b
cmp al, 0x5e
je 0x41b70b
cmp al, 0x2b
je 0x41b70b
cmp al, 0x24
je 0x41b70b
cmp al, 0x7e
je 0x41b70b
cmp al, 0x2a
je 0x41b70b
cmp al, 0x3c
je 0x41b70b
cmp al, 0x3e
je 0x41b70b
push 0xf
push ebx
push 0x4aa3c0
call fcn.0048adb0
mov eax, 0x4aa3c0
add esp, 0xc
mov byte [0x4aa3cf], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b447
sub eax, edx
mov dword [0x4aa3b4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b4d5
test ebx, ebx
je 0x41a8eb
mov al, byte [ebx]
cmp al, 0x23
je 0x41b70b
cmp al, byte [0x4aa8f2]
je 0x41b70b
cmp al, byte [0x4aa3b3]
je 0x41b70b
cmp al, 0x2e
je 0x41b70b
cmp dword [0x4aa3b4], 1
jne 0x41b4c1
cmp al, byte [0x4aa3c0]
je 0x41b70b
mov byte [0x4aa8f3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b53e
test ebx, ebx
je 0x41a8eb
mov al, byte [ebx]
cmp al, byte [0x4aa8f3]
je 0x41b70b
cmp al, byte [0x4aa3b3]
je 0x41b70b
cmp al, 0x2e
je 0x41b70b
cmp dword [0x4aa3b4], 1
jne 0x41b52a
cmp al, byte [0x4aa3c0]
je 0x41b70b
mov byte [0x4aa8f2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, 0x49e7a8
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b5af
test ebx, ebx
je 0x41a8eb
mov al, byte [ebx]
cmp al, 0x23
je 0x41b70b
cmp al, byte [0x4aa8f3]
je 0x41b70b
cmp al, byte [0x4aa8f2]
je 0x41b70b
cmp al, 0x2e
je 0x41b70b
cmp dword [0x4aa3b4], 1
jne 0x41b59b
cmp al, byte [0x4aa3c0]
je 0x41b70b
mov byte [0x4aa3b3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b624
test ebx, ebx
je 0x41b609
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4aa3b1
xor ecx, ecx
mov edi, 0x4aa8f0
mov edx, ebx
call fcn.00413f10
add esp, 4
test al, al
jne 0x41a8eb
mov eax, str.Parameter_1_invalid.
push ebp
push eax
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, str.Parameter_1_required
push ebp
push eax
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b680
test ebx, ebx
je 0x41b66a
mov esi, ebx
call fcn.0040ed80
test eax, eax
js 0x41b70b
cmp eax, 0x64
jg 0x41b70b
mov byte [0x4ae459], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
xor eax, eax
mov byte [0x4ae459], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.00474fd0
add esp, 8
test eax, eax
jne 0x41b7d8
test ebx, ebx
jne 0x41b6a6
mov dword [esp + 0x24], 0x49b8cd
movsx eax, byte [0x4aa3b3]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.004890e1
add esp, 8
mov ebx, 0x49b8cd
test eax, eax
je 0x41b6e4
lea edx, [eax + 1]
mov cl, byte [edx]
cmp cl, 0x20
je 0x41b6d3
cmp cl, 9
jne 0x41b6d6
inc edx
jmp 0x41b6c7
mov ebx, edx
dec eax
mov edx, esi
call fcn.00409c80
mov byte [eax + 1], 0
cmp byte [esi], 0
mov edi, 6
je 0x41b725
xor edi, edi
mov eax, dword [edi*4 + 0x49e7f0]
push eax
push esi
call fcn.004883a1
add esp, 8
test eax, eax
je 0x41b725
inc edi
cmp edi, 7
jne 0x41b6f0
push ebp
push str.Parameter_1_invalid.
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp byte [ebx], 0
mov esi, 2
je 0x41b766
xor esi, esi
mov eax, dword [esi*4 + 0x49e80c]
push eax
push ebx
call fcn.004883a1
add esp, 8
test eax, eax
je 0x41b766
inc esi
cmp esi, 4
jne 0x41b731
push ebx
push str.Parameter_2_invalid.
mov ecx, 0x4af278
call fcn.0042fd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
test edi, edi
je 0x41b76f
cmp edi, 6
jne 0x41b775
mov dword [0x4ae418], esi
cmp edi, 1
je 0x41b77f
cmp edi, 6
jne 0x41b785
mov dword [0x4ae41c], esi
cmp edi, 3
je 0x41b78f
cmp edi, 6
jne 0x41b795
mov dword [0x4ae420], esi
cmp edi, 2
je 0x41b79f
cmp edi, 6
jne 0x41b7a5
mov dword [0x4ae424], esi
cmp edi, 4
je 0x41b7af
cmp edi, 6
jne 0x41b7b5
mov dword [0x4ae428], esi
cmp edi, 5
je 0x41b7c3
cmp edi, 6
jne 0x41a8eb
mov dword [0x4ae42c], esi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov eax, str.Requires
mov ecx, ebp
call fcn.00474fd0
add esp, 8
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add eax, 3
pop ebx
add esp, 0x10
ret 4