Function at 0x421e40
Capabilities:
Check if file exists
Enumerate pe sections
Get file attributes
Get keyboard layout
Set current directory

Disassembly:
sub esp, 0xe4
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
push esi
push edi
mov di, word [0x4d4a28]
xor edx, edx
mov dword [esp + 0x18], 0x90020
mov word [esp + 0x1c], di
mov word [esp + 0x1e], dx
mov esi, ebp
test ebp, ebp
je 0x421ead
movzx eax, word [ebp]
test ax, ax
je 0x421ead
jmp 0x421e80
movzx edx, ax
lea ecx, [esp + 0x18]
mov eax, 0x20
lea esp, [esp]
cmp dx, ax
je 0x421ec7
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x421e90
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x421e80
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421eb2
sub eax, edx
sar eax, 1
lea esi, [ebp + eax*2]
jmp 0x421f10
mov eax, esi
lea esp, [esp]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x421edd
cmp ecx, 9
jne 0x421ee2
add eax, 2
jmp 0x421ed0
movzx ecx, word [eax]
test cx, cx
je 0x421f10
cmp cx, di
je 0x421ef3
mov ebx, eax
jmp 0x421f12
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x421ef3
cmp ecx, 9
je 0x421ef3
cmp word [eax], 0
mov ebx, eax
mov dword [esp + 0x14], ebx
jne 0x421f16
xor ebx, ebx
mov dword [esp + 0x14], ebx
sub esi, ebp
sar esi, 1
mov edi, esi
push 0xffffffffffffffff
push edi
mov eax, str.Include
mov ecx, ebp
mov byte [esp + 0x20], 0
call fcn.0047f520
add esp, 8
test eax, eax
je 0x42308e
push 0xffffffffffffffff
push edi
mov eax, str.IncludeAgain
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x18], al
test al, al
jne 0x42308e
push 0xffffffffffffffff
push edi
mov eax, str.NoEnv
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x421f90
mov dword [0x4d880c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.NoTrayIcon
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x421fbf
mov byte [0x4d87de], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.Persistent
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x421fee
mov byte [0x4d87dd], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.SingleInstance
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4220a0
mov dword [0x4d87f8], 1
test ebx, ebx
je 0x42208e
push str.Force
push ebx
call fcn.00498fc9
add esp, 8
test eax, eax
jne 0x422044
mov dword [0x4d87f8], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push str.Ignore
push ebx
call fcn.00498fc9
add esp, 8
test eax, eax
jne 0x422072
mov dword [0x4d87f8], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0x4b3570
push ebx
call fcn.00498fc9
add esp, 8
test eax, eax
jne 0x42208e
mov dword [0x4d87f8], 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallKeybdHook
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4220cf
or byte [0x4d8eb7], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InstallMouseHook
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4220fe
or byte [0x4d8eb7], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.UseHook
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422148
test ebx, ebx
je 0x42212f
push eax
mov esi, ebx
call fcn.0040eda0
add esp, 4
mov byte [0x4d8ea7], 0
cmp eax, 2
je 0x422136
mov byte [0x4d8ea7], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b18ec
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x42221e
test ebx, ebx
jne 0x42217c
mov dword [0x4d8820], ebx
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov edi, ebx
call fcn.0040f460
mov dword [0x4d8820], eax
test eax, eax
jne 0x421f7e
mov eax, dword [0x4d4b04]
mov esi, dword [eax + 0xb4]
mov edi, dword [esp + 0xf8]
push 0
push 0
push 0
push 0x4af9bc
push 0
push 0xe3
mov dword [eax + 0xb4], 0
push ebx
mov ecx, edi
mov byte [edi + 0x49], 1
call fcn.00423920
test eax, eax
je 0x4231ca
mov eax, dword [0x4d4b04]
mov byte [edi + 0x49], 0
mov dword [eax + 0xb4], esi
mov esi, dword [edi + 4]
call fcn.0040f3e0
mov dword [0x4d8820], eax
test eax, eax
je 0x4231ca
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], 0x4af9bc
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.IfTimeout
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422256
test ebx, ebx
je 0x422244
mov esi, ebx
call fcn.00404040
mov dword [0x4d4a24], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 6
push str.IfWin
push ebp
call fcn.0049974a
add esp, 0xc
test eax, eax
jne 0x42258b
push 3
lea eax, [ebp + 0xc]
push 0x4b370c
push eax
call fcn.0049974a
add esp, 0xc
test eax, eax
sete bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 3
push 6
lea esi, [ebp + ecx*2 + 0xc]
push str.Active
push esi
call fcn.0049974a
add esp, 0xc
test eax, eax
jne 0x4222b5
test bl, bl
setne dl
inc dl
mov byte [esp + 0x18], dl
jmp 0x4222d8
push 5
push str.Exist
push esi
call fcn.0049974a
add esp, 0xc
test eax, eax
jne 0x422579
test bl, bl
setne al
add al, 3
mov byte [esp + 0x18], al
mov ebx, dword [esp + 0x14]
xor edi, edi
cmp ebx, edi
jne 0x4222f8
mov dword [0x4d8820], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov dx, word [0x4d4a28]
mov si, word [0x4d4a2c]
mov ecx, ebx
movzx eax, word [ecx]
test ax, ax
je 0x42232f
cmp ax, word [0x4d4a30]
je 0x422386
cmp ax, dx
je 0x422386
cmp ax, si
je 0x422386
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422310
test edi, edi
je 0x422470
lea eax, [edi + 2]
call fcn.0040ed00
mov dword [esp + 0x20], eax
mov eax, edi
sub eax, ebx
xor ecx, ecx
sar eax, 1
mov esi, ebx
mov word [edi], cx
call fcn.0041a150
movzx ebp, word [0x4d4a30]
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
test ax, ax
je 0x422478
lea esp, [esp]
cmp ax, bp
je 0x4223d6
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422370
jmp 0x422478
movzx eax, word [ecx]
test ax, ax
je 0x42232f
cmp ax, si
je 0x4223b7
cmp ax, dx
jne 0x4223a6
test edi, edi
jne 0x4223b7
mov edi, ecx
add ecx, 2
jmp 0x422308
add ecx, 2
cmp word [ecx], 0
je 0x42232f
add ecx, 2
jmp 0x422308
mov ecx, dword [esp + 0xf8]
push ebp
push str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp word [ecx], 0
je 0x422478
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4223f6.99
movzx edx, byte [eax + 0x42326c]
jmp dword [edx*4 + 0x423248]
mov eax, 7
mov word [edi], ax
jmp case.0x4223f6.99
mov edx, 8
jmp 0x42243f
mov eax, 0xc
mov word [edi], ax
jmp case.0x4223f6.99
mov edx, 0xa
jmp 0x42243f
mov eax, 0xd
mov word [edi], ax
jmp case.0x4223f6.99
mov edx, 9
jmp 0x42243f
mov eax, 0xb
mov word [edi], ax
jmp case.0x4223f6.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422447
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049a360
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov ecx, edi
jmp 0x422360
mov dword [esp + 0x20], 0x4af9bc
movzx ebp, word [0x4d4a30]
mov ecx, ebx
movzx eax, word [ecx]
test ax, ax
je 0x4224a1
lea esp, [esp]
cmp ax, bp
je 0x4224df
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422490
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push edx
call fcn.0040f180
add esp, 0xc
test eax, eax
jne 0x421f7e
mov ecx, dword [esp + 0xf8]
push 0x4af9bc
push str.Out_of_memory.
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp word [ecx], 0
je 0x4224a1
movzx eax, word [ecx + 2]
lea edi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4224fb.99
movzx edx, byte [eax + 0x4232a8]
jmp dword [edx*4 + 0x423284]
mov eax, 7
mov word [edi], ax
jmp case.0x4224fb.99
mov edx, 8
jmp 0x422544
mov eax, 0xc
mov word [edi], ax
jmp case.0x4224fb.99
mov edx, 0xa
jmp 0x422544
mov eax, 0xd
mov word [edi], ax
jmp case.0x4224fb.99
mov edx, 9
jmp 0x422544
mov eax, 0xb
mov word [edi], ax
jmp case.0x4224fb.99
mov edx, 0x20
mov word [edi], dx
mov eax, edi
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422550
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push ecx
call fcn.0049a360
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov ecx, edi
jmp 0x422481
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6c18
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422748
test ebx, ebx
je 0x422736
mov eax, str.EndChars
mov ecx, ebx
call fcn.0047f830
test eax, eax
je 0x4226c5
mov ebx, 0x4b6c30
call fcn.004054be
test eax, eax
je 0x421f7e
push 0x64
add eax, 2
push eax
push str._____:____.___n__t
call fcn.0049c6a4
movzx ebx, word [0x4d4a30]
add esp, 0xc
xor eax, eax
mov word [0x4d4b00], ax
mov ecx, str._____:____.___n__t
lea ebx, [ebx]
movzx eax, word [ecx]
test ax, ax
je 0x421f7e
lea esp, [esp]
cmp ax, bx
je 0x422633
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x422610
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp word [ecx], 0
je 0x421f7e
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x422653.99
movzx edx, byte [eax + 0x4232e4]
jmp dword [edx*4 + 0x4232c0]
mov eax, 7
jmp 0x422692
mov edx, 8
mov word [esi], dx
jmp case.0x422653.99
mov eax, 0xc
jmp 0x422692
mov edx, 0xa
mov word [esi], dx
jmp case.0x422653.99
mov eax, 0xd
jmp 0x422692
mov edx, 9
mov word [esi], dx
jmp case.0x422653.99
mov eax, 0xb
mov word [esi], ax
mov eax, esi
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4226a0
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.0049a360
add esp, 0xc
mov ecx, esi
jmp 0x422600
push 7
push str.NoMouse
push ebx
call fcn.0049974a
add esp, 0xc
test eax, eax
jne 0x4226f0
mov byte [0x4d4a2b], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0x4d8ea5
push 0x4d8ea4
push 0x4d8ea3
push 0x4d4a2a
push 0x4d8ea0
push 0x4d8ea2
push 0x4d4a03
push 0x4d4a02
push 0x4d8ea1
push 0x4d4a34
push 0x4d8e9c
push 0x4d8e98
mov eax, ebx
call fcn.00412a60
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyModifierTimeout
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422780
test ebx, ebx
je 0x42276e
mov esi, ebx
call fcn.004141b0
mov dword [0x4d4a04], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.HotkeyInterval
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4227c7
test ebx, ebx
je 0x4227b5
mov esi, ebx
call fcn.004141b0
mov dword [0x4d4a20], eax
cmp eax, 0xa
jge 0x4227b5
mov dword [0x4d4a20], 0xa
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxHotkeysPerInterval
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x42280e
test ebx, ebx
je 0x4227fc
mov esi, ebx
call fcn.004141b0
mov dword [0x4d4a1c], eax
cmp eax, 1
jge 0x4227fc
mov dword [0x4d4a1c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsPerHotkey
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422873
test ebx, ebx
je 0x422861
mov esi, ebx
call fcn.004141b0
cmp eax, 0xff
jle 0x422852
mov eax, 0xff
mov byte [0x4d44c3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp eax, 1
jge 0x42285c
mov eax, 1
mov byte [0x4d44c3], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreadsBuffer
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4228bd
test ebx, ebx
je 0x4228a4
push eax
mov esi, ebx
call fcn.0040eda0
add esp, 4
mov byte [0x4d8802], 0
cmp eax, 2
je 0x4228ab
mov byte [0x4d8802], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxThreads
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422922
test ebx, ebx
je 0x422910
mov esi, ebx
call fcn.004141b0
cmp eax, 0xff
jle 0x422901
mov eax, 0xff
mov dword [0x4d4a18], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp eax, 1
jge 0x42290b
mov eax, 1
mov dword [0x4d4a18], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ClipboardTimeout
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x42295a
test ebx, ebx
je 0x422948
mov esi, ebx
call fcn.004141b0
mov dword [0x4d4a08], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.LTrim
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4229a4
test ebx, ebx
je 0x42298b
push eax
mov esi, ebx
call fcn.0040eda0
add esp, 4
mov byte [0x4d8ea6], 0
cmp eax, 2
je 0x422992
mov byte [0x4d8ea6], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.WinActivateForce
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x4229d3
mov byte [0x4d87dc], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.ErrorStdOut
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422a16
mov esi, dword [esp + 0xf8]
mov eax, ebx
mov byte [esi + 0xae7], 1
call fcn.0041d190
mov dword [esi + 0xae8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MaxMem
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422a9c
test ebx, ebx
je 0x422a8a
mov esi, ebx
call fcn.0041a220
fld qword [0x4ced50]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x422a53
fstp st(0)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x422a57
fstp st(1)
jmp 0x422a59
fstp st(0)
fld qword [0x4cec58]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
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 eax, dword [esp + 0x18]
mov dword [0x4d4a14], eax
fldcw word [esp + 0x14]
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.KeyHistory
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422b05
test ebx, ebx
je 0x422af3
mov esi, ebx
call fcn.004141b0
mov dword [0x4d4a10], eax
test eax, eax
jns 0x422ae2
mov dword [0x4d4a10], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp eax, 0x1f4
jle 0x422af3
mov dword [0x4d4a10], 0x1f4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.CommentFlag
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422bf6
test ebx, ebx
je 0x422be4
cmp word [ebx + 2], ax
jne 0x422ba8
movzx eax, word [ebx]
cmp eax, 0x23
je 0x422ebb
cmp ax, word [0x4d4a2c]
je 0x422ebb
cmp ax, word [0x4d4a30]
je 0x422ebb
cmp ax, word [0x4d4a28]
je 0x422ebb
cmp eax, 0x21
je 0x422ebb
cmp eax, 0x5e
je 0x422ebb
cmp eax, 0x2b
je 0x422ebb
cmp eax, 0x24
je 0x422ebb
cmp eax, 0x7e
je 0x422ebb
cmp eax, 0x2a
je 0x422ebb
cmp eax, 0x3c
je 0x422ebb
cmp eax, 0x3e
je 0x422ebb
push 0xf
push ebx
push 0x4d44d0
call fcn.0049c6a4
add esp, 0xc
xor ecx, ecx
mov eax, 0x4d44d0
mov word [0x4d44ee], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422bd0
sub eax, edx
sar eax, 1
mov dword [0x4d44c4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.EscapeChar
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422c71
test ebx, ebx
je 0x421f7e
movzx eax, word [ebx]
cmp eax, 0x23
je 0x422ebb
cmp ax, word [0x4d4a2c]
je 0x422ebb
cmp ax, word [0x4d4a28]
je 0x422ebb
cmp eax, 0x2e
je 0x422ebb
cmp dword [0x4d44c4], 1
jne 0x422c59
cmp ax, word [0x4d44d0]
je 0x422ebb
mov word [0x4d4a30], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.DerefChar
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422ce3
test ebx, ebx
je 0x421f7e
movzx eax, word [ebx]
cmp ax, word [0x4d4a30]
je 0x422ebb
cmp ax, word [0x4d4a28]
je 0x422ebb
cmp eax, 0x2e
je 0x422ebb
cmp dword [0x4d44c4], 1
jne 0x422ccb
cmp ax, word [0x4d44d0]
je 0x422ebb
mov word [0x4d4a2c], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6dfc
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422d5e
test ebx, ebx
je 0x421f7e
movzx eax, word [ebx]
cmp eax, 0x23
je 0x422ebb
cmp ax, word [0x4d4a30]
je 0x422ebb
cmp ax, word [0x4d4a2c]
je 0x422ebb
cmp eax, 0x2e
je 0x422ebb
cmp dword [0x4d44c4], 1
jne 0x422d46
cmp ax, word [0x4d44d0]
je 0x422ebb
mov word [0x4d4a28], ax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.MenuMaskKey
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422ddd
test ebx, ebx
je 0x422dbd
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x4d44c1
xor ecx, ecx
mov edi, 0x4d4a00
mov edx, ebx
call fcn.004193e0
add esp, 4
test al, al
jne 0x421f7e
mov ecx, dword [esp + 0xf8]
mov eax, str.Parameter_1_invalid.
push ebp
push eax
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov ecx, dword [esp + 0xf8]
mov eax, str.Parameter_1_required
push ebp
push eax
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, str.InputLevel
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422e2a
test ebx, ebx
je 0x422e26
mov esi, ebx
call fcn.004141b0
test eax, eax
js 0x422ebb
cmp eax, 0x64
jg 0x422ebb
mov byte [0x4d8803], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
xor eax, eax
jmp 0x422e0f
push 0xffffffffffffffff
push edi
mov eax, str.Warn
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422f97
test ebx, ebx
jne 0x422e4d
mov ebx, 0x4af9bc
movzx edx, word [0x4d4a28]
push edx
push ebx
call fcn.00499f59
mov edi, eax
add esp, 8
mov esi, 0x4af9bc
mov dword [esp + 0x18], esi
test edi, edi
je 0x422e8b
lea eax, [edi + 2]
call fcn.0040ed00
mov esi, eax
lea eax, [edi - 2]
mov edx, ebx
mov dword [esp + 0x18], esi
call fcn.0040ed20
xor ecx, ecx
mov word [eax + 2], cx
cmp word [ebx], 0
mov edi, 6
je 0x422eda
xor edi, edi
jmp 0x422ea0
mov edx, dword [edi*4 + 0x4b6e54]
push edx
push ebx
call fcn.00498fc9
add esp, 8
test eax, eax
je 0x422eda
inc edi
cmp edi, 7
jne 0x422ea0
mov ecx, dword [esp + 0xf8]
push ebp
push str.Parameter_1_invalid.
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp word [esi], 0
mov eax, 2
je 0x422f2c
mov ebx, dword [esp + 0x18]
xor esi, esi
jmp 0x422ef0
mov eax, dword [esi*4 + 0x4b6e70]
push eax
push ebx
call fcn.00498fc9
add esp, 8
test eax, eax
je 0x422f2a
inc esi
cmp esi, 4
jne 0x422ef0
mov ecx, dword [esp + 0xf8]
push ebx
push str.Parameter_2_invalid.
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov eax, esi
test edi, edi
je 0x422f35
cmp edi, 6
jne 0x422f3a
mov dword [0x4d87e0], eax
cmp edi, 1
je 0x422f44
cmp edi, 6
jne 0x422f49
mov dword [0x4d87e4], eax
cmp edi, 3
je 0x422f53
cmp edi, 6
jne 0x422f58
mov dword [0x4d87e8], eax
cmp edi, 2
je 0x422f62
cmp edi, 6
jne 0x422f67
mov dword [0x4d87ec], eax
cmp edi, 4
je 0x422f71
cmp edi, 6
jne 0x422f76
mov dword [0x4d87f0], eax
cmp edi, 5
je 0x422f80
cmp edi, 6
jne 0x422f85
mov dword [0x4d87f4], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xffffffffffffffff
push edi
mov eax, 0x4b6e80
mov ecx, ebp
call fcn.0047f520
add esp, 8
test eax, eax
jne 0x422579
test ebx, ebx
jne 0x422fd8
mov ecx, dword [esp + 0xf8]
push 0x4af9bc
push str.Parameter_1_required
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
push 0xa
push 0x4afa94
push ebx
call fcn.0049974a
add esp, 0xc
test eax, eax
jne 0x423050
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x421f7e
cmp eax, 0x20
je 0x423003
cmp eax, 9
jne 0x423050
lea eax, [ebx + 0x16]
call fcn.0040ed00
mov esi, eax
cmp word [esi], 0x76
jne 0x423016
add esi, 2
push 3
push 0x4b6e94
push esi
call fcn.0049b955
add esp, 0xc
test eax, eax
jne 0x423049
movzx eax, word [esi + 6]
test ax, ax
je 0x423038
cmp eax, 0x2e
jne 0x423049
push esi
call fcn.00481d10
add esp, 4
test eax, eax
jle 0x421f7e
mov eax, str.__but_you_have_v1.1.34.04
jmp 0x423055
mov eax, 0x4af9bc
push eax
push ebx
push str.This_script_requires__s_s.
mov esi, 0x64
lea edi, [esp + 0x34]
call fcn.0047f480
add esp, 0xc
push 0x4af9bc
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x100]
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
test ebx, ebx
jne 0x4230b1
mov ecx, dword [esp + 0xf8]
push ebp
push str.Parameter_1_required
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
cmp word [ebx], 0x2a
jne 0x4231b1
movzx edi, word [ebx + 2]
test edi, 0xffffff80
jne 0x4230d9
push 2
push edi
call fcn.0049af5c
add esp, 8
test eax, eax
je 0x4230d9
and edi, 0xffffffdf
cmp di, 0x49
jne 0x4231b1
movzx eax, word [ebx + 4]
cmp eax, 0x20
je 0x4230f5
cmp eax, 9
jne 0x4231b1
mov byte [esp + 0x20], 1
add ebx, 6
cmp word [ebx], 0x3c
jne 0x4231bb
push 0x3e
push ebx
call fcn.00499f59
mov edi, eax
add esp, 8
test edi, edi
je 0x4231bb
cmp word [edi + 2], 0
jne 0x4231bb
xor edx, edx
add ebx, 2
mov word [edi], dx
call fcn.0044b710
push 0
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov edx, edi
lea ecx, [esp + 0x2f]
push ecx
mov ecx, dword [esp + 0x104]
sub edx, ebx
sar edx, 1
push edx
push ebx
call fcn.0042b080
test esi, esi
je 0x42316a
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0049952d
add esp, 4
mov al, byte [esp + 0x27]
test al, al
jne 0x423186
cmp byte [esp + 0x14], al
jne 0x421f7e
cmp byte [esp + 0x20], al
jne 0x421f7e
mov ecx, 0x3e
mov word [edi], cx
test al, al
jne 0x4231ca
mov ecx, dword [esp + 0xf8]
push ebp
push str.Function_library_not_found.
call fcn.0043a180
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov byte [esp + 0x20], 0
jmp 0x4230fd
push ebx
lea edx, [esp + 0x18]
push edx
call fcn.00439060
test eax, eax
jne 0x4231d9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42320f
test al, 0x10
je 0x42320f
mov eax, edi
call fcn.0044b5f0
push edi
call fcn.0049952d
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x100]
push edi
call fcn.0041f530
neg eax
sbb esi, esi
push edi
and esi, 3
call fcn.0049952d
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 8