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

Disassembly:
sub esp, 0x54
push ebx
mov bx, word [0x4d5a38]
push ebp
mov ebp, dword [esp + 0x64]
push esi
xor edx, edx
push edi
mov dword [esp + 0x18], 0x90020
mov word [esp + 0x1c], bx
mov word [esp + 0x1e], dx
mov esi, ebp
test ebp, ebp
je 0x421ffd
movzx eax, word [ebp]
test ax, ax
je 0x421ffd
jmp 0x421fd0
movzx edx, ax
lea ecx, [esp + 0x18]
mov eax, 0x20
lea esp, [esp]
cmp dx, ax
je 0x422017
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x421fe0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x421fd0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422002
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2]
jmp 0x42205c
mov edi, esi
mov eax, esi
jmp 0x422020
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x42202d
cmp ecx, 9
jne 0x422032
add eax, 2
jmp 0x422020
movzx ecx, word [eax]
test cx, cx
je 0x42205c
cmp cx, bx
je 0x422043
mov esi, eax
jmp 0x42205e
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x422043
cmp ecx, 9
je 0x422043
cmp word [eax], 0
mov esi, eax
jne 0x42205e
xor esi, esi
sub edi, ebp
sar edi, 1
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
mov byte [esp + 0x74], 0
call fcn.0047ff40
add esp, 8
test eax, eax
je 0x42314a
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x6c], al
test al, al
jne 0x42314a
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x4220d3
mov dword [0x4d9874], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x4220ff
mov byte [0x4d9846], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42212b
mov byte [0x4d9845], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x4221d4
mov dword [0x4d9860], 1
test esi, esi
je 0x4221c5
push str.Force
push esi
call fcn.00499b19
add esp, 8
test eax, eax
jne 0x42217e
mov dword [0x4d9860], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push str.Ignore
push esi
call fcn.00499b19
add esp, 8
test eax, eax
jne 0x4221a9
mov dword [0x4d9860], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0x4b35d8
push esi
call fcn.00499b19
add esp, 8
test eax, eax
jne 0x4221c5
mov dword [0x4d9860], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422200
or byte [0x4d9f1f], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42222c
or byte [0x4d9f1f], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422271
test esi, esi
je 0x42225b
push eax
call fcn.0040ef40
add esp, 4
mov byte [0x4d9f0f], 0
cmp eax, 2
je 0x422262
mov byte [0x4d9f0f], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b1954
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422338
xor ebp, ebp
cmp esi, ebp
jne 0x4222a4
mov dword [0x4d9888], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov edi, esi
call fcn.0040f5f0
mov dword [0x4d9888], eax
cmp eax, ebp
jne 0x4220c4
mov eax, dword [0x4d5b14]
mov edi, dword [eax + 0xb4]
mov ebx, dword [esp + 0x68]
push ebp
push ebp
push ebp
push 0x4b0cf8
push ebp
push 0xe3
mov dword [eax + 0xb4], ebp
push esi
mov ecx, ebx
mov byte [ebx + 0x49], 1
call fcn.00423a20
test eax, eax
je 0x423277
mov eax, dword [0x4d5b14]
mov byte [ebx + 0x49], 0
mov dword [eax + 0xb4], edi
mov esi, dword [ebx + 4]
call fcn.0040f570
mov dword [0x4d9888], eax
cmp eax, ebp
je 0x423277
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], 0x4b0cf8
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42236b
test esi, esi
je 0x42235c
call fcn.00404060
mov dword [0x4d5a34], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 6
push str.IfWin
push ebp
call fcn.0049a29a
add esp, 0xc
test eax, eax
jne 0x42267a
push 3
lea eax, [ebp + 0xc]
push 0x4b3774
push eax
call fcn.0049a29a
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
push 6
lea edi, [ebp + ecx*2 + 0xc]
push str.Active
push edi
call fcn.0049a29a
add esp, 0xc
test eax, eax
jne 0x4223ca
test bl, bl
setne dl
inc dl
mov byte [esp + 0x14], dl
jmp 0x4223ed
push 5
push str.Exist
push edi
call fcn.0049a29a
add esp, 0xc
test eax, eax
jne 0x42266b
test bl, bl
setne al
add al, 3
mov byte [esp + 0x14], al
xor edi, edi
cmp esi, edi
jne 0x422406
mov dword [0x4d9888], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov dx, word [0x4d5a38]
mov bx, word [0x4d5a3c]
mov ecx, esi
movzx eax, word [ecx]
test ax, ax
je 0x42243f
mov edi, edi
cmp ax, word [0x4d5a40]
je 0x422496
cmp ax, dx
je 0x422496
cmp ax, bx
je 0x422496
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422420
test edi, edi
je 0x422576
lea eax, [edi + 2]
call fcn.00403fe0
mov ebx, eax
mov eax, edi
sub eax, esi
xor ecx, ecx
sar eax, 1
mov dword [esp + 0x6c], ebx
mov word [edi], cx
call fcn.0041a1e0
movzx ebp, word [0x4d5a40]
mov ecx, ebx
mov edi, edi
movzx eax, word [ecx]
test ax, ax
je 0x42257e
lea esp, [esp]
cmp ax, bp
je 0x4224e0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422480
jmp 0x42257e
movzx eax, word [ecx]
test ax, ax
je 0x42243f
cmp ax, bx
je 0x4224c7
cmp ax, dx
jne 0x4224b6
test edi, edi
jne 0x4224c7
mov edi, ecx
add ecx, 2
jmp 0x422416
add ecx, 2
cmp word [ecx], 0
je 0x42243f
add ecx, 2
jmp 0x422416
mov ecx, dword [esp + 0x68]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x42257e
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x422500.99
movzx edx, byte [eax + 0x42330c]
jmp dword [edx*4 + 0x4232e8]
mov eax, 7
mov word [edi], ax
jmp case.0x422500.99
mov edx, 8
jmp 0x422549
mov eax, 0xc
mov word [edi], ax
jmp case.0x422500.99
mov edx, 0xa
jmp 0x422549
mov eax, 0xd
mov word [edi], ax
jmp case.0x422500.99
mov edx, 9
jmp 0x422549
mov eax, 0xb
mov word [edi], ax
jmp case.0x422500.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 0x422551
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049ac00
add esp, 0xc
mov ecx, edi
jmp 0x422470
mov dword [esp + 0x6c], 0x4b0cf8
movzx ebp, word [0x4d5a40]
mov ecx, esi
movzx eax, word [ecx]
test ax, ax
je 0x4225a1
nop
cmp ax, bp
je 0x4225d9
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422590
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call fcn.0040f310
add esp, 0xc
test eax, eax
jne 0x4220c4
mov ecx, dword [esp + 0x68]
push 0x4b0cf8
push str.Out_of_memory.
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x4225a1
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4225f5.99
movzx edx, byte [eax + 0x423348]
jmp dword [edx*4 + 0x423324]
mov eax, 7
mov word [edi], ax
jmp case.0x4225f5.99
mov edx, 8
jmp 0x42263e
mov eax, 0xc
mov word [edi], ax
jmp case.0x4225f5.99
mov edx, 0xa
jmp 0x42263e
mov eax, 0xd
mov word [edi], ax
jmp case.0x4225f5.99
mov edx, 9
jmp 0x42263e
mov eax, 0xb
mov word [edi], ax
jmp case.0x4225f5.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 0x422646
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049ac00
add esp, 0xc
mov ecx, edi
jmp 0x422587
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6cb8
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422829
test esi, esi
je 0x42281a
mov eax, str.EndChars
mov ecx, esi
call fcn.00480250
test eax, eax
je 0x4227ac
mov ebx, 0x4b6cd0
call fcn.0040557a
test eax, eax
je 0x4220c4
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.0049cf44
movzx ebx, word [0x4d5a40]
add esp, 0xc
xor eax, eax
mov word [0x4d5b10], ax
mov ecx, str._____:____.___n__t
lea esp, [esp]
movzx eax, word [ecx]
test ax, ax
je 0x4220c4
lea esp, [esp]
cmp ax, bx
je 0x422720
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422700
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x4220c4
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x422740.99
movzx edx, byte [eax + 0x423384]
jmp dword [edx*4 + 0x423360]
mov eax, 7
jmp 0x42277f
mov edx, 8
mov word [esi], dx
jmp case.0x422740.99
mov eax, 0xc
jmp 0x42277f
mov edx, 0xa
mov word [esi], dx
jmp case.0x422740.99
mov eax, 0xd
jmp 0x42277f
mov edx, 9
mov word [esi], dx
jmp case.0x422740.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 0x422787
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0049ac00
add esp, 0xc
mov ecx, esi
jmp 0x4226f0
push 7
push str.NoMouse
push esi
call fcn.0049a29a
add esp, 0xc
test eax, eax
jne 0x4227d4
mov byte [0x4d5a3b], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0x4d9f0d
push 0x4d9f0c
push 0x4d9f0b
push 0x4d5a3a
push 0x4d9f08
push 0x4d9f0a
push 0x4d5a13
push 0x4d5a12
push 0x4d9f09
push 0x4d5a44
push 0x4d9f04
push 0x4d9f00
mov eax, esi
call fcn.00412af0
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42285c
test esi, esi
je 0x42284d
call fcn.00414240
mov dword [0x4d5a14], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42289e
test esi, esi
je 0x42288f
call fcn.00414240
mov dword [0x4d5a30], eax
cmp eax, 0xa
jge 0x42288f
mov dword [0x4d5a30], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x4228e0
test esi, esi
je 0x4228d1
call fcn.00414240
mov dword [0x4d5a2c], eax
cmp eax, 1
jge 0x4228d1
mov dword [0x4d5a2c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42293d
test esi, esi
je 0x42292e
call fcn.00414240
cmp eax, 0xff
jle 0x42291f
mov eax, 0xff
mov byte [0x4d54c3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 1
jge 0x422929
mov eax, 1
mov byte [0x4d54c3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422982
test esi, esi
je 0x42296c
push eax
call fcn.0040ef40
add esp, 4
mov byte [0x4d986a], 0
cmp eax, 2
je 0x422973
mov byte [0x4d986a], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x4229df
test esi, esi
je 0x4229d0
call fcn.00414240
cmp eax, 0xff
jle 0x4229c1
mov eax, 0xff
mov dword [0x4d5a28], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 1
jge 0x4229cb
mov eax, 1
mov dword [0x4d5a28], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422a12
test esi, esi
je 0x422a03
call fcn.00414240
mov dword [0x4d5a18], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422a57
test esi, esi
je 0x422a41
push eax
call fcn.0040ef40
add esp, 4
mov byte [0x4d9f0e], 0
cmp eax, 2
je 0x422a48
mov byte [0x4d9f0e], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422a83
mov byte [0x4d9844], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422ac0
mov edi, dword [esp + 0x68]
mov eax, esi
mov byte [edi + 0xae7], 1
call fcn.0041d250
mov dword [edi + 0xae8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422b41
test esi, esi
je 0x422b32
call fcn.0041a2b0
fld qword [0x4cee98]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x422afb
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x422aff
fstp st(1)
jmp 0x422b01
fstp st(0)
fld qword [0x4ceda8]
fnstcw word [esp + 0x68]
movzx eax, word [esp + 0x68]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x6c], eax
fmulp st(1)
fldcw word [esp + 0x6c]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [0x4d5a24], eax
fldcw word [esp + 0x68]
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422ba2
test esi, esi
je 0x422b93
call fcn.00414240
mov dword [0x4d5a20], eax
test eax, eax
jns 0x422b82
mov dword [0x4d5a20], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 0x1f4
jle 0x422b93
mov dword [0x4d5a20], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422c89
test esi, esi
je 0x422c7a
cmp word [esi + 2], ax
jne 0x422c45
movzx eax, word [esi]
cmp eax, 0x23
je 0x422f3b
cmp ax, word [0x4d5a3c]
je 0x422f3b
cmp ax, word [0x4d5a40]
je 0x422f3b
cmp ax, word [0x4d5a38]
je 0x422f3b
cmp eax, 0x21
je 0x422f3b
cmp eax, 0x5e
je 0x422f3b
cmp eax, 0x2b
je 0x422f3b
cmp eax, 0x24
je 0x422f3b
cmp eax, 0x7e
je 0x422f3b
cmp eax, 0x2a
je 0x422f3b
cmp eax, 0x3c
je 0x422f3b
cmp eax, 0x3e
je 0x422f3b
push 0xf
push esi
push 0x4d54d0
call fcn.0049cf44
add esp, 0xc
xor ecx, ecx
mov eax, 0x4d54d0
mov word [0x4d54ee], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422c66
sub eax, edx
sar eax, 1
mov dword [0x4d54c4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422d01
test esi, esi
je 0x4220c4
movzx eax, word [esi]
cmp eax, 0x23
je 0x422f3b
cmp ax, word [0x4d5a3c]
je 0x422f3b
cmp ax, word [0x4d5a38]
je 0x422f3b
cmp eax, 0x2e
je 0x422f3b
cmp dword [0x4d54c4], 1
jne 0x422cec
cmp ax, word [0x4d54d0]
je 0x422f3b
mov word [0x4d5a40], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422d70
test esi, esi
je 0x4220c4
movzx eax, word [esi]
cmp ax, word [0x4d5a40]
je 0x422f3b
cmp ax, word [0x4d5a38]
je 0x422f3b
cmp eax, 0x2e
je 0x422f3b
cmp dword [0x4d54c4], 1
jne 0x422d5b
cmp ax, word [0x4d54d0]
je 0x422f3b
mov word [0x4d5a3c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6e9c
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422de8
test esi, esi
je 0x4220c4
movzx eax, word [esi]
cmp eax, 0x23
je 0x422f3b
cmp ax, word [0x4d5a40]
je 0x422f3b
cmp ax, word [0x4d5a3c]
je 0x422f3b
cmp eax, 0x2e
je 0x422f3b
cmp dword [0x4d54c4], 1
jne 0x422dd3
cmp ax, word [0x4d54d0]
je 0x422f3b
mov word [0x4d5a38], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422e5b
test esi, esi
je 0x422e41
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4d54c1
xor ecx, ecx
mov edi, 0x4d5a10
mov edx, esi
call fcn.00419470
add esp, 4
test al, al
jne 0x4220c4
mov ecx, dword [esp + 0x68]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov ecx, dword [esp + 0x68]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x422eb5
test esi, esi
je 0x422e9f
call fcn.00414240
test eax, eax
js 0x422f3b
cmp eax, 0x64
jg 0x422f3b
mov byte [0x4d986b], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
xor eax, eax
mov byte [0x4d986b], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x423003
test esi, esi
jne 0x422ed8
mov esi, 0x4b0cf8
movzx edx, word [0x4d5a38]
push edx
push esi
call fcn.0049a7fe
mov edi, eax
add esp, 8
mov ebx, 0x4b0cf8
test edi, edi
je 0x422f0e
lea eax, [edi + 2]
call fcn.00403fe0
mov ebx, eax
lea eax, [edi - 2]
mov edx, esi
call fcn.0040eec0
xor ecx, ecx
mov word [eax + 2], cx
cmp word [esi], 0
mov edi, 6
je 0x422f54
xor edi, edi
jmp 0x422f20
mov edx, dword [edi*4 + 0x4b6ef4]
push edx
push esi
call fcn.00499b19
add esp, 8
test eax, eax
je 0x422f54
inc edi
cmp edi, 7
jne 0x422f20
mov ecx, dword [esp + 0x68]
push ebp
push str.Parameter_1_invalid.
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ebx], 0
mov esi, 2
je 0x422f95
xor esi, esi
mov eax, dword [esi*4 + 0x4b6f10]
push eax
push ebx
call fcn.00499b19
add esp, 8
test eax, eax
je 0x422f95
inc esi
cmp esi, 4
jne 0x422f61
mov ecx, dword [esp + 0x68]
push ebx
push str.Parameter_2_invalid.
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
test edi, edi
je 0x422f9e
cmp edi, 6
jne 0x422fa4
mov dword [0x4d9848], esi
cmp edi, 1
je 0x422fae
cmp edi, 6
jne 0x422fb4
mov dword [0x4d984c], esi
cmp edi, 3
je 0x422fbe
cmp edi, 6
jne 0x422fc4
mov dword [0x4d9850], esi
cmp edi, 2
je 0x422fce
cmp edi, 6
jne 0x422fd4
mov dword [0x4d9854], esi
cmp edi, 4
je 0x422fde
cmp edi, 6
jne 0x422fe4
mov dword [0x4d9858], esi
cmp edi, 5
je 0x422fee
cmp edi, 6
jne 0x422ff4
mov dword [0x4d985c], esi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6f20
mov ecx, ebp
call fcn.0047ff40
add esp, 8
test eax, eax
jne 0x42266b
test esi, esi
jne 0x42303e
mov ecx, dword [esp + 0x68]
push 0x4b0cf8
push str.Parameter_1_required
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xa
push 0x4afa70
push esi
call fcn.0049a29a
add esp, 0xc
test eax, eax
jne 0x423135
movzx eax, word [esi + 0x14]
test ax, ax
je 0x4220c4
cmp eax, 0x20
je 0x423071
cmp eax, 9
jne 0x423135
lea eax, [esi + 0x16]
call fcn.00403fe0
movzx ecx, word [eax]
test cx, cx
je 0x423126
mov edi, eax
test cx, cx
je 0x4230a8
movzx ecx, cx
nop
cmp cx, 0x20
je 0x4230a8
cmp cx, 9
je 0x4230a8
movzx ecx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x423090
mov ebp, edi
sub ebp, eax
sar ebp, 1
inc ebp
cmp ebp, 0x20
jbe 0x4230b9
mov ebp, 0x20
dec ebp
push ebp
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0049cf44
add esp, 0xc
lea ecx, [esp + 0x20]
xor eax, eax
push str.Unicode
push ecx
mov word [esp + ebp*2 + 0x28], ax
call fcn.00499b19
add esp, 8
test eax, eax
je 0x423113
lea edx, [esp + 0x20]
push str.32_bit
push edx
call fcn.00499b19
add esp, 8
test eax, eax
je 0x423113
push 0
lea eax, [esp + 0x24]
mov ecx, 0x4b6f54
call fcn.004828a0
add esp, 4
test eax, eax
je 0x423135
mov eax, edi
call fcn.00403fe0
movzx ecx, word [eax]
test cx, cx
jne 0x423085
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov ebx, dword [esp + 0x68]
mov ecx, esi
call fcn.004233a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
test esi, esi
jne 0x423167
mov ecx, dword [esp + 0x68]
push ebp
push str.Parameter_1_required
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [esi], 0x2a
jne 0x42325e
movzx edi, word [esi + 2]
test edi, 0xffffff80
jne 0x42318f
push 2
push edi
call fcn.0049b7fc
add esp, 8
test eax, eax
je 0x42318f
and edi, 0xffffffdf
cmp di, 0x49
jne 0x42325e
movzx eax, word [esi + 4]
cmp eax, 0x20
je 0x4231ab
cmp eax, 9
jne 0x42325e
mov byte [esp + 0x14], 1
add esi, 6
cmp word [esi], 0x3c
jne 0x423268
push 0x3e
push esi
call fcn.0049a7fe
mov edi, eax
add esp, 8
test edi, edi
je 0x423268
cmp word [edi + 2], 0
jne 0x423268
xor eax, eax
add esi, 2
mov word [edi], ax
call fcn.0044b840
mov ebx, eax
push 0
lea ecx, [esp + 0x17]
push ecx
mov eax, edi
sub eax, esi
lea edx, [esp + 0x74]
push edx
sar eax, 1
push eax
push esi
mov esi, dword [esp + 0x7c]
mov ecx, esi
call fcn.0042b1f0
test ebx, ebx
je 0x42321f
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.0049a07d
add esp, 4
mov al, byte [esp + 0x6c]
test al, al
jne 0x42323b
cmp byte [esp + 0x13], al
jne 0x4220c4
cmp byte [esp + 0x14], al
jne 0x4220c4
mov ecx, 0x3e
mov word [edi], cx
test al, al
jne 0x423277
push ebp
push str.Function_library_not_found.
mov ecx, esi
call fcn.0043a310
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov byte [esp + 0x14], 0
jmp 0x4231b3
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00439180
test eax, eax
jne 0x423283
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4232b6
test al, 0x10
je 0x4232b6
mov eax, edi
call fcn.0044b720
push edi
call fcn.0049a07d
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esp + 0x70]
push edi
call fcn.0041f680
neg eax
sbb esi, esi
push edi
and esi, 3
call fcn.0049a07d
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8