Function at 0x418c90
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x90020
mov word [esp + 0x12], ax
push ebp
mov bp, word [0x4cfab0]
mov word [esp + 0x14], bp
push esi
push edi
mov edi, ebx
test ebx, ebx
je 0x418d05
movzx eax, word [ebx]
test ax, ax
je 0x418d05
mov esi, eax
nop word [eax + eax]
lea ecx, [esp + 0x18]
mov edx, 0x20
nop dword [eax]
cmp si, dx
je 0x418d83
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x418ce0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x418cd0
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418d10
sub ecx, edx
sar ecx, 1
lea edi, [ebx + ecx*2]
xor esi, esi
sub edi, ebx
mov edx, str.Include
sar edi, 1
mov ecx, ebx
push 0xffffffffffffffff
push edi
call fcn.00472d90
add esp, 8
test eax, eax
je 0x418d74
push 0xffffffffffffffff
push edi
mov edx, str.IncludeAgain
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
je 0x418d74
push 0xffffffffffffffff
push edi
mov edx, str.NoEnv
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418dc1
mov dword [0x4d1ff0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov esi, edi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x418d94
cmp eax, 9
jne 0x418d99
add esi, 2
jmp 0x418d85
test ax, ax
je 0x418d22
cmp cx, bp
jne 0x418d24
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0x20
je 0x418da3
cmp eax, 9
je 0x418da3
xor ecx, ecx
test ax, ax
cmove esi, ecx
jmp 0x418d24
push 0xffffffffffffffff
push edi
mov edx, str.NoTrayIcon
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418ded
mov byte [0x4d1ff5], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.Persistent
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418e19
mov byte [0x4d1698], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.SingleInstance
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418eca
mov dword [0x4d16a4], 1
test esi, esi
je 0x418d74
push str.Force
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x418e70
mov dword [0x4d16a4], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push str.Ignore
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x418e9b
mov dword [0x4d16a4], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x4bf7dc
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x418d74
mov dword [0x4d16a4], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.InstallKeybdHook
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418ef6
or byte [0x4d212f], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.InstallMouseHook
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418f22
or byte [0x4d212f], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.UseHook
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x418f76
test esi, esi
je 0x418f60
xor edx, edx
mov ecx, esi
call fcn.00414670
cmp eax, 2
jne 0x418f60
xor al, al
mov byte [0x4d16d4], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov al, 1
mov byte [0x4d16d4], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, 0x4be6a8
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4190be
test esi, esi
jne 0x418fc4
mov byte [0x4d18c6], al
lea eax, [esi + 3]
mov dword [0x4cfac0], 0x4ac22c
mov dword [0x4cfabc], 0x4ac22c
mov dword [0x4cfab8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [0x4ce8c8]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push 0
push 0
mov edi, dword [eax + 0xb4]
push 0
push 0x4ac22c
push 0
push 0xe1
mov dword [eax + 0xb4], 0
push esi
mov byte [ebx + 0x45], 1
call fcn.0041a1d0
test eax, eax
jne 0x419009
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [0x4ce8c8]
mov ecx, dword [0x4d1fdc]
mov edx, dword [0x4d1fd8]
mov byte [ebx + 0x45], 0
mov dword [eax + 0xb4], edi
mov esi, dword [ebx + 4]
mov byte [0x4d18c6], 5
mov dword [0x4cfabc], 0x4ac22c
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [0x4cfac0], eax
lea eax, [ecx + 1]
cmp eax, edx
jle 0x419098
add edx, 0x64
mov dword [0x4d1fd8], edx
lea eax, [edx*4]
push eax
push dword [0x4d1fe0]
call fcn.00492d20
mov edx, eax
add esp, 8
mov dword [0x4d1fe0], edx
test edx, edx
jne 0x419090
push 0x4ac22c
push str.Out_of_memory.
mov ecx, ebx
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [0x4d1fdc]
jmp 0x41909e
mov edx, dword [0x4d1fe0]
mov eax, ecx
inc ecx
mov dword [0x4cfab8], eax
mov dword [0x4d1fdc], ecx
mov dword [edx + eax*4], esi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.IfTimeout
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4190f7
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.004134f0
mov dword [0x4cfab4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 6
push str.IfWin
push ebx
call fcn.00491336
add esp, 0xc
test eax, eax
jne 0x4192d4
push 3
lea eax, [ebx + 0xc]
push 0x4bf974
push eax
call fcn.00491336
add esp, 0xc
mov edx, 0x12
test eax, eax
mov edi, 0xc
sete byte [esp + 0x24]
test eax, eax
push 6
cmove edi, edx
add edi, ebx
push str.Active
push edi
call fcn.00491336
add esp, 0xc
test eax, eax
jne 0x419152
mov al, 1
jmp 0x41916c
push 5
push str.Exist
push edi
call fcn.00491336
add esp, 0xc
test eax, eax
jne 0x4192c5
mov al, 3
mov cl, byte [esp + 0x24]
add cl, al
mov dword [0x4cfab8], 0xffffffff
mov byte [0x4d18c6], cl
test esi, esi
jne 0x4191ae
mov byte [0x4d18c6], 0
lea eax, [esi + 3]
mov dword [0x4cfac0], 0x4ac22c
mov dword [0x4cfabc], 0x4ac22c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov bp, word [0x4cfab0]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edi, esi
nop dword [eax]
movzx eax, word [edi]
mov edx, eax
test ax, ax
je 0x419204
mov ecx, eax
nop dword [eax]
movzx edx, cx
cmp cx, word [0x4cfaa8]
je 0x419200
movzx edx, cx
cmp cx, bp
je 0x419200
movzx edx, cx
cmp cx, word [0x4cfaac]
je 0x419200
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
mov edx, eax
test ax, ax
jne 0x4191d0
mov ecx, dword [esp + 0x24]
test dx, dx
je 0x41924d
cmp dx, word [0x4cfaac]
je 0x419234
cmp dx, bp
jne 0x419226
test ecx, ecx
jne 0x419234
mov ecx, edi
add edi, 2
mov dword [esp + 0x24], ecx
jmp 0x4191c0
add edi, 2
cmp word [edi], 0
je 0x41924d
add edi, 2
jmp 0x4191c0
mov ecx, dword [esp + 0x14]
push ebx
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
test ecx, ecx
je 0x419286
lea edi, [ecx + 2]
movzx eax, word [edi]
cmp eax, 0x20
je 0x419261
cmp eax, 9
jne 0x419266
add edi, 2
jmp 0x419254
xor eax, eax
mov word [ecx], ax
sub ecx, esi
sar ecx, 1
mov edx, ecx
mov ecx, esi
call fcn.00413420
push 1
mov ecx, edi
call fcn.00474cf0
add esp, 4
jmp 0x41928b
mov edi, 0x4ac22c
push 1
mov ecx, esi
call fcn.00474cf0
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.0040af30
test eax, eax
jne 0x418d74
mov ecx, dword [esp + 0x14]
push 0x4ac22c
push str.Out_of_memory.
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.Hotstring
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4193ca
test esi, esi
je 0x418d74
mov edx, str.EndChars
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x419352
mov edx, 0x4c1fec
mov ecx, eax
call fcn.0040ab90
test eax, eax
je 0x418d74
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.00497e59
add esp, 0xc
xor eax, eax
mov ecx, str._____:____.___n__t
mov word [0x4cfaa0], ax
push eax
call fcn.00474cf0
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 7
push str.NoMouse
push esi
call fcn.00491336
add esp, 0xc
test eax, eax
jne 0x41937a
mov byte [0x4cf9d4], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x4d16d6
push 0x4d16d7
push 0x4cf9d5
push 0x4d17f4
push 0x4d17f5
push 0x4cf9d6
push 0x4cf9d7
push 0x4d17f6
push 0x4cfaa4
push 0x4d17f8
mov edx, 0x4d17fc
mov ecx, esi
call fcn.0040dd10
add esp, 0x28
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.HotkeyModifierTimeout
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419403
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
mov dword [0x4cfad0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.HotkeyInterval
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41944f
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
mov dword [0x4cfac4], eax
cmp eax, 0xa
jge 0x418d74
mov dword [0x4cfac4], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MaxHotkeysPerInterval
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41949b
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
mov dword [0x4cfac8], eax
cmp eax, 1
jge 0x418d74
mov dword [0x4cfac8], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MaxThreadsPerHotkey
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4194fc
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
cmp eax, 0xff
jle 0x4194e0
mov eax, 0xff
mov byte [0x4cfaa2], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
mov byte [0x4cfaa2], al
lea eax, [ecx + 2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MaxThreadsBuffer
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419550
test esi, esi
je 0x41953a
xor edx, edx
mov ecx, esi
call fcn.00414670
cmp eax, 2
jne 0x41953a
xor al, al
mov byte [0x4d1fec], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov al, 1
mov byte [0x4d1fec], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MaxThreads
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4195b1
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
cmp eax, 0xff
jle 0x419595
mov eax, 0xff
mov dword [0x4ce8c4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
mov dword [0x4ce8c4], eax
lea eax, [ecx + 2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.ClipboardTimeout
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4195ea
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
mov dword [0x4ce8d0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.LTrim
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41963e
test esi, esi
je 0x419628
xor edx, edx
mov ecx, esi
call fcn.00414670
cmp eax, 2
jne 0x419628
xor al, al
mov byte [0x4d16d5], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov al, 1
mov byte [0x4d16d5], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.WinActivateForce
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41966a
mov byte [0x4d1ff7], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.ErrorStdOut
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41969a
mov ecx, dword [esp + 0x14]
mov eax, 3
mov byte [ecx + 0xacf], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MaxMem
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419700
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.00413520
movsd xmm1, qword [0x4c9598]
maxsd xmm1, xmm0
movsd xmm0, qword [0x4c95d8]
minsd xmm0, xmm1
mulsd xmm0, qword [0x4c95d0]
mulsd xmm0, qword [0x4c95d0]
call fcn.004a4f61
mov dword [0x4cfacc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.KeyHistory
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41976b
test esi, esi
je 0x418d74
mov ecx, esi
call fcn.0040df30
mov dword [0x4ce8cc], eax
test eax, eax
jns 0x419747
mov dword [0x4ce8cc], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp eax, 0x1f4
jle 0x418d74
mov dword [0x4ce8cc], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.CommentFlag
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419854
test esi, esi
je 0x418d74
cmp word [esi + 2], ax
jne 0x41980e
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a40
cmp ax, word [0x4cfaac]
je 0x419a40
cmp ax, word [0x4cfaa8]
je 0x419a40
cmp ax, word [0x4cfab0]
je 0x419a40
cmp eax, 0x21
je 0x419a40
cmp eax, 0x5e
je 0x419a40
cmp eax, 0x2b
je 0x419a40
cmp eax, 0x24
je 0x419a40
cmp eax, 0x7e
je 0x419a40
cmp eax, 0x2a
je 0x419a40
cmp eax, 0x3c
je 0x419a40
cmp eax, 0x3e
je 0x419a40
push 0xf
push esi
push 0x4cffc0
call fcn.00497e59
mov ecx, 0x4cffc0
add esp, 0xc
xor eax, eax
mov word [0x4cffde], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419830
sub ecx, edx
mov eax, 3
sar ecx, 1
mov dword [0x4cffe0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.EscapeChar
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4198cc
test esi, esi
je 0x418d74
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a40
cmp ax, word [0x4cfaac]
je 0x419a40
cmp ax, word [0x4cfab0]
je 0x419a40
cmp eax, 0x2e
je 0x419a40
cmp dword [0x4cffe0], 1
jne 0x4198b7
cmp ax, word [0x4cffc0]
je 0x419a40
mov word [0x4cfaa8], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.DerefChar
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x41993b
test esi, esi
je 0x418d74
movzx eax, word [esi]
cmp ax, word [0x4cfaa8]
je 0x419a40
cmp ax, word [0x4cfab0]
je 0x419a40
cmp eax, 0x2e
je 0x419a40
cmp dword [0x4cffe0], 1
jne 0x419926
cmp ax, word [0x4cffc0]
je 0x419a40
mov word [0x4cfaac], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, 0x4c21e4
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4199b3
test esi, esi
je 0x418d74
movzx eax, word [esi]
cmp eax, 0x23
je 0x419a40
cmp ax, word [0x4cfaa8]
je 0x419a40
cmp ax, word [0x4cfaac]
je 0x419a40
cmp eax, 0x2e
je 0x419a40
cmp dword [0x4cffe0], 1
jne 0x41999e
cmp ax, word [0x4cffc0]
je 0x419a40
mov word [0x4cfab0], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.MenuMaskKey
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419a16
test esi, esi
je 0x4199f2
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 1
xor edx, edx
mov ecx, esi
call fcn.00412680
add esp, 0xc
mov byte [0x4cfaa3], al
test al, al
jne 0x418d74
test esi, esi
mov ecx, str.Parameter_1_required
mov eax, str.Parameter_1_invalid.
cmove eax, ecx
mov ecx, dword [esp + 0x14]
push ebx
push eax
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.InputLevel
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419a6f
test esi, esi
je 0x419a59
mov ecx, esi
call fcn.0040df30
test eax, eax
js 0x419a40
cmp eax, 0x64
jle 0x419a5b
mov ecx, dword [esp + 0x14]
push ebx
push str.Parameter_1_invalid.
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
xor eax, eax
mov byte [0x4d18c7], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0xffffffffffffffff
push edi
mov edx, str.Warn
mov ecx, ebx
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x4192c5
movzx eax, word [0x4cfab0]
test esi, esi
mov ebp, 0x4c2268
cmovne ebp, esi
push eax
push ebp
call fcn.0048c759
mov edx, eax
add esp, 8
or edi, 0xffffffff
mov esi, 0x4ac22c
test edx, edx
je 0x419ad8
lea esi, [edx + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x419ac2
cmp eax, 9
jne 0x419ac7
add esi, 2
jmp 0x419ab5
add edx, 0xfffffffe
mov ecx, ebp
call fcn.0040abf0
mov edi, eax
sub edi, ebp
sar edi, 1
inc edi
push 0xffffffffffffffff
push edi
mov edx, 0x4c2268
mov ecx, ebp
call fcn.00472d90
add esp, 8
test eax, eax
je 0x419b61
test edi, edi
je 0x419b61
push 0xffffffffffffffff
push edi
mov edx, str.UseUnsetLocal
mov ecx, ebp
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419b0c
xor edi, edi
jmp 0x419b66
push 0xffffffffffffffff
push edi
mov edx, str.UseUnsetGlobal
mov ecx, ebp
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419b27
lea edi, [eax + 1]
jmp 0x419b66
push 0xffffffffffffffff
push edi
mov edx, str.UseEnv
mov ecx, ebp
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419b42
lea edi, [eax + 3]
jmp 0x419b66
push 0xffffffffffffffff
push edi
mov edx, str.LocalSameAsGlobal
mov ecx, ebp
call fcn.00472d90
add esp, 8
test eax, eax
jne 0x419a40
lea edi, [eax + 2]
jmp 0x419b66
mov edi, 4
cmp word [esi], 0
jne 0x419b73
mov eax, 2
jmp 0x419bd0
push str.MsgBox
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x419b8c
mov eax, 2
jmp 0x419bd0
push str.OutputDebug
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x419ba5
mov eax, 1
jmp 0x419bd0
push str.StdOut
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x419bbe
mov eax, 3
jmp 0x419bd0
push 0x4bf7dc
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x419c1e
test edi, edi
je 0x419bd9
cmp edi, 4
jne 0x419bde
mov dword [0x4d2004], eax
cmp edi, 1
je 0x419be8
cmp edi, 4
jne 0x419bed
mov dword [0x4d2000], eax
cmp edi, 3
je 0x419bf7
cmp edi, 4
jne 0x419bfc
mov dword [0x4d1ffc], eax
cmp edi, 2
je 0x419c0a
cmp edi, 4
jne 0x418d74
mov dword [0x4d1ff8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x14]
push ebx
push str.Parameter_2_invalid.
call fcn.0042d580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4