Function at 0x43f580
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
sub esp, 0x498
mov edx, dword [esp + 0x49c]
xor eax, eax
mov dword [esp + 0x10], 0x90020
mov word [esp + 0x14], ax
push ebx
mov ebx, edx
push ebp
mov ebp, ecx
push esi
push edi
test edx, edx
je 0x43f5e8
movzx eax, word [edx]
test ax, ax
je 0x43f5e8
mov esi, eax
lea ecx, [esp + 0x20]
mov edx, 0x20
nop dword [eax + eax]
cmp si, dx
je 0x43f621
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43f5c0
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43f5b2
mov edx, dword [esp + 0x4ac]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f5f0
sub ecx, esi
sar ecx, 1
lea ebx, [edx + ecx*2]
xor edi, edi
mov esi, ebx
sub esi, edx
sar esi, 1
cmp esi, 0x20
jb 0x43f643
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov edi, ebx
movzx eax, word [edi]
cmp eax, 0x20
je 0x43f630
cmp eax, 9
jne 0x43f635
add edi, 2
jmp 0x43f623
mov edx, dword [esp + 0x4ac]
test ax, ax
jne 0x43f604
jmp 0x43f602
cmp word [ebx], 0
je 0x43f665
push esi
push edx
lea eax, [esp + 0x70]
push eax
call fcn.004afab4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x68], ax
lea esi, [esp + 0x68]
jmp 0x43f667
mov esi, edx
push str.Include
push esi
mov byte [esp + 0x24], 0
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x440349
push str.IncludeAgain
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
sete byte [esp + 0x1c]
test eax, eax
je 0x440349
push str.DllLoad
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f7f4
test edi, edi
jne 0x43f6e6
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x43f80d
push 0x4d3ee8
push str.An_internal_function_call_failed.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43f6f7
mov edx, ecx
cmp eax, 0x27
jne 0x43f71b
lea esi, [edi + 2]
push 0
push esi
call fcn.004a203f
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43f71b
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
cmp dx, 0x2a
jne 0x43f75b
movzx eax, word [edi + 2]
mov edx, eax
mov esi, eax
and eax, 0xffdf
add edx, 0xffffff9f
movzx ecx, ax
cmp dx, 0x19
mov eax, esi
cmova ecx, eax
cmp cx, 0x49
jne 0x43f75b
movzx eax, word [edi + 4]
add edi, 4
mov bl, 1
cmp eax, 0x20
je 0x43f756
cmp eax, 9
jne 0x43f75d
add edi, 2
jmp 0x43f75d
xor bl, bl
push edi
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0044f3a0
test eax, eax
je 0x4404d2
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43f79f
test al, 0x10
je 0x43f79f
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push edi
mov esi, eax
call fcn.004a45b2
add esp, 4
test esi, esi
jmp 0x43f6c2
push edi
mov esi, 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x43f7c9
lea eax, [esp + 0x18]
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43f7dc
test bl, bl
jne 0x43f7dc
push edi
push 0x4d9c2c
mov ecx, ebp
call fcn.0040da20
mov esi, eax
push edi
call fcn.004a45b2
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.NoTrayIcon
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f81f
mov byte [0x4ef00a], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.SingleInstance
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f8f8
test edi, edi
je 0x43f8dc
push str.Force
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43f8dc
push 0x4dc96c
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f881
mov dword [0x4ea830], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Ignore
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f8af
mov dword [0x4ea830], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d8fa0
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43ffe5
mov dword [0x4ea830], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov dword [0x4ea830], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.UseHook
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f98f
test edi, edi
je 0x43f976
cmp word [edi], ax
je 0x43f976
push str.True
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43f976
cmp word [edi], 0x31
jne 0x43f936
cmp word [edi + 2], 0
je 0x43f976
push str.False
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43f95d
cmp word [edi], 0x30
jne 0x43ffa5
cmp word [edi + 2], 0
jne 0x43ffa5
mov byte [0x4eee1d], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4eee1d], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d7e98
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fb68
cmp dword [ebp + 0x50], eax
jne 0x43fb4a
mov esi, dword [0x4ea828]
cmp dword [esi + 0x18], eax
jne 0x43fb4a
test edi, edi
jne 0x43f9d4
mov dword [esi + 0x50], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov ecx, edi
call fcn.00414030
mov dword [esi + 0x50], eax
test eax, eax
jne 0x43f80d
mov eax, dword [ebp + 0x3c]
mov ecx, ebp
push 0
push 0
push str._Hotkey__ThisHotkey_
mov dword [esp + 0x1c], eax
mov dword [ebp + 0x3c], 0
call fcn.00444160
test eax, eax
jne 0x43fa0c
xor esi, esi
jmp 0x43fa14
mov eax, dword [0x4ea828]
mov esi, dword [eax + 0x18]
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00414880
cmp eax, 1
je 0x43fa4d
cmp eax, 0xa00e0001
jne 0x4404d2
push 0x4d3ee8
push str.Out_of_memory.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [edi], 0
je 0x43faa7
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43fa60
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x18], eax
call fcn.004836a0
mov ebx, eax
test ebx, ebx
je 0x440563
test esi, esi
mov esi, dword [esp + 0x18]
je 0x43fa9b
push esi
push edi
push ebx
call fcn.004a20f0
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
mov esi, dword [esp + 0x1c]
jmp 0x43faac
mov ebx, 0x4d3ee8
mov eax, dword [0x4ea828]
mov ecx, ebp
push 0
push 0
push 0
mov eax, dword [eax + 0x50]
push 3
mov dword [eax + 0xc], ebx
call fcn.00442930
test eax, eax
je 0x43fa2f
mov ebx, dword [ebp + 0x40]
mov ecx, ebp
push 5
push edi
call fcn.00440670
test eax, eax
je 0x43fa2f
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x43faf0
mov byte [eax + 0x25], 1
jmp 0x43fb07
push 0
push 0
push 0
push 4
mov ecx, ebp
call fcn.00442930
test eax, eax
je 0x43fa2f
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x43fb27
mov dword [eax + 0x18], ecx
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov eax, dword [0x4ea828]
mov dword [ebp + 0x3c], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [eax + 0x50]
mov dword [ecx + 0xc], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d3ee8
push str.Invalid_usage.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIfTimeout
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fba0
test edi, edi
je 0x43f80d
mov ecx, edi
call fcn.00487070
mov dword [0x4ead94], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Hotstring
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fced
test edi, edi
je 0x43f80d
mov edx, str.EndChars
mov ecx, edi
call fcn.00486c20
mov ebx, eax
test ebx, ebx
je 0x43fc65
movzx eax, word [ebx]
test ax, ax
je 0x43f80d
mov esi, eax
mov ecx, 0x4dc9d4
mov edx, 9
nop dword [eax]
cmp si, dx
je 0x43fc23
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43fbf0
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43fbe2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
add ebx, 2
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fc30
sub ecx, edx
mov edx, 0x65
sar ecx, 1
push ecx
push ebx
mov ecx, str._____:____.___n__t
call fcn.00488cd0
add esp, 8
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 7
push str.NoMouse
push edi
call fcn.004a4632
add esp, 0xc
test eax, eax
jne 0x43fc90
mov byte [0x4ea8ef], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4ef004
push 0x4eee1e
push 0x4eee1f
push 0x4eeec0
push 0x4ead8a
push 0x4eeec3
push 0x4eeec1
push 0x4ead8b
push 0x4ead8c
push 0x4eeec2
push 0x4ead90
push 0x4eeec4
mov edx, 0x4eeec8
mov ecx, edi
call fcn.00416b70
add esp, 0x30
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreadsPerHotkey
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fd50
test edi, edi
je 0x43f80d
mov ecx, edi
call fcn.00487070
cmp eax, 0xff
jle 0x43fd31
mov eax, 0xff
mov byte [0x4ead8d], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
mov byte [0x4ead8d], al
lea eax, [ecx + 2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreadsBuffer
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fde7
test edi, edi
je 0x43fdce
cmp word [edi], ax
je 0x43fdce
push str.True
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43fdce
cmp word [edi], 0x31
jne 0x43fd8e
cmp word [edi + 2], 0
je 0x43fdce
push str.False
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43fdb5
cmp word [edi], 0x30
jne 0x43ffa5
cmp word [edi + 2], 0
jne 0x43ffa5
mov byte [0x4ef006], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4ef006], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreads
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fe4a
test edi, edi
je 0x43f80d
mov ecx, edi
call fcn.00487070
cmp eax, 0xff
jle 0x43fe2b
mov eax, 0xff
mov dword [0x4ea824], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
mov dword [0x4ea824], eax
lea eax, [ecx + 2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.SuspendExempt
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43fee1
test edi, edi
je 0x43fec8
cmp word [edi], ax
je 0x43fec8
push str.True
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43fec8
cmp word [edi], 0x31
jne 0x43fe88
cmp word [edi + 2], 0
je 0x43fec8
push str.False
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x43feaf
cmp word [edi], 0x30
jne 0x43ffe5
cmp word [edi + 2], 0
jne 0x43ffe5
mov byte [0x4ef005], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4ef005], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ClipboardTimeout
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43ff19
test edi, edi
je 0x43f80d
mov ecx, edi
call fcn.00487070
mov dword [0x4ea838], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.WinActivateForce
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43ff44
mov byte [0x4ef00c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ErrorStdOut
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43ffbf
test edi, edi
je 0x43ff86
movzx eax, word [edi]
cmp eax, 0x22
je 0x43ff67
cmp eax, 0x27
jne 0x43ff86
lea esi, [edi + 2]
push 0
push esi
call fcn.004a203f
add esp, 8
mov cx, word [eax - 2]
cmp cx, word [edi]
jne 0x43ff86
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
mov ecx, edi
call fcn.0040c450
cmp eax, 0xffffffff
mov dword [ebp + 0x6d0], eax
setne cl
mov byte [ebp + 0x6cf], cl
jne 0x43f80d
push edi
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.InputLevel
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x44001e
test edi, edi
je 0x440005
mov ecx, edi
call fcn.00487070
test eax, eax
js 0x43ffe5
cmp eax, 0x64
jle 0x440007
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
xor eax, eax
mov byte [0x4eeed7], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Warn
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x440179
test edi, edi
mov eax, 0x4d3ee8
push 0x2c
cmovne eax, edi
mov edi, eax
mov dword [esp + 0x14], eax
push edi
call fcn.004a203f
mov ecx, eax
add esp, 8
mov ebx, 0x4d3ee8
test ecx, ecx
je 0x44009a
lea ebx, [ecx + 2]
nop dword [eax]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x44006d
cmp eax, 9
jne 0x440072
add ebx, 2
jmp 0x440060
lea eax, [ecx - 2]
cmp eax, edi
jbe 0x440094
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x44008d
cmp ecx, 9
jne 0x440094
sub eax, 2
cmp eax, edi
ja 0x440080
xor ecx, ecx
mov word [eax + 2], cx
cmp word [edi], 0
mov esi, 3
je 0x4400ea
xor esi, esi
nop word [eax + eax]
push dword [esi*4 + 0x4de904]
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x4400ea
inc esi
cmp esi, 4
jne 0x4400b0
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [ebx], 0
mov edi, 2
je 0x440134
xor edi, edi
nop word [eax + eax]
push dword [edi*4 + 0x4de8f4]
push ebx
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x440134
inc edi
cmp edi, 4
jne 0x440100
push ebx
push str.Parameter_2_invalid.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test esi, esi
je 0x44013d
cmp esi, 3
jne 0x440143
mov dword [0x4eee0c], edi
cmp esi, 1
je 0x44014d
cmp esi, 3
jne 0x440153
mov dword [0x4eada0], edi
cmp esi, 2
je 0x440161
cmp esi, 3
jne 0x43f80d
mov dword [0x4ea83c], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Requires
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x4402d9
test edi, edi
jne 0x4401b1
push 0x4d3ee8
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0xa
push 0x4d4054
push edi
call fcn.004a4632
add esp, 0xc
test eax, eax
jne 0x440288
movzx eax, word [edi + 0x14]
test ax, ax
je 0x43f80d
cmp eax, 0x20
je 0x4401e4
cmp eax, 9
jne 0x440288
lea ebx, [edi + 0x16]
mov ecx, ebx
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x4401fd
cmp eax, 9
jne 0x440202
add ecx, 2
jmp 0x4401f0
test ax, ax
je 0x43f80d
mov ebx, ecx
mov edx, eax
nop
cmp dx, 0x20
je 0x44022a
cmp dx, 9
je 0x44022a
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
test ax, ax
jne 0x440210
mov esi, ebx
mov eax, 0x20
sub esi, ecx
sar esi, 1
inc esi
cmp esi, 0x20
cmova esi, eax
lea eax, [esp + 0x28]
dec esi
push esi
push ecx
push eax
call fcn.004afab4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x28], ax
lea eax, [esp + 0x28]
push str.32_bit
push eax
call fcn.004a44b1
add esp, 8
test eax, eax
je 0x4401e7
push 0
lea edx, [esp + 0x2c]
mov ecx, 0x4c3528
call fcn.00489490
add esp, 4
test eax, eax
jne 0x4401e7
push dword [ebp + 0x6bc]
lea eax, [esp + 0xac]
push str.32_bit
push 0x4c3528
push 0x4d4054
push edi
push str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
push 0x200
push eax
call fcn.004868c0
add esp, 0x20
lea eax, [esp + 0xa8]
mov ecx, ebp
push 0x4d3ee8
push eax
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.DefaultReturn
push esi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43f60f
test edi, edi
je 0x440193
push str.unset
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x44031e
mov eax, 3
mov dword [ebp + 0x48], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4dcb78
push edi
call fcn.004a44b1
add esp, 8
test eax, eax
jne 0x43ffa5
mov dword [ebp + 0x48], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test edi, edi
jne 0x44036d
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_required
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x44037e
mov edx, ecx
cmp eax, 0x27
jne 0x4403a2
lea esi, [edi + 2]
push 0
push esi
call fcn.004a203f
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x4403a2
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
movzx eax, dx
test ax, ax
jne 0x4403c8
push 0x4d3ee8
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp eax, 0x2a
jne 0x440401
movzx eax, word [edi + 2]
mov edx, eax
mov esi, eax
and eax, 0xffdf
add edx, 0xffffff9f
movzx ecx, ax
cmp dx, 0x19
mov eax, esi
cmova ecx, eax
cmp cx, 0x49
jne 0x440401
movzx eax, word [edi + 4]
cmp eax, 0x20
je 0x4403fd
cmp eax, 9
jne 0x440401
mov bl, 1
jmp 0x440403
xor bl, bl
test bl, bl
mov byte [esp + 0x10], bl
lea esi, [edi + 6]
cmove esi, edi
cmp word [esi], 0x3c
jne 0x4404c1
push 0x3e
push esi
call fcn.004a203f
mov edi, eax
add esp, 8
test edi, edi
je 0x4404c1
cmp word [edi + 2], 0
jne 0x4404c1
xor eax, eax
add esi, 2
mov word [edi], ax
call fcn.00453530
mov dword [esp + 0x10], eax
mov ecx, edi
lea eax, [esp + 0x17]
sub ecx, esi
push eax
lea eax, [esp + 0x1a]
sar ecx, 1
push eax
push ecx
push esi
mov ecx, ebp
call fcn.004461c0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x44047b
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004a45b2
add esp, 4
mov al, byte [esp + 0x16]
test al, al
jne 0x440495
cmp byte [esp + 0x17], al
jne 0x43f80d
test bl, bl
jne 0x43f80d
mov ecx, 0x3e
mov word [edi], cx
test al, al
jne 0x4404d2
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Script_library_not_found.
call fcn.0040da20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push esi
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.0044f3a0
test eax, eax
jne 0x4404e1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x440519
test al, 0x10
je 0x440519
push esi
call fcn.00453480
add esp, 4
push esi
call fcn.004a45b2
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.00453530
push dword [esp + 0x10]
mov ecx, ebp
mov ebx, eax
push dword [esp + 0x20]
push esi
call fcn.0043c830
neg eax
sbb edi, edi
and edi, 3
test ebx, ebx
je 0x44054b
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.004a45b2
add esp, 4
push esi
call fcn.004a45b2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.0040deb0
int3