Function at 0x418310
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov si, word [0x4be3ec]
xor edx, edx
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], 0x90020
mov word [esp + 0x14], si
mov word [esp + 0x16], dx
call fcn.00408f40
test eax, eax
jne 0x418365
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418350
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2]
jmp 0x4183ae
mov edx, eax
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x418374
cmp ecx, 9
jne 0x418379
add edx, 2
jmp 0x418367
movzx ecx, word [edx]
test cx, cx
je 0x4183ae
cmp cx, si
je 0x41838a
mov esi, edx
jmp 0x4183b0
lea ecx, [edx + 2]
lea ecx, [ecx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x41839d
cmp edx, 9
jne 0x4183a2
add ecx, 2
jmp 0x418390
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x24], esi
jne 0x4183b4
xor esi, esi
mov dword [esp + 0x24], esi
sub eax, ebp
sar eax, 1
mov edi, eax
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
je 0x418406
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
je 0x418406
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418415
mov dword [0x4c200c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418441
mov byte [0x4c1ff8], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41846d
mov byte [0x4c1fcb], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41851e
mov dword [0x4c1ff4], 1
test esi, esi
je 0x418406
push str.Force
push esi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x4184c4
mov dword [0x4c1ff4], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.Ignore
push esi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x4184ef
mov dword [0x4c1ff4], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x49e17c
push esi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x418406
mov dword [0x4c1ff4], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41854a
or byte [0x4c28e9], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418576
or byte [0x4c28e9], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x4185c3
test esi, esi
je 0x4185ad
mov esi, dword [esp + 0x24]
push eax
call fcn.00413cc0
add esp, 4
mov byte [0x4c28b9], 0
cmp eax, 2
je 0x418406
mov byte [0x4c28b9], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49fa98
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x4187a6
test esi, esi
jne 0x41860e
mov eax, 0x4a59a4
mov dword [0x4be3dc], eax
mov dword [0x4be3e0], eax
mov byte [0x4c2002], 0
mov dword [0x4be3e4], 0xffffffff
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x4be3fc]
mov ebp, dword [eax + 0xb4]
movzx ebx, word [0x4be3f4]
mov dword [eax + 0xb4], 0
mov ecx, esi
movzx eax, word [ecx]
mov esi, dword [esp + 0x20]
test ax, ax
je 0x418649
cmp ax, bx
je 0x41866f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418638
push 0
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push 3
push esi
call fcn.0041bf00
test eax, eax
jne 0x4186f5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x418649
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x41868b.99
movzx eax, byte [eax + 0x41956c]
jmp dword [eax*4 + 0x419548]
mov edx, 7
jmp 0x4186ca
mov eax, 8
mov word [esi], ax
jmp case.0x41868b.99
mov edx, 0xc
jmp 0x4186ca
mov eax, 0xa
mov word [esi], ax
jmp case.0x41868b.99
mov edx, 0xd
jmp 0x4186ca
mov eax, 9
mov word [esi], ax
jmp case.0x41868b.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 0x4186d2
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.00488c10
add esp, 0xc
jmp 0x41862a
mov edi, dword [esi + 4]
cmp dword [esi], edi
jne 0x418702
mov dword [esi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
test eax, eax
je 0x418713
mov dword [eax + 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [0x4be3fc]
mov ebx, dword [0x4c2028]
mov dword [esi + 0x624], eax
mov dword [ecx + 0xb4], ebp
mov edx, dword [edi + 8]
mov eax, dword [edx + 4]
mov dword [0x4be3dc], eax
mov eax, dword [0x4c202c]
lea esi, [ebx + 1]
mov byte [0x4c2002], 5
mov dword [0x4be3e0], 0x4a59a4
cmp esi, eax
jle 0x41877a
mov edx, dword [0x4c2024]
add eax, 0x64
lea ecx, [eax*4]
push ecx
push edx
mov dword [0x4c202c], eax
call fcn.00489457
add esp, 8
mov dword [0x4c2024], eax
mov ecx, dword [0x4c2024]
mov eax, ebx
mov dword [0x4be3e4], eax
mov dword [ecx + eax*4], edi
mov dword [0x4c2028], esi
mov dword [edi + 0x10], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x4187e1
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.004126e0
mov dword [0x4be3e8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 6
push str.IfWin
push ebp
call fcn.004889e2
add esp, 0xc
test eax, eax
jne 0x418b3b
push 3
lea edx, [ebp + 0xc]
push 0x49e314
push edx
call fcn.004889e2
add esp, 0xc
test eax, eax
sete bl
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
push 6
lea edi, [ebp + eax*2 + 0xc]
push str.Active
push edi
call fcn.004889e2
add esp, 0xc
test eax, eax
jne 0x418842
test bl, bl
setne cl
inc cl
mov byte [0x4c2002], cl
jmp 0x418868
push 5
push str.Exist
push edi
call fcn.004889e2
add esp, 0xc
test eax, eax
jne 0x418b2c
test bl, bl
setne dl
add dl, 3
mov byte [0x4c2002], dl
mov dword [0x4be3e4], 0xffffffff
test esi, esi
jne 0x418899
mov eax, 0x4a59a4
mov dword [0x4be3dc], eax
mov dword [0x4be3e0], eax
mov byte [0x4c2002], 0
lea eax, [esi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov dx, word [0x4be3ec]
mov bx, word [0x4be3f4]
mov ecx, esi
mov si, word [0x4be3f0]
xor edi, edi
movzx eax, word [ecx]
test ax, ax
je 0x4188e7
lea ebx, [ebx]
cmp ax, bx
je 0x418998
cmp ax, dx
je 0x418998
cmp ax, si
je 0x418998
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4188c0
test edi, edi
je 0x418a85
lea eax, [edi + 2]
call fcn.00408f90
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [edi], ax
mov eax, edi
sub eax, ebp
sar eax, 1
mov esi, ebp
call fcn.00412680
mov ecx, dword [esp + 0x10]
movzx esi, bx
movzx eax, word [ecx]
test ax, ax
je 0x418935
cmp ax, si
je 0x4189ea
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418920
mov bx, word [0x4be3f4]
movzx esi, bx
mov ecx, ebp
movzx eax, word [ecx]
test ax, ax
je 0x418965
lea esp, [esp]
cmp ax, si
je 0x418a96
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418950
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.00409250
add esp, 8
test eax, eax
jne 0x418406
mov ecx, dword [esp + 0x20]
push 0x4a59a4
push str.Out_of_memory.
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
movzx eax, word [ecx]
test ax, ax
je 0x4188e7
cmp ax, si
je 0x4189d1
cmp ax, dx
jne 0x4189bc
test edi, edi
jne 0x4189d1
mov edi, ecx
add ecx, 2
jmp 0x4188b2
add ecx, 2
cmp word [ecx], 0
je 0x4188e7
add ecx, 2
jmp 0x4188b2
mov ecx, dword [esp + 0x20]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x418935
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418a0a.99
movzx edx, byte [eax + 0x4195a8]
jmp dword [edx*4 + 0x419584]
mov eax, 7
mov word [edi], ax
jmp case.0x418a0a.99
mov edx, 8
jmp 0x418a53
mov eax, 0xc
mov word [edi], ax
jmp case.0x418a0a.99
mov edx, 0xa
jmp 0x418a53
mov eax, 0xd
mov word [edi], ax
jmp case.0x418a0a.99
mov edx, 9
jmp 0x418a53
mov eax, 0xb
mov word [edi], ax
jmp case.0x418a0a.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
jmp 0x418a60
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418a60
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00488c10
add esp, 0xc
mov ecx, edi
jmp 0x418918
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], 0x4a59a4
jmp 0x41893c
cmp word [ecx], 0
je 0x418965
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418ab6.99
movzx edx, byte [eax + 0x4195e4]
jmp dword [edx*4 + 0x4195c0]
mov eax, 7
mov word [edi], ax
jmp case.0x418ab6.99
mov edx, 8
jmp 0x418aff
mov eax, 0xc
mov word [edi], ax
jmp case.0x418ab6.99
mov edx, 0xa
jmp 0x418aff
mov eax, 0xd
mov word [edi], ax
jmp case.0x418ab6.99
mov edx, 9
jmp 0x418aff
mov eax, 0xb
mov word [edi], ax
jmp case.0x418ab6.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418b07
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.00488c10
add esp, 0xc
mov ecx, edi
jmp 0x418941
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Hotstring
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418ce4
test esi, esi
je 0x418406
mov eax, str.EndChars
mov ecx, esi
call fcn.0046f4b0
test eax, eax
je 0x418c6c
mov ebx, 0x49fb6c
call fcn.00408f40
test eax, eax
je 0x418406
add eax, 2
push 0x64
push eax
push 0x4be400
call fcn.0048ac34
movzx ebx, word [0x4be3f4]
add esp, 0xc
xor edx, edx
mov word [0x4be4c8], dx
mov ecx, 0x4be400
jmp 0x418bb0
movzx eax, word [ecx]
test ax, ax
je 0x418406
lea esp, [esp]
cmp ax, bx
je 0x418be0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418bc0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp word [ecx], 0
je 0x418406
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418c00.99
movzx eax, byte [eax + 0x419620]
jmp dword [eax*4 + 0x4195fc]
mov edx, 7
jmp 0x418c3f
mov eax, 8
mov word [esi], ax
jmp case.0x418c00.99
mov edx, 0xc
jmp 0x418c3f
mov eax, 0xa
mov word [esi], ax
jmp case.0x418c00.99
mov edx, 0xd
jmp 0x418c3f
mov eax, 9
mov word [esi], ax
jmp case.0x418c00.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 0x418c47
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push ecx
call fcn.00488c10
add esp, 0xc
mov ecx, esi
jmp 0x418bb0
push 7
push str.NoMouse
push esi
call fcn.004889e2
add esp, 0xc
test eax, eax
jne 0x418c94
mov byte [0x4be3f3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x4c26a7
push 0x4c26a6
push 0x4be3f2
push 0x4c26a5
push 0x4c26a4
push 0x4be3ef
push 0x4be3ee
push 0x4c2003
push 0x4be3f8
push 0x4c26a0
push 0x4c269c
mov eax, esi
call fcn.0040c6e0
add esp, 0x2c
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418d1f
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
mov dword [0x4be3bc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418d6d
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
mov dword [0x4be3d8], eax
cmp eax, 0xa
jge 0x418406
mov dword [0x4be3d8], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418dbb
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
mov dword [0x4be3d4], eax
cmp eax, 1
jge 0x418406
mov dword [0x4be3d4], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418e20
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
cmp eax, 0xff
jle 0x418e02
mov eax, 0xff
mov byte [0x4be377], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418e0c
mov eax, 1
mov byte [0x4be377], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418e6d
test esi, esi
je 0x418e57
mov esi, dword [esp + 0x24]
push eax
call fcn.00413cc0
add esp, 4
mov byte [0x4c2001], 0
cmp eax, 2
je 0x418406
mov byte [0x4c2001], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418ed2
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
cmp eax, 0xff
jle 0x418eb4
mov eax, 0xff
mov dword [0x4be3d0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 1
jge 0x418ebe
mov eax, 1
mov dword [0x4be3d0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418f0d
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
mov dword [0x4be3c0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418f5a
test esi, esi
je 0x418f44
mov esi, dword [esp + 0x24]
push eax
call fcn.00413cc0
add esp, 4
mov byte [0x4c28b8], 0
cmp eax, 2
je 0x418406
mov byte [0x4c28b8], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418f86
mov byte [0x4c1fca], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418fb6
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0xaa0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.AllowSameLineComments
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418fe2
mov byte [0x4be376], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41906c
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.00412710
fld qword [0x4b8a00]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x419025
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x419029
fstp st(1)
jmp 0x41902b
fstp st(0)
fld qword [0x4b8910]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x24], eax
mov eax, 3
fmulp st(1)
fldcw word [esp + 0x24]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [0x4be3cc], edx
fldcw word [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x4190d9
test esi, esi
je 0x418406
mov esi, dword [esp + 0x24]
call fcn.0040c940
mov dword [0x4be3c8], eax
test eax, eax
jns 0x4190b5
mov dword [0x4be3c8], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp eax, 0x1f4
jle 0x418406
mov dword [0x4be3c8], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x4191a8
test esi, esi
je 0x418406
cmp word [esi + 2], ax
jne 0x419165
movzx eax, word [esi]
cmp eax, 0x23
je 0x41914c
cmp ax, word [0x4be3f0]
je 0x41914c
cmp ax, word [0x4be3f4]
je 0x41914c
cmp ax, word [0x4be3ec]
je 0x41914c
cmp eax, 0x21
je 0x41914c
cmp eax, 0x5e
je 0x41914c
cmp eax, 0x2b
je 0x41914c
cmp eax, 0x24
je 0x41914c
cmp eax, 0x7e
je 0x41914c
cmp eax, 0x2a
je 0x41914c
cmp eax, 0x3c
je 0x41914c
cmp eax, 0x3e
jne 0x419165
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_1_invalid.
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xf
push esi
push 0x4be390
call fcn.0048ac34
add esp, 0xc
xor eax, eax
mov word [0x4be3ae], ax
mov eax, 0x4be390
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419185
sub eax, edx
sar eax, 1
mov dword [0x4be3b0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x419220
test esi, esi
je 0x418406
movzx eax, word [esi]
cmp eax, 0x23
je 0x41914c
cmp ax, word [0x4be3f0]
je 0x41914c
cmp ax, word [0x4be3ec]
je 0x41914c
cmp eax, 0x2e
je 0x41914c
cmp dword [0x4be3b0], 1
jne 0x41920b
cmp ax, word [0x4be390]
je 0x41914c
mov word [0x4be3f4], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41928f
test esi, esi
je 0x418406
movzx eax, word [esi]
cmp ax, word [0x4be3f4]
je 0x41914c
cmp ax, word [0x4be3ec]
je 0x41914c
cmp eax, 0x2e
je 0x41914c
cmp dword [0x4be3b0], 1
jne 0x41927a
cmp ax, word [0x4be390]
je 0x41914c
mov word [0x4be3f0], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x49fd94
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x419307
test esi, esi
je 0x418406
movzx eax, word [esi]
cmp eax, 0x23
je 0x41914c
cmp ax, word [0x4be3f4]
je 0x41914c
cmp ax, word [0x4be3f0]
je 0x41914c
cmp eax, 0x2e
je 0x41914c
cmp dword [0x4be3b0], 1
jne 0x4192f2
cmp ax, word [0x4be390]
je 0x41914c
mov word [0x4be3ec], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41937b
test esi, esi
je 0x419361
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 1
mov ecx, eax
push 1
xor edx, edx
mov eax, esi
call fcn.00411960
add esp, 8
mov byte [0x4be375], al
test al, al
jne 0x418406
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x418b2c
test esi, esi
jne 0x4193a1
mov dword [esp + 0x24], 0x49fe00
movzx ecx, word [0x4be3ec]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
call fcn.00488f71
mov esi, eax
add esp, 8
or edi, 0xffffffff
mov dword [esp + 0x24], 0x4a59a4
test esi, esi
je 0x4193e4
lea eax, [esi + 2]
call fcn.00408f90
mov dword [esp + 0x24], eax
lea eax, [esi - 2]
mov edx, ebx
call fcn.00408fb0
mov edi, eax
sub edi, ebx
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov eax, 0x49fe00
mov ecx, ebx
call fcn.0046f1a0
add esp, 8
test eax, eax
je 0x41946d
test edi, edi
je 0x41946d
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetLocal
mov ecx, ebx
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x419418
xor esi, esi
jmp 0x419472
push 0xffffffffffffffff
push edi
mov eax, str.UseUnsetGlobal
mov ecx, ebx
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x419433
lea esi, [eax + 1]
jmp 0x419472
push 0xffffffffffffffff
push edi
mov eax, str.UseEnv
mov ecx, ebx
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41944e
lea esi, [eax + 3]
jmp 0x419472
push 0xffffffffffffffff
push edi
mov eax, str.LocalSameAsGlobal
mov ecx, ebx
call fcn.0046f1a0
add esp, 8
test eax, eax
jne 0x41914c
lea esi, [eax + 2]
jmp 0x419472
mov esi, 4
mov edi, dword [esp + 0x24]
cmp word [edi], 0
jne 0x419483
mov eax, 2
jmp 0x4194e0
push str.MsgBox
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x41949c
mov eax, 2
jmp 0x4194e0
push str.OutputDebug
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x4194b5
mov eax, 1
jmp 0x4194e0
push str.StdOut
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x4194ce
mov eax, 3
jmp 0x4194e0
push 0x49e17c
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x41952e
test esi, esi
je 0x4194e9
cmp esi, 4
jne 0x4194ee
mov dword [0x4c1fe4], eax
cmp esi, 1
je 0x4194f8
cmp esi, 4
jne 0x4194fd
mov dword [0x4c1fe8], eax
cmp esi, 3
je 0x419507
cmp esi, 4
jne 0x41950c
mov dword [0x4c1fec], eax
cmp esi, 2
je 0x41951a
cmp esi, 4
jne 0x418406
mov dword [0x4c1ff0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
push ebp
push str.Parameter_2_invalid.
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8