Function at 0x417e90
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov si, word [0x4bd40c]
xor edx, edx
push edi
lea ebx, [esp + 0x18]
mov eax, ebp
mov dword [esp + 0x18], 0x90020
mov word [esp + 0x1c], si
mov word [esp + 0x1e], dx
call fcn.00409070
xor edi, edi
cmp eax, edi
jne 0x417ee5
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417ed0
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x417f2b
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x417ef4
cmp ecx, 9
jne 0x417ef9
add edx, 2
jmp 0x417ee7
movzx ecx, word [edx]
cmp cx, di
je 0x417f2b
cmp cx, si
je 0x417f0c
mov dword [esp + 0x2c], edx
jmp 0x417f2f
lea ecx, [edx + 2]
nop
movzx edx, word [ecx]
cmp edx, 0x20
je 0x417f1d
cmp edx, 9
jne 0x417f22
add ecx, 2
jmp 0x417f10
mov dword [esp + 0x2c], ecx
cmp word [ecx], di
jne 0x417f2f
mov dword [esp + 0x2c], edi
sub eax, ebp
sar eax, 1
mov edi, eax
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
je 0x417f7b
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
je 0x417f7b
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x417f8a
mov dword [0x4c0fd8], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x417fb4
mov byte [0x4c0fc4], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x417fde
mov byte [0x4c0e97], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418091
mov esi, dword [esp + 0x2c]
mov dword [0x4c0fc0], 1
test esi, esi
je 0x417f7b
push str.Force
push esi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x418037
mov dword [0x4c0fc0], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push str.Ignore
push esi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x418062
mov dword [0x4c0fc0], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x49e15c
push esi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x417f7b
mov dword [0x4c0fc0], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x4180bb
or byte [0x4c1a31], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x4180e5
or byte [0x4c1a31], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418130
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x41811a
push eax
call fcn.00413a00
add esp, 4
mov byte [0x4c1a01], 0
cmp eax, 2
je 0x417f7b
mov byte [0x4c1a01], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, 0x49fc10
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x41832b
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
cmp ecx, ebp
jne 0x41817f
mov eax, 0x4a596c
mov dword [0x4bd3fc], eax
mov dword [0x4bd400], eax
mov byte [0x4c0fce], 0
mov dword [0x4bd404], 0xffffffff
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [0x4bd41c]
mov edx, dword [eax + 0xb4]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x18], edx
movzx edx, word [0x4bd414]
mov dword [eax + 0xb4], ebp
mov dword [ebx + 0x48], ebp
mov dword [esp + 0x10], edx
lea ecx, [ecx]
movzx eax, word [ecx]
cmp ax, bp
je 0x4181c9
cmp ax, dx
je 0x4181ee
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, bp
jne 0x4181b8
push ebp
push 0x100
lea ecx, [esp + 0x34]
push ecx
push 3
push ebx
call fcn.0041b960
test eax, eax
jne 0x418279
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], bp
je 0x4181c9
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418209.99
movzx eax, byte [eax + 0x4190ac]
jmp dword [eax*4 + 0x419088]
mov edx, 7
jmp 0x418248
mov eax, 8
mov word [esi], ax
jmp case.0x418209.99
mov edx, 0xc
jmp 0x418248
mov eax, 0xa
mov word [esi], ax
jmp case.0x418209.99
mov edx, 0xd
jmp 0x418248
mov eax, 9
mov word [esi], ax
jmp case.0x418209.99
mov edx, 0xb
mov word [esi], dx
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x418250
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.00486da0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
jmp 0x4181b0
mov esi, dword [ebx + 4]
cmp dword [ebx], esi
jne 0x418282
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
mov dword [ebx + 4], eax
cmp eax, ebp
je 0x41828f
mov dword [eax + 0x14], ebp
mov edx, dword [0x4bd41c]
mov eax, ebx
mov ecx, dword [eax + 4]
mov ebx, dword [0x4c0ff4]
mov dword [eax + 0x62c], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0xb4], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x48], edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [0x4c0ff8]
lea edi, [ebx + 1]
mov byte [0x4c0fce], 5
mov dword [0x4bd3fc], ecx
mov dword [0x4bd400], 0x4a596c
cmp edi, eax
jle 0x418303
add eax, 0x64
lea edx, [eax*4]
mov dword [0x4c0ff8], eax
mov eax, dword [0x4c0ff0]
push edx
push eax
call fcn.004875e7
add esp, 8
mov dword [0x4c0ff0], eax
mov ecx, dword [0x4c0ff0]
mov eax, ebx
mov dword [0x4bd404], eax
mov dword [ecx + eax*4], esi
mov dword [0x4c0ff4], edi
mov dword [esi + 0x10], ebp
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418364
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.004125b0
mov dword [0x4bd408], 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.00486b72
add esp, 0xc
test eax, eax
jne 0x4186a8
push 3
lea edx, [ebp + 0xc]
push 0x49e2f4
push edx
call fcn.00486b72
add esp, 0xc
test eax, eax
sete bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
push 6
lea esi, [ebp + eax*2 + 0xc]
push str.Active
push esi
call fcn.00486b72
add esp, 0xc
test eax, eax
jne 0x4183c5
test bl, bl
setne cl
inc cl
mov byte [0x4c0fce], cl
jmp 0x4183eb
push 5
push str.Exist
push esi
call fcn.00486b72
add esp, 0xc
test eax, eax
jne 0x418699
test bl, bl
setne dl
add dl, 3
mov byte [0x4c0fce], dl
mov ebx, dword [esp + 0x2c]
mov dword [0x4bd404], 0xffffffff
test ebx, ebx
jne 0x41841f
mov eax, 0x4a596c
mov dword [0x4bd3fc], eax
mov dword [0x4bd400], eax
mov byte [0x4c0fce], bl
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dx, word [0x4bd40c]
mov di, word [0x4bd410]
xor esi, esi
mov ecx, ebx
movzx eax, word [ecx]
test ax, ax
je 0x41845f
lea esp, [esp]
cmp ax, word [0x4bd414]
je 0x4184b6
cmp ax, dx
je 0x4184b6
cmp ax, di
je 0x4184b6
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418440
test esi, esi
je 0x418598
lea eax, [esi + 2]
call fcn.004090c0
mov edi, eax
xor eax, eax
mov word [esi], ax
mov eax, esi
sub eax, ebx
sar eax, 1
mov esi, ebx
mov dword [esp + 0x10], edi
call fcn.00412550
movzx ebp, word [0x4bd414]
mov ecx, edi
movzx eax, word [ecx]
test ax, ax
je 0x4185a0
lea esp, [esp]
cmp ax, bp
je 0x418500
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4184a0
jmp 0x4185a0
movzx eax, word [ecx]
test ax, ax
je 0x41845f
cmp ax, di
je 0x4184e7
cmp ax, dx
jne 0x4184d6
test esi, esi
jne 0x4184e7
mov esi, ecx
add ecx, 2
jmp 0x418431
add ecx, 2
cmp word [ecx], 0
je 0x41845f
add ecx, 2
jmp 0x418431
mov ecx, dword [esp + 0x28]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x4185a0
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418520.99
movzx edx, byte [eax + 0x4190e8]
jmp dword [edx*4 + 0x4190c4]
mov eax, 7
mov word [edi], ax
jmp case.0x418520.99
mov edx, 8
jmp 0x418569
mov eax, 0xc
mov word [edi], ax
jmp case.0x418520.99
mov edx, 0xa
jmp 0x418569
mov eax, 0xd
mov word [edi], ax
jmp case.0x418520.99
mov edx, 9
jmp 0x418569
mov eax, 0xb
mov word [edi], ax
jmp case.0x418520.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418571
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00486da0
mov ebx, dword [esp + 0x38]
add esp, 0xc
jmp 0x41848e
mov dword [esp + 0x10], 0x4a596c
movzx ebp, word [0x4bd414]
mov ecx, ebx
lea esp, [esp]
movzx eax, word [ecx]
test ax, ax
je 0x4185c9
cmp ax, bp
je 0x4185fc
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4185b8
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call fcn.00409330
add esp, 8
test eax, eax
jne 0x417f7b
mov ecx, dword [esp + 0x28]
push 0x4a596c
push str.Out_of_memory.
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x4185c9
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418618.99
movzx edx, byte [eax + 0x419124]
jmp dword [edx*4 + 0x419100]
mov eax, 7
mov word [edi], ax
jmp case.0x418618.99
mov edx, 8
jmp 0x418661
mov eax, 0xc
mov word [edi], ax
jmp case.0x418618.99
mov edx, 0xa
jmp 0x418661
mov eax, 0xd
mov word [edi], ax
jmp case.0x418618.99
mov edx, 9
jmp 0x418661
mov eax, 0xb
mov word [edi], ax
jmp case.0x418618.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418670
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00486da0
mov ebx, dword [esp + 0x38]
add esp, 0xc
mov ecx, edi
jmp 0x4185b0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.Hotstring
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418854
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
mov eax, str.EndChars
mov ecx, esi
call fcn.0046b6b0
test eax, eax
je 0x4187dc
mov ebx, 0x49fce4
call fcn.00409070
test eax, eax
je 0x417f7b
add eax, 2
push 0x64
push eax
push 0x4bd420
call fcn.00488d24
movzx ebx, word [0x4bd414]
add esp, 0xc
xor edx, edx
mov word [0x4bd4e8], dx
mov ecx, 0x4bd420
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x417f7b
lea esp, [esp]
cmp ax, bx
je 0x418750
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418730
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp word [ecx], 0
je 0x417f7b
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418770.99
movzx eax, byte [eax + 0x419160]
jmp dword [eax*4 + 0x41913c]
mov edx, 7
jmp 0x4187af
mov eax, 8
mov word [esi], ax
jmp case.0x418770.99
mov edx, 0xc
jmp 0x4187af
mov eax, 0xa
mov word [esi], ax
jmp case.0x418770.99
mov edx, 0xd
jmp 0x4187af
mov eax, 9
mov word [esi], ax
jmp case.0x418770.99
mov edx, 0xb
mov word [esi], dx
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4187b7
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.00486da0
add esp, 0xc
mov ecx, esi
jmp 0x418720
push 7
push str.NoMouse
push esi
call fcn.00486b72
add esp, 0xc
test eax, eax
jne 0x418804
mov byte [0x4bd413], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x4c17ef
push 0x4c17ee
push 0x4bd412
push 0x4c17ed
push 0x4c17ec
push 0x4bd40f
push 0x4bd40e
push 0x4c0fcf
push 0x4bd418
push 0x4c17e8
push 0x4c17e4
mov eax, esi
call fcn.0040c7b0
add esp, 0x2c
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x41888d
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
mov dword [0x4bd3dc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x4188d9
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
mov dword [0x4bd3f8], eax
cmp eax, 0xa
jge 0x417f7b
mov dword [0x4bd3f8], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418925
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
mov dword [0x4bd3f4], eax
cmp eax, 1
jge 0x417f7b
mov dword [0x4bd3f4], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418988
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
cmp eax, 0xff
jle 0x41896a
mov eax, 0xff
mov byte [0x4bd397], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x418974
mov eax, 1
mov byte [0x4bd397], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x4189d3
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4189bd
push eax
call fcn.00413a00
add esp, 4
mov byte [0x4c0fcd], 0
cmp eax, 2
je 0x417f7b
mov byte [0x4c0fcd], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418a36
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
cmp eax, 0xff
jle 0x418a18
mov eax, 0xff
mov dword [0x4bd3f0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 1
jge 0x418a22
mov eax, 1
mov dword [0x4bd3f0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418a6f
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
mov dword [0x4bd3e0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418aba
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x418aa4
push eax
call fcn.00413a00
add esp, 4
mov byte [0x4c1a00], 0
cmp eax, 2
je 0x417f7b
mov byte [0x4c1a00], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418ae4
mov byte [0x4c0e96], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418b12
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0xaa8], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.AllowSameLineComments
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418b3c
mov byte [0x4bd396], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418bc4
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.004125e0
fld qword [0x4b7738]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x418b7d
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x418b81
fstp st(1)
jmp 0x418b83
fstp st(0)
fld qword [0x4b7648]
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 edx, dword [esp + 0x18]
mov dword [0x4bd3ec], edx
fldcw word [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418c2f
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x417f7b
call fcn.0040ca10
mov dword [0x4bd3e8], eax
test eax, eax
jns 0x418c0b
mov dword [0x4bd3e8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x1f4
jle 0x417f7b
mov dword [0x4bd3e8], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418d03
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x417f7b
cmp word [ecx + 2], ax
jne 0x418cbd
movzx eax, word [ecx]
cmp eax, 0x23
je 0x418ca4
cmp ax, word [0x4bd410]
je 0x418ca4
cmp ax, word [0x4bd414]
je 0x418ca4
cmp ax, word [0x4bd40c]
je 0x418ca4
cmp eax, 0x21
je 0x418ca4
cmp eax, 0x5e
je 0x418ca4
cmp eax, 0x2b
je 0x418ca4
cmp eax, 0x24
je 0x418ca4
cmp eax, 0x7e
je 0x418ca4
cmp eax, 0x2a
je 0x418ca4
cmp eax, 0x3c
je 0x418ca4
cmp eax, 0x3e
jne 0x418cbd
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_1_invalid
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0xf
push ecx
push 0x4bd3b0
call fcn.00488d24
add esp, 0xc
xor eax, eax
mov word [0x4bd3ce], ax
mov eax, 0x4bd3b0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ce0
sub eax, edx
sar eax, 1
mov dword [0x4bd3d0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418d7d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x417f7b
movzx eax, word [eax]
cmp eax, 0x23
je 0x418ca4
cmp ax, word [0x4bd410]
je 0x418ca4
cmp ax, word [0x4bd40c]
je 0x418ca4
cmp eax, 0x2e
je 0x418ca4
cmp dword [0x4bd3d0], 1
jne 0x418d68
cmp ax, word [0x4bd3b0]
je 0x418ca4
mov word [0x4bd414], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418dee
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x417f7b
movzx eax, word [eax]
cmp ax, word [0x4bd414]
je 0x418ca4
cmp ax, word [0x4bd40c]
je 0x418ca4
cmp eax, 0x2e
je 0x418ca4
cmp dword [0x4bd3d0], 1
jne 0x418dd9
cmp ax, word [0x4bd3b0]
je 0x418ca4
mov word [0x4bd410], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, 0x49ff0c
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418e68
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x417f7b
movzx eax, word [eax]
cmp eax, 0x23
je 0x418ca4
cmp ax, word [0x4bd414]
je 0x418ca4
cmp ax, word [0x4bd410]
je 0x418ca4
cmp eax, 0x2e
je 0x418ca4
cmp dword [0x4bd3d0], 1
jne 0x418e53
cmp ax, word [0x4bd3b0]
je 0x418ca4
mov word [0x4bd40c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418ede
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x418ec4
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.00411820
add esp, 8
mov byte [0x4bd395], al
test al, al
jne 0x417f7b
mov ecx, dword [esp + 0x28]
mov eax, str.Parameter_1_invalid
push ebp
push eax
call fcn.0042d6d0
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.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418699
cmp dword [esp + 0x2c], eax
jne 0x418f04
mov dword [esp + 0x2c], 0x49ff78
movzx ecx, word [0x4bd40c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00487101
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov ebx, 0x4a596c
test esi, esi
je 0x418f46
lea eax, [esi + 2]
call fcn.004090c0
mov edx, dword [esp + 0x2c]
mov ebx, eax
lea eax, [esi - 2]
call fcn.004090e0
mov edi, eax
sub edi, dword [esp + 0x2c]
sar edi, 1
inc edi
mov esi, dword [esp + 0x2c]
push edi
mov eax, 0x49ff78
mov ecx, esi
call fcn.0046b3a0
add esp, 4
test eax, eax
je 0x418fc9
test edi, edi
je 0x418fc9
push edi
mov eax, str.UseUnsetLocal
mov ecx, esi
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418f7a
xor esi, esi
jmp 0x418fce
push edi
mov eax, str.UseUnsetGlobal
mov ecx, esi
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418f93
lea esi, [eax + 1]
jmp 0x418fce
push edi
mov eax, str.UseEnv
mov ecx, esi
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418fac
lea esi, [eax + 3]
jmp 0x418fce
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, esi
call fcn.0046b3a0
add esp, 4
test eax, eax
jne 0x418ca4
lea esi, [eax + 2]
jmp 0x418fce
mov esi, 4
cmp word [ebx], 0
jne 0x418fdb
mov eax, 2
jmp 0x41901f
push str.MsgBox
push ebx
call fcn.00486339
add esp, 8
test eax, eax
jne 0x418ff4
mov eax, 2
jmp 0x41901f
push str.OutputDebug
push ebx
call fcn.00486339
add esp, 8
test eax, eax
jne 0x41900d
mov eax, 1
jmp 0x41901f
push 0x49e15c
push ebx
call fcn.00486339
add esp, 8
test eax, eax
jne 0x41906d
test esi, esi
je 0x419028
cmp esi, 4
jne 0x41902d
mov dword [0x4c0fb0], eax
cmp esi, 1
je 0x419037
cmp esi, 4
jne 0x41903c
mov dword [0x4c0fb4], eax
cmp esi, 3
je 0x419046
cmp esi, 4
jne 0x41904b
mov dword [0x4c0fb8], eax
cmp esi, 2
je 0x419059
cmp esi, 4
jne 0x417f7b
mov dword [0x4c0fbc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x28]
push ebp
push str.Parameter_2_invalid
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8