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

Disassembly:
sub esp, 0x54
push ebx
mov bx, word [0x4d6a38]
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 0x4221bd
movzx eax, word [ebp]
test ax, ax
je 0x4221bd
jmp 0x422190
movzx edx, ax
lea ecx, [esp + 0x18]
mov eax, 0x20
lea esp, [esp]
cmp dx, ax
je 0x4221d7
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4221a0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x422190
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4221c2
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2]
jmp 0x42221c
mov edi, esi
mov eax, esi
jmp 0x4221e0
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4221ed
cmp ecx, 9
jne 0x4221f2
add eax, 2
jmp 0x4221e0
movzx ecx, word [eax]
test cx, cx
je 0x42221c
cmp cx, bx
je 0x422203
mov esi, eax
jmp 0x42221e
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x422203
cmp ecx, 9
je 0x422203
cmp word [eax], 0
mov esi, eax
jne 0x42221e
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.00480110
add esp, 8
test eax, eax
je 0x42330a
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x6c], al
test al, al
jne 0x42330a
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
jne 0x422293
mov dword [0x4da878], 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.00480110
add esp, 8
test eax, eax
jne 0x4222bf
mov byte [0x4da84b], 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.00480110
add esp, 8
test eax, eax
jne 0x4222eb
mov byte [0x4da84a], 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.00480110
add esp, 8
test eax, eax
jne 0x422394
mov dword [0x4da864], 1
test esi, esi
je 0x422385
push str.Force
push esi
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x42233e
mov dword [0x4da864], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push str.Ignore
push esi
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x422369
mov dword [0x4da864], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0x4b45e8
push esi
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x422385
mov dword [0x4da864], 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.00480110
add esp, 8
test eax, eax
jne 0x4223c0
or byte [0x4daf54], 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.00480110
add esp, 8
test eax, eax
jne 0x4223ec
or byte [0x4daf54], 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.00480110
add esp, 8
test eax, eax
jne 0x422431
test esi, esi
je 0x42241b
push eax
call fcn.0040f000
add esp, 4
mov byte [0x4daf20], 0
cmp eax, 2
je 0x422422
mov byte [0x4daf20], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b2964
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
jne 0x4224f8
xor ebp, ebp
cmp esi, ebp
jne 0x422464
mov dword [0x4da890], ebp
lea eax, [ebp + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov edi, esi
call fcn.0040f6b0
mov dword [0x4da890], eax
cmp eax, ebp
jne 0x422284
mov eax, dword [0x4d6b14]
mov edi, dword [eax + 0xb4]
mov ebx, dword [esp + 0x68]
push ebp
push ebp
push ebp
push 0x4b09ac
push ebp
push 0xe3
mov dword [eax + 0xb4], ebp
push esi
mov ecx, ebx
mov byte [ebx + 0x49], 1
call fcn.00423be0
test eax, eax
je 0x423437
mov eax, dword [0x4d6b14]
mov byte [ebx + 0x49], 0
mov dword [eax + 0xb4], edi
mov esi, dword [ebx + 4]
call fcn.0040f630
mov dword [0x4da890], eax
cmp eax, ebp
je 0x423437
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], 0x4b09ac
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.00480110
add esp, 8
test eax, eax
jne 0x42252b
test esi, esi
je 0x42251c
call fcn.00404090
mov dword [0x4d6a34], 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.0049a46a
add esp, 0xc
test eax, eax
jne 0x42283a
push 3
lea eax, [ebp + 0xc]
push 0x4b4784
push eax
call fcn.0049a46a
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.0049a46a
add esp, 0xc
test eax, eax
jne 0x42258a
test bl, bl
setne dl
inc dl
mov byte [esp + 0x14], dl
jmp 0x4225ad
push 5
push str.Exist
push edi
call fcn.0049a46a
add esp, 0xc
test eax, eax
jne 0x42282b
test bl, bl
setne al
add al, 3
mov byte [esp + 0x14], al
xor edi, edi
cmp esi, edi
jne 0x4225c6
mov dword [0x4da890], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov dx, word [0x4d6a38]
mov bx, word [0x4d6a3c]
mov ecx, esi
movzx eax, word [ecx]
test ax, ax
je 0x4225ff
mov edi, edi
cmp ax, word [0x4d6a40]
je 0x422656
cmp ax, dx
je 0x422656
cmp ax, bx
je 0x422656
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4225e0
test edi, edi
je 0x422736
lea eax, [edi + 2]
call fcn.00404010
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.0041a340
movzx ebp, word [0x4d6a40]
mov ecx, ebx
mov edi, edi
movzx eax, word [ecx]
test ax, ax
je 0x42273e
lea esp, [esp]
cmp ax, bp
je 0x4226a0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422640
jmp 0x42273e
movzx eax, word [ecx]
test ax, ax
je 0x4225ff
cmp ax, bx
je 0x422687
cmp ax, dx
jne 0x422676
test edi, edi
jne 0x422687
mov edi, ecx
add ecx, 2
jmp 0x4225d6
add ecx, 2
cmp word [ecx], 0
je 0x4225ff
add ecx, 2
jmp 0x4225d6
mov ecx, dword [esp + 0x68]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x42273e
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4226c0.99
movzx edx, byte [eax + 0x4234cc]
jmp dword [edx*4 + 0x4234a8]
mov eax, 7
mov word [edi], ax
jmp case.0x4226c0.99
mov edx, 8
jmp 0x422709
mov eax, 0xc
mov word [edi], ax
jmp case.0x4226c0.99
mov edx, 0xa
jmp 0x422709
mov eax, 0xd
mov word [edi], ax
jmp case.0x4226c0.99
mov edx, 9
jmp 0x422709
mov eax, 0xb
mov word [edi], ax
jmp case.0x4226c0.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 0x422711
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049add0
add esp, 0xc
mov ecx, edi
jmp 0x422630
mov dword [esp + 0x6c], 0x4b09ac
movzx ebp, word [0x4d6a40]
mov ecx, esi
movzx eax, word [ecx]
test ax, ax
je 0x422761
nop
cmp ax, bp
je 0x422799
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422750
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call fcn.0040f3d0
add esp, 0xc
test eax, eax
jne 0x422284
mov ecx, dword [esp + 0x68]
push 0x4b09ac
push str.Out_of_memory.
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x422761
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4227b5.99
movzx edx, byte [eax + 0x423508]
jmp dword [edx*4 + 0x4234e4]
mov eax, 7
mov word [edi], ax
jmp case.0x4227b5.99
mov edx, 8
jmp 0x4227fe
mov eax, 0xc
mov word [edi], ax
jmp case.0x4227b5.99
mov edx, 0xa
jmp 0x4227fe
mov eax, 0xd
mov word [edi], ax
jmp case.0x4227b5.99
mov edx, 9
jmp 0x4227fe
mov eax, 0xb
mov word [edi], ax
jmp case.0x4227b5.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 0x422806
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049add0
add esp, 0xc
mov ecx, edi
jmp 0x422747
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b7ce0
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
jne 0x4229e9
test esi, esi
je 0x4229da
mov eax, str.EndChars
mov ecx, esi
call fcn.00480420
test eax, eax
je 0x42296c
mov ebx, 0x4b7cf8
call fcn.004055aa
test eax, eax
je 0x422284
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.0049d114
movzx ebx, word [0x4d6a40]
add esp, 0xc
xor eax, eax
mov word [0x4d6b10], ax
mov ecx, str._____:____.___n__t
lea esp, [esp]
movzx eax, word [ecx]
test ax, ax
je 0x422284
lea esp, [esp]
cmp ax, bx
je 0x4228e0
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4228c0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ecx], 0
je 0x422284
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x422900.99
movzx edx, byte [eax + 0x423544]
jmp dword [edx*4 + 0x423520]
mov eax, 7
jmp 0x42293f
mov edx, 8
mov word [esi], dx
jmp case.0x422900.99
mov eax, 0xc
jmp 0x42293f
mov edx, 0xa
mov word [esi], dx
jmp case.0x422900.99
mov eax, 0xd
jmp 0x42293f
mov edx, 9
mov word [esi], dx
jmp case.0x422900.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 0x422947
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0049add0
add esp, 0xc
mov ecx, esi
jmp 0x4228b0
push 7
push str.NoMouse
push esi
call fcn.0049a46a
add esp, 0xc
test eax, eax
jne 0x422994
mov byte [0x4d6a3b], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0x4daf12
push 0x4daf11
push 0x4daf10
push 0x4d6a3a
push 0x4da88d
push 0x4da88f
push 0x4d6a13
push 0x4d6a12
push 0x4da88e
push 0x4d6a44
push 0x4daf0c
push 0x4daf08
mov eax, esi
call fcn.00412bb0
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.00480110
add esp, 8
test eax, eax
jne 0x422a1c
test esi, esi
je 0x422a0d
call fcn.00414300
mov dword [0x4d6a14], 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.00480110
add esp, 8
test eax, eax
jne 0x422a5e
test esi, esi
je 0x422a4f
call fcn.00414300
mov dword [0x4d6a30], eax
cmp eax, 0xa
jge 0x422a4f
mov dword [0x4d6a30], 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.00480110
add esp, 8
test eax, eax
jne 0x422aa0
test esi, esi
je 0x422a91
call fcn.00414300
mov dword [0x4d6a2c], eax
cmp eax, 1
jge 0x422a91
mov dword [0x4d6a2c], 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.00480110
add esp, 8
test eax, eax
jne 0x422afd
test esi, esi
je 0x422aee
call fcn.00414300
cmp eax, 0xff
jle 0x422adf
mov eax, 0xff
mov byte [0x4d64c3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 1
jge 0x422ae9
mov eax, 1
mov byte [0x4d64c3], 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.00480110
add esp, 8
test eax, eax
jne 0x422b42
test esi, esi
je 0x422b2c
push eax
call fcn.0040f000
add esp, 4
mov byte [0x4da86f], 0
cmp eax, 2
je 0x422b33
mov byte [0x4da86f], 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.00480110
add esp, 8
test eax, eax
jne 0x422b9f
test esi, esi
je 0x422b90
call fcn.00414300
cmp eax, 0xff
jle 0x422b81
mov eax, 0xff
mov dword [0x4d6a28], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 1
jge 0x422b8b
mov eax, 1
mov dword [0x4d6a28], 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.00480110
add esp, 8
test eax, eax
jne 0x422bd2
test esi, esi
je 0x422bc3
call fcn.00414300
mov dword [0x4d6a18], 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.00480110
add esp, 8
test eax, eax
jne 0x422c17
test esi, esi
je 0x422c01
push eax
call fcn.0040f000
add esp, 4
mov byte [0x4daf13], 0
cmp eax, 2
je 0x422c08
mov byte [0x4daf13], 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.00480110
add esp, 8
test eax, eax
jne 0x422c43
mov byte [0x4da849], 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.00480110
add esp, 8
test eax, eax
jne 0x422c80
mov edi, dword [esp + 0x68]
mov eax, esi
mov byte [edi + 0xae7], 1
call fcn.0041d3b0
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.00480110
add esp, 8
test eax, eax
jne 0x422d01
test esi, esi
je 0x422cf2
call fcn.0041a410
fld qword [0x4cfeb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x422cbb
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x422cbf
fstp st(1)
jmp 0x422cc1
fstp st(0)
fld qword [0x4cfdc0]
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 [0x4d6a24], 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.00480110
add esp, 8
test eax, eax
jne 0x422d62
test esi, esi
je 0x422d53
call fcn.00414300
mov dword [0x4d6a20], eax
test eax, eax
jns 0x422d42
mov dword [0x4d6a20], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp eax, 0x1f4
jle 0x422d53
mov dword [0x4d6a20], 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.00480110
add esp, 8
test eax, eax
jne 0x422e49
test esi, esi
je 0x422e3a
cmp word [esi + 2], ax
jne 0x422e05
movzx eax, word [esi]
cmp eax, 0x23
je 0x4230fb
cmp ax, word [0x4d6a3c]
je 0x4230fb
cmp ax, word [0x4d6a40]
je 0x4230fb
cmp ax, word [0x4d6a38]
je 0x4230fb
cmp eax, 0x21
je 0x4230fb
cmp eax, 0x5e
je 0x4230fb
cmp eax, 0x2b
je 0x4230fb
cmp eax, 0x24
je 0x4230fb
cmp eax, 0x7e
je 0x4230fb
cmp eax, 0x2a
je 0x4230fb
cmp eax, 0x3c
je 0x4230fb
cmp eax, 0x3e
je 0x4230fb
push 0xf
push esi
push 0x4d64d0
call fcn.0049d114
add esp, 0xc
xor ecx, ecx
mov eax, 0x4d64d0
mov word [0x4d64ee], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422e26
sub eax, edx
sar eax, 1
mov dword [0x4d64c4], 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.00480110
add esp, 8
test eax, eax
jne 0x422ec1
test esi, esi
je 0x422284
movzx eax, word [esi]
cmp eax, 0x23
je 0x4230fb
cmp ax, word [0x4d6a3c]
je 0x4230fb
cmp ax, word [0x4d6a38]
je 0x4230fb
cmp eax, 0x2e
je 0x4230fb
cmp dword [0x4d64c4], 1
jne 0x422eac
cmp ax, word [0x4d64d0]
je 0x4230fb
mov word [0x4d6a40], 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.00480110
add esp, 8
test eax, eax
jne 0x422f30
test esi, esi
je 0x422284
movzx eax, word [esi]
cmp ax, word [0x4d6a40]
je 0x4230fb
cmp ax, word [0x4d6a38]
je 0x4230fb
cmp eax, 0x2e
je 0x4230fb
cmp dword [0x4d64c4], 1
jne 0x422f1b
cmp ax, word [0x4d64d0]
je 0x4230fb
mov word [0x4d6a3c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b7ec4
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
jne 0x422fa8
test esi, esi
je 0x422284
movzx eax, word [esi]
cmp eax, 0x23
je 0x4230fb
cmp ax, word [0x4d6a40]
je 0x4230fb
cmp ax, word [0x4d6a3c]
je 0x4230fb
cmp eax, 0x2e
je 0x4230fb
cmp dword [0x4d64c4], 1
jne 0x422f93
cmp ax, word [0x4d64d0]
je 0x4230fb
mov word [0x4d6a38], 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.00480110
add esp, 8
test eax, eax
jne 0x42301b
test esi, esi
je 0x423001
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4d64c1
xor ecx, ecx
mov edi, 0x4d6a10
mov edx, esi
call fcn.004195d0
add esp, 4
test al, al
jne 0x422284
mov ecx, dword [esp + 0x68]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0043a4e0
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.0043a4e0
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.00480110
add esp, 8
test eax, eax
jne 0x423075
test esi, esi
je 0x42305f
call fcn.00414300
test eax, eax
js 0x4230fb
cmp eax, 0x64
jg 0x4230fb
mov byte [0x4da88c], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
xor eax, eax
mov byte [0x4da88c], 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.00480110
add esp, 8
test eax, eax
jne 0x4231c3
test esi, esi
jne 0x423098
mov esi, 0x4b09ac
movzx edx, word [0x4d6a38]
push edx
push esi
call fcn.0049a9ce
mov edi, eax
add esp, 8
mov ebx, 0x4b09ac
test edi, edi
je 0x4230ce
lea eax, [edi + 2]
call fcn.00404010
mov ebx, eax
lea eax, [edi - 2]
mov edx, esi
call fcn.0040ef80
xor ecx, ecx
mov word [eax + 2], cx
cmp word [esi], 0
mov edi, 6
je 0x423114
xor edi, edi
jmp 0x4230e0
mov edx, dword [edi*4 + 0x4b7f1c]
push edx
push esi
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x423114
inc edi
cmp edi, 7
jne 0x4230e0
mov ecx, dword [esp + 0x68]
push ebp
push str.Parameter_1_invalid.
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [ebx], 0
mov esi, 2
je 0x423155
xor esi, esi
mov eax, dword [esi*4 + 0x4b7f38]
push eax
push ebx
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x423155
inc esi
cmp esi, 4
jne 0x423121
mov ecx, dword [esp + 0x68]
push ebx
push str.Parameter_2_invalid.
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
test edi, edi
je 0x42315e
cmp edi, 6
jne 0x423164
mov dword [0x4da84c], esi
cmp edi, 1
je 0x42316e
cmp edi, 6
jne 0x423174
mov dword [0x4da850], esi
cmp edi, 3
je 0x42317e
cmp edi, 6
jne 0x423184
mov dword [0x4da854], esi
cmp edi, 2
je 0x42318e
cmp edi, 6
jne 0x423194
mov dword [0x4da858], esi
cmp edi, 4
je 0x42319e
cmp edi, 6
jne 0x4231a4
mov dword [0x4da85c], esi
cmp edi, 5
je 0x4231ae
cmp edi, 6
jne 0x4231b4
mov dword [0x4da860], esi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b7f48
mov ecx, ebp
call fcn.00480110
add esp, 8
test eax, eax
jne 0x42282b
test esi, esi
jne 0x4231fe
mov ecx, dword [esp + 0x68]
push 0x4b09ac
push str.Parameter_1_required
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
push 0xa
push 0x4b0a84
push esi
call fcn.0049a46a
add esp, 0xc
test eax, eax
jne 0x4232f5
movzx eax, word [esi + 0x14]
test ax, ax
je 0x422284
cmp eax, 0x20
je 0x423231
cmp eax, 9
jne 0x4232f5
lea eax, [esi + 0x16]
call fcn.00404010
movzx ecx, word [eax]
test cx, cx
je 0x4232e6
mov edi, eax
test cx, cx
je 0x423268
movzx ecx, cx
nop
cmp cx, 0x20
je 0x423268
cmp cx, 9
je 0x423268
movzx ecx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x423250
mov ebp, edi
sub ebp, eax
sar ebp, 1
inc ebp
cmp ebp, 0x20
jbe 0x423279
mov ebp, 0x20
dec ebp
push ebp
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0049d114
add esp, 0xc
lea ecx, [esp + 0x20]
xor eax, eax
push str.Unicode
push ecx
mov word [esp + ebp*2 + 0x28], ax
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x4232d3
lea edx, [esp + 0x20]
push str.32_bit
push edx
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x4232d3
push 0
lea eax, [esp + 0x24]
mov ecx, str.1.1.37.02
call fcn.00482a70
add esp, 4
test eax, eax
je 0x4232f5
mov eax, edi
call fcn.00404010
movzx ecx, word [eax]
test cx, cx
jne 0x423245
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.00423560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
test esi, esi
jne 0x423327
mov ecx, dword [esp + 0x68]
push ebp
push str.Parameter_1_required
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
cmp word [esi], 0x2a
jne 0x42341e
movzx edi, word [esi + 2]
test edi, 0xffffff80
jne 0x42334f
push 2
push edi
call fcn.0049b9cc
add esp, 8
test eax, eax
je 0x42334f
and edi, 0xffffffdf
cmp di, 0x49
jne 0x42341e
movzx eax, word [esi + 4]
cmp eax, 0x20
je 0x42336b
cmp eax, 9
jne 0x42341e
mov byte [esp + 0x14], 1
add esi, 6
cmp word [esi], 0x3c
jne 0x423428
push 0x3e
push esi
call fcn.0049a9ce
mov edi, eax
add esp, 8
test edi, edi
je 0x423428
cmp word [edi + 2], 0
jne 0x423428
xor eax, eax
add esi, 2
mov word [edi], ax
call fcn.0044ba10
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.0042b3b0
test ebx, ebx
je 0x4233df
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.0049a24d
add esp, 4
mov al, byte [esp + 0x6c]
test al, al
jne 0x4233fb
cmp byte [esp + 0x13], al
jne 0x422284
cmp byte [esp + 0x14], al
jne 0x422284
mov ecx, 0x3e
mov word [edi], cx
test al, al
jne 0x423437
push ebp
push str.Function_library_not_found.
mov ecx, esi
call fcn.0043a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov byte [esp + 0x14], 0
jmp 0x423373
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00439350
test eax, eax
jne 0x423443
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 0x423476
test al, 0x10
je 0x423476
mov eax, edi
call fcn.0044b8f0
push edi
call fcn.0049a24d
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.0041f840
neg eax
sbb esi, esi
push edi
and esi, 3
call fcn.0049a24d
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8