Function at 0x4310b0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get keyboard layout
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
push ebx
push esi
mov si, word [0x4e4a48]
push edi
mov edi, dword [ebp + 8]
xor edx, edx
lea ebx, [esp + 0x18]
mov eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x90020
mov word [esp + 0x1c], si
mov word [esp + 0x1e], dx
call fcn.00405590
test eax, eax
jne 0x431109
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4310f5
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2]
jmp 0x431154
mov edx, eax
jmp 0x431110
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x43111d
cmp ecx, 9
jne 0x431122
add edx, 2
jmp 0x431110
movzx ecx, word [edx]
test cx, cx
je 0x431154
cmp cx, si
je 0x431133
mov esi, edx
jmp 0x431156
lea ecx, [edx + 2]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x431143
cmp edx, 9
jne 0x431148
add ecx, 2
jmp 0x431136
cmp word [ecx], 0
mov esi, ecx
mov dword [esp + 0x10], esi
jne 0x43115a
xor esi, esi
mov dword [esp + 0x10], esi
sub eax, edi
sar eax, 1
mov ebx, eax
push 0xffffffffffffffff
push ebx
mov eax, str.Include
mov ecx, edi
mov byte [esp + 0x20], 0
call fcn.0049e660
add esp, 8
test eax, eax
je 0x4321d1
push 0xffffffffffffffff
push ebx
mov eax, str.IncludeAgain
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x18], al
test al, al
jne 0x4321d1
push 0xffffffffffffffff
push ebx
mov eax, str.NoEnv
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4311d0
mov dword [0x4e4a28], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.NoTrayIcon
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4311fb
mov byte [0x4e804a], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.Persistent
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431226
mov byte [0x4e8048], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.SingleInstance
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4312c9
mov dword [0x4e8044], 1
test esi, esi
je 0x4312bb
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.Force
push esi
call edi
add esp, 8
test eax, eax
jne 0x43127b
mov dword [0x4e8044], 2
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.Ignore
push esi
call edi
add esp, 8
test eax, eax
jne 0x4312a2
mov dword [0x4e8044], 3
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4bf820
push esi
call edi
add esp, 8
test eax, eax
jne 0x4312bb
mov dword [0x4e8044], 4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.InstallKeybdHook
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4312f4
or byte [0x4e8903], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.InstallMouseHook
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x43131f
or byte [0x4e8903], 2
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.UseHook
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431367
test esi, esi
je 0x431352
mov esi, dword [esp + 0x10]
push eax
call fcn.004130f0
add esp, 4
mov byte [0x4e86ef], 0
cmp eax, 2
je 0x431359
mov byte [0x4e86ef], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, 0x4bdb8c
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x43143b
test esi, esi
jne 0x43139d
mov dword [0x4e8068], 0
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, esi
call fcn.00413730
mov dword [0x4e8068], eax
test eax, eax
jne 0x4311c2
mov eax, dword [0x4e4b24]
mov ebx, dword [eax + 0xb4]
mov edi, dword [esp + 0x14]
push 0
push 0
push 0
push 0x4bd2c4
push 0
push 0xe3
mov dword [eax + 0xb4], 0
push esi
mov ecx, edi
mov byte [edi + 0x21], 1
call fcn.004329d0
test eax, eax
je 0x432309
mov eax, dword [0x4e4b24]
mov byte [edi + 0x21], 0
mov dword [eax + 0xb4], ebx
mov edi, dword [edi + 0x610]
call fcn.004136b0
mov dword [0x4e8068], eax
test eax, eax
je 0x432309
mov byte [eax], 5
mov dword [eax + 0xc], edi
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x4bd2c4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.IfTimeout
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431471
test esi, esi
je 0x431463
mov esi, dword [esp + 0x10]
call fcn.00403dd0
mov dword [0x4e4a44], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.MSVCR100.dll__wcsnicmp]
push 6
push str.IfWin
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x431794
push 3
lea eax, [edi + 0xc]
push 0x4bf9bc
push eax
call esi
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
push 6
lea eax, [edi + ecx*2 + 0xc]
push str.Active
push eax
mov dword [esp + 0x24], eax
call esi
add esp, 0xc
test eax, eax
jne 0x4314d1
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x4314f6
mov eax, dword [esp + 0x18]
push 5
push str.Exist
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x431786
test bl, bl
setne cl
add cl, 3
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x431385
mov dx, word [0x4e4a48]
xor esi, esi
jmp 0x431510
movzx eax, word [ecx]
test ax, ax
je 0x431543
jmp 0x431520
cmp ax, word [0x4e4a50]
je 0x431598
cmp ax, dx
je 0x431598
cmp ax, word [0x4e4a4c]
je 0x431598
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x431520
test esi, esi
je 0x431684
lea eax, [esi + 2]
call fcn.00413050
mov ebx, eax
xor edx, edx
mov word [esi], dx
mov eax, esi
mov esi, dword [esp + 0x10]
sub eax, esi
sar eax, 1
mov dword [esp + 0x24], ebx
call fcn.00426890
movzx edi, word [0x4e4a50]
mov ecx, ebx
movzx eax, word [ecx]
test ax, ax
je 0x43168c
cmp ax, di
je 0x4315e9
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x431582
jmp 0x43168c
movzx eax, word [ecx]
test ax, ax
je 0x431543
cmp ax, word [0x4e4a4c]
je 0x4315d1
cmp ax, dx
jne 0x4315bc
test esi, esi
jne 0x4315d1
mov esi, ecx
add ecx, 2
jmp 0x431510
add ecx, 2
cmp word [ecx], 0
je 0x431543
add ecx, 2
jmp 0x431510
mov ecx, dword [esp + 0x14]
push edi
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp word [ecx], 0
je 0x43168c
movzx eax, word [ecx + 2]
lea ebx, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x431609.99
movzx eax, byte [eax + 0x43239c]
jmp dword [eax*4 + 0x432378]
mov edx, 7
mov word [ebx], dx
jmp case.0x431609.99
mov eax, 8
jmp 0x431652
mov edx, 0xc
mov word [ebx], dx
jmp case.0x431609.99
mov eax, 0xa
jmp 0x431652
mov edx, 0xd
mov word [ebx], dx
jmp case.0x431609.99
mov eax, 9
jmp 0x431652
mov edx, 0xb
mov word [ebx], dx
jmp case.0x431609.99
mov eax, 0x20
mov word [ebx], ax
mov eax, ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x431660
sub eax, esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push ebx
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x431574
mov dword [esp + 0x24], 0x4bd2c4
movzx edi, word [0x4e4a50]
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx]
test ax, ax
je 0x4316b1
nop
cmp ax, di
je 0x4316ec
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4316a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.004134a0
add esp, 0xc
test eax, eax
jne 0x4311c2
mov ecx, dword [esp + 0x14]
push 0x4bd2c4
push 0x4bd2fc
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp word [ecx], 0
je 0x4316b1
movzx eax, word [ecx + 2]
lea ebx, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x431708.99
movzx eax, byte [eax + 0x4323d8]
jmp dword [eax*4 + 0x4323b4]
mov edx, 7
mov word [ebx], dx
jmp case.0x431708.99
mov eax, 8
jmp 0x431751
mov edx, 0xc
mov word [ebx], dx
jmp case.0x431708.99
mov eax, 0xa
jmp 0x431751
mov edx, 0xd
mov word [ebx], dx
jmp case.0x431708.99
mov eax, 9
jmp 0x431751
mov edx, 0xb
mov word [ebx], dx
jmp case.0x431708.99
mov eax, 0x20
mov word [ebx], ax
mov eax, ebx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x431760
sub eax, esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push ebx
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov ecx, ebx
jmp 0x431697
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, 0x4d5350
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431944
mov edi, dword [esp + 0x10]
test edi, edi
je 0x431936
mov eax, str.EndChars
mov ecx, edi
call fcn.0049e990
test eax, eax
je 0x4318cc
mov ebx, 0x4d5368
call fcn.00405590
test eax, eax
je 0x4311c2
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call dword [sym.imp.MSVCR100.dll_wcsncpy]
movzx edx, word [0x4e4a50]
mov ebx, dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
xor eax, eax
mov word [0x4e4b20], ax
mov dword [esp + 0x18], edx
mov ecx, str._____:____.___n__t
movzx eax, word [ecx]
test ax, ax
je 0x4311c2
mov edi, edi
cmp ax, dx
je 0x43183f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x431820
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp word [ecx], 0
je 0x4311c2
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x43185f.99
movzx edx, byte [eax + 0x432414]
jmp dword [edx*4 + 0x4323f0]
mov eax, 7
jmp 0x43189e
mov edx, 8
mov word [esi], dx
jmp case.0x43185f.99
mov eax, 0xc
jmp 0x43189e
mov edx, 0xa
mov word [esi], dx
jmp case.0x43185f.99
mov eax, 0xd
jmp 0x43189e
mov edx, 9
mov word [esi], dx
jmp case.0x43185f.99
mov eax, 0xb
mov word [esi], ax
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4318a6
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call ebx
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
jmp 0x431812
push 7
push str.NoMouse
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x4318f0
mov byte [0x4e4a4b], al
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4e86ed
push 0x4e86ec
push 0x4e86eb
push 0x4e4a4a
push 0x4e86e8
push 0x4e86ea
push 0x4e4a1f
push 0x4e4a1e
push 0x4e86e9
push 0x4e4a54
push 0x4e86e4
push 0x4e86e0
mov eax, edi
call fcn.00416b80
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.HotkeyModifierTimeout
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x43197c
cmp dword [esp + 0x10], eax
je 0x43196e
mov esi, dword [esp + 0x10]
call fcn.00417490
mov dword [0x4e4a20], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.HotkeyInterval
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4319c3
cmp dword [esp + 0x10], eax
je 0x4319b5
mov esi, dword [esp + 0x10]
call fcn.00417490
mov dword [0x4e4a40], eax
cmp eax, 0xa
jge 0x4319b5
mov dword [0x4e4a40], 0xa
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MaxHotkeysPerInterval
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431a0a
cmp dword [esp + 0x10], eax
je 0x4319fc
mov esi, dword [esp + 0x10]
call fcn.00417490
mov dword [0x4e4a3c], eax
cmp eax, 1
jge 0x4319fc
mov dword [0x4e4a3c], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MaxThreadsPerHotkey
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431a6b
cmp dword [esp + 0x10], eax
je 0x431a5d
mov esi, dword [esp + 0x10]
call fcn.00417490
cmp eax, 0xff
jle 0x431a4e
mov eax, 0xff
mov byte [0x4e445f], al
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jge 0x431a58
mov eax, 1
mov byte [0x4e445f], al
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MaxThreadsBuffer
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431ab5
cmp dword [esp + 0x10], eax
je 0x431aa0
mov esi, dword [esp + 0x10]
push eax
call fcn.004130f0
add esp, 4
mov byte [0x4e8052], 0
cmp eax, 2
je 0x431aa7
mov byte [0x4e8052], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MaxThreads
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431b16
cmp dword [esp + 0x10], eax
je 0x431b08
mov esi, dword [esp + 0x10]
call fcn.00417490
cmp eax, 0xff
jle 0x431af9
mov eax, 0xff
mov dword [0x4e4a38], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jge 0x431b03
mov eax, 1
mov dword [0x4e4a38], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.ClipboardTimeout
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431b4e
cmp dword [esp + 0x10], eax
je 0x431b40
mov esi, dword [esp + 0x10]
call fcn.00417490
mov dword [0x4e4a24], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.LTrim
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431b98
cmp dword [esp + 0x10], eax
je 0x431b83
mov esi, dword [esp + 0x10]
push eax
call fcn.004130f0
add esp, 4
mov byte [0x4e86ee], 0
cmp eax, 2
je 0x431b8a
mov byte [0x4e86ee], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.WinActivateForce
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431bc3
mov byte [0x4e8012], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.ErrorStdOut
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431bf2
mov eax, dword [esp + 0x14]
mov byte [eax + 0xaf7], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MaxMem
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431c79
cmp dword [esp + 0x10], eax
je 0x431c6b
mov esi, dword [esp + 0x10]
call fcn.00426960
fld qword [0x4de8b8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x431c33
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x431c37
fstp st(1)
jmp 0x431c39
fstp st(0)
fld qword [0x4de7b8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x18], eax
fmulp st(1)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [0x4e4a34], ecx
fldcw word [esp + 0x10]
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.KeyHistory
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431cde
cmp dword [esp + 0x10], eax
je 0x431cd0
mov esi, dword [esp + 0x10]
call fcn.00417490
mov dword [0x4e4a30], eax
test eax, eax
jns 0x431cbf
mov dword [0x4e4a30], 0
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1f4
jle 0x431cd0
mov dword [0x4e4a30], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.CommentFlag
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431dc9
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x431dbb
cmp word [ecx + 2], ax
jne 0x431d85
movzx eax, word [ecx]
cmp eax, 0x23
je 0x4320dd
cmp ax, word [0x4e4a4c]
je 0x4320dd
cmp ax, word [0x4e4a50]
je 0x4320dd
cmp ax, word [0x4e4a48]
je 0x4320dd
cmp eax, 0x21
je 0x4320dd
cmp eax, 0x5e
je 0x4320dd
cmp eax, 0x2b
je 0x4320dd
cmp eax, 0x24
je 0x4320dd
cmp eax, 0x7e
je 0x4320dd
cmp eax, 0x2a
je 0x4320dd
cmp eax, 0x3c
je 0x4320dd
cmp eax, 0x3e
je 0x4320dd
push 0xf
push ecx
push 0x4e4478
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
xor edx, edx
mov eax, 0x4e4478
mov word [0x4e4496], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431da7
sub eax, edx
sar eax, 1
mov dword [0x4e4498], eax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.EscapeChar
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431e44
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4311c2
movzx eax, word [eax]
cmp eax, 0x23
je 0x4320dd
cmp ax, word [0x4e4a4c]
je 0x4320dd
cmp ax, word [0x4e4a48]
je 0x4320dd
cmp eax, 0x2e
je 0x4320dd
cmp dword [0x4e4498], 1
jne 0x431e30
cmp ax, word [0x4e4478]
je 0x4320dd
mov word [0x4e4a50], ax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.DerefChar
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431eb6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4311c2
movzx eax, word [eax]
cmp ax, word [0x4e4a50]
je 0x4320dd
cmp ax, word [0x4e4a48]
je 0x4320dd
cmp eax, 0x2e
je 0x4320dd
cmp dword [0x4e4498], 1
jne 0x431ea2
cmp ax, word [0x4e4478]
je 0x4320dd
mov word [0x4e4a4c], ax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, 0x4d5534
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431f31
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4311c2
movzx eax, word [eax]
cmp eax, 0x23
je 0x4320dd
cmp ax, word [0x4e4a50]
je 0x4320dd
cmp ax, word [0x4e4a4c]
je 0x4320dd
cmp eax, 0x2e
je 0x4320dd
cmp dword [0x4e4498], 1
jne 0x431f1d
cmp ax, word [0x4e4478]
je 0x4320dd
mov word [0x4e4a48], ax
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.MenuMaskKey
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431fa6
mov esi, dword [esp + 0x10]
test esi, esi
je 0x431f8d
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4e4a1c
push 0x4e445d
xor ecx, ecx
mov edx, esi
call fcn.0041c630
add esp, 8
test al, al
jne 0x4311c2
mov ecx, dword [esp + 0x14]
mov eax, str.Parameter_1_invalid.
push edi
push eax
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x14]
mov eax, str.Parameter_1_required
push edi
push eax
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.InputLevel
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x432004
cmp dword [esp + 0x10], eax
je 0x431fef
mov esi, dword [esp + 0x10]
call fcn.00417490
test eax, eax
js 0x4320dd
cmp eax, 0x64
jg 0x4320dd
mov byte [0x4e8053], al
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov byte [0x4e8053], al
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.WarnContinuableException
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x432051
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43203c
push 0x4bf820
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
mov byte [0x4e445e], 0
test eax, eax
je 0x432043
mov byte [0x4e445e], 1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, str.Warn
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x4321a1
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x432078
mov esi, 0x4bd2c4
movzx eax, word [0x4e4a48]
push eax
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], 0x4bd2c4
test ebx, ebx
je 0x4320b4
lea eax, [ebx + 2]
call fcn.00413050
mov dword [esp + 0x10], eax
lea eax, [ebx - 2]
mov edx, esi
call fcn.00413070
xor ecx, ecx
mov word [eax + 2], cx
cmp word [esi], 0
mov ebx, 5
je 0x4320f5
xor ebx, ebx
mov edx, dword [ebx*4 + 0x4e6208]
push edx
push esi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4320f5
inc ebx
cmp ebx, 6
jne 0x4320c1
mov ecx, dword [esp + 0x14]
push edi
push str.Parameter_1_invalid.
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp word [eax], 0
mov edi, 2
je 0x432144
xor edi, edi
mov esi, eax
jmp 0x432110
mov ecx, dword [edi*4 + 0x4e6220]
push ecx
push esi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x432144
inc edi
cmp edi, 4
jne 0x432110
mov ecx, dword [esp + 0x14]
push esi
push str.Parameter_2_invalid.
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
je 0x43214d
cmp ebx, 5
jne 0x432153
mov dword [0x4e802c], edi
cmp ebx, 1
je 0x43215d
cmp ebx, 5
jne 0x432163
mov dword [0x4e8030], edi
cmp ebx, 3
je 0x43216d
cmp ebx, 5
jne 0x432173
mov dword [0x4e8034], edi
cmp ebx, 2
je 0x43217d
cmp ebx, 5
jne 0x432183
mov dword [0x4e8038], edi
cmp ebx, 4
je 0x43218d
cmp ebx, 5
jne 0x432193
mov dword [0x4e803c], edi
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push ebx
mov eax, 0x4d55c0
mov ecx, edi
call fcn.0049e660
add esp, 8
test eax, eax
jne 0x431786
mov ecx, dword [esp + 0x10]
push edi
call fcn.004a0e50
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test esi, esi
jne 0x4321ed
mov ecx, dword [esp + 0x14]
push edi
push str.Parameter_1_required
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp word [esi], 0x2a
jne 0x4322f0
movzx ebx, word [esi + 2]
test ebx, 0xffffff80
jne 0x432216
push 2
push ebx
call dword [sym.imp.MSVCR100.dll__isctype]
add esp, 8
test eax, eax
je 0x432216
and ebx, 0xffffffdf
cmp bx, 0x49
jne 0x4322f0
movzx eax, word [esi + 4]
add esi, 4
mov byte [esp + 0x24], 1
cmp eax, 0x20
je 0x432236
cmp eax, 9
jne 0x432239
add esi, 2
cmp word [esi], 0x3c
jne 0x4322fa
push 0x3e
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4322fa
cmp word [ebx + 2], 0
jne 0x4322fa
lea eax, [esp + 0x28]
push eax
xor edx, edx
push 0x103
add esi, 2
mov word [ebx], dx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x432287
xor ecx, ecx
mov word [esp + 0x28], cx
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
lea eax, [esp + 0x2b]
push eax
sub ecx, esi
sar ecx, 1
push ecx
push esi
push edx
call fcn.0043a160
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, byte [esp + 0x23]
test al, al
jne 0x4322cc
cmp byte [esp + 0x10], al
jne 0x4311c2
cmp byte [esp + 0x24], al
jne 0x4311c2
mov ecx, 0x3e
mov word [ebx], cx
test al, al
jne 0x432309
mov ecx, dword [esp + 0x14]
push edi
push str.Function_library_not_found.
call fcn.00449df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x24], 0
jmp 0x432239
push esi
lea edx, [esp + 0x14]
push edx
call fcn.00448e60
test eax, eax
jne 0x432314
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432347
test al, 0x10
je 0x432347
mov eax, edi
call fcn.0045b0d0
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0042e2b0
neg eax
sbb esi, esi
push edi
and esi, 3
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4