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

Disassembly:
sub esp, 0x498
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4ac]
xor eax, eax
mov dword [esp + 0x1c], 0x90020
mov ebp, ecx
mov word [esp + 0x20], ax
mov ebx, edi
test edi, edi
je 0x43db21
movzx eax, word [edi]
test ax, ax
je 0x43db21
mov esi, eax
lea ecx, [esp + 0x1c]
mov edx, 0x20
nop dword [eax + eax]
cmp si, dx
je 0x43db5c
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43db00
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43daf2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43db26
sub ecx, edx
sar ecx, 1
lea ebx, [edi + ecx*2]
xor edi, edi
mov esi, ebx
sub esi, dword [esp + 0x4ac]
sar esi, 1
cmp esi, 0x20
jb 0x43db79
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov edi, ebx
nop
movzx eax, word [edi]
cmp eax, 0x20
je 0x43db6d
cmp eax, 9
jne 0x43db72
add edi, 2
jmp 0x43db60
test ax, ax
jne 0x43db3a
jmp 0x43db38
cmp word [ebx], 0
mov ebx, dword [esp + 0x4ac]
je 0x43dba2
push esi
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004aa4b4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x68], ax
lea esi, [esp + 0x68]
jmp 0x43dba4
mov esi, ebx
push str.Include
push esi
mov byte [esp + 0x1c], 0
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e7e9
push str.IncludeAgain
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
sete byte [esp + 0x14]
test eax, eax
je 0x43e7e9
push str.DllLoad
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43dd31
test edi, edi
jne 0x43dc23
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x43dd4a
push 0x4ceea8
push str.An_internal_function_call_failed.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43dc34
mov edx, ecx
cmp eax, 0x27
jne 0x43dc58
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ca51
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43dc58
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
cmp dx, 0x2a
jne 0x43dc98
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 0x43dc98
movzx eax, word [edi + 4]
add edi, 4
mov bl, 1
cmp eax, 0x20
je 0x43dc93
cmp eax, 9
jne 0x43dc9a
add edi, 2
jmp 0x43dc9a
xor bl, bl
push edi
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0044c1c0
test eax, eax
je 0x43e974
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43dcdc
test al, 0x10
je 0x43dcdc
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push edi
mov esi, eax
call fcn.0049efc2
add esp, 4
test esi, esi
jmp 0x43dbff
push edi
mov esi, 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x43dd06
lea eax, [esp + 0x10]
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43dd19
test bl, bl
jne 0x43dd19
push edi
push 0x4d4a68
mov ecx, ebp
call fcn.0040d680
mov esi, eax
push edi
call fcn.0049efc2
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.0049eec1
add esp, 8
test eax, eax
jne 0x43dd5c
mov byte [0x4e8eec], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.SingleInstance
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43de35
test edi, edi
je 0x43de19
push str.Force
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43de19
push 0x4d76f8
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43ddbe
mov dword [0x4e4800], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Ignore
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43ddec
mov dword [0x4e4800], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d3d98
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e4fc
mov dword [0x4e4800], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov dword [0x4e4800], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.UseHook
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43decc
test edi, edi
je 0x43deb3
cmp word [edi], ax
je 0x43deb3
push str.True
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43deb3
cmp word [edi], 0x31
jne 0x43de73
cmp word [edi + 2], 0
je 0x43deb3
push str.False
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43de9a
cmp word [edi], 0x30
jne 0x43e4bc
cmp word [edi + 2], 0
jne 0x43e4bc
mov byte [0x4e8cdf], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8cdf], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIf
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e07f
cmp dword [ebp + 0x58], eax
jne 0x43e061
mov esi, dword [0x4e47f8]
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0x1c]
jne 0x43e061
test edi, edi
jne 0x43df14
mov dword [esi + 0x58], edi
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov ecx, edi
call fcn.00413c90
mov dword [esi + 0x58], eax
test eax, eax
jne 0x43dd4a
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x43df30
dec dword [ebp + 0x28]
mov ecx, ebp
call fcn.0044f4d0
mov ecx, dword [ebp + 0x1c]
call fcn.004144e0
cmp eax, 1
je 0x43df6d
cmp eax, 0xa00e0001
jne 0x43e974
push 0x4ceea8
push str.Out_of_memory.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [edi], 0
je 0x43dfcb
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43df80
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.0047e570
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x43ea05
test esi, esi
mov esi, dword [esp + 0x10]
je 0x43dfc3
push esi
push edi
push ecx
call fcn.0049cb00
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
mov word [ecx + esi], ax
jmp 0x43dfd0
mov ecx, 0x4ceea8
mov eax, dword [0x4e47f8]
push 0
push 0
push 0
mov eax, dword [eax + 0x58]
push 0
push 3
mov dword [eax + 0xc], ecx
mov ecx, ebp
mov esi, dword [ebp + 0x1c]
call fcn.00440000
test eax, eax
je 0x43df4f
push 0
push 0
push 6
push edi
mov ecx, ebp
call fcn.0043eb10
test eax, eax
je 0x43df4f
push 0
push 0
push 0
push 0
push 4
mov ecx, ebp
call fcn.00440000
test eax, eax
je 0x43df4f
mov ecx, dword [esi + 0x28]
mov edx, dword [0x4e47f8]
mov eax, dword [edx + 0x58]
mov dword [ecx + 0xc], eax
mov dword [ebp + 0x1c], ebx
mov dword [edx + 0x18], ebx
test ebx, ebx
je 0x43dd4a
push dword [ebp + 0x28]
lea ecx, [ebp + 0x24]
push ebx
call fcn.0044def0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4ceea8
push str.Invalid_usage.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIfTimeout
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e0b7
test edi, edi
je 0x43dd4a
mov ecx, edi
call fcn.00481fa0
mov dword [0x4e4d60], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Hotstring
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e204
test edi, edi
je 0x43dd4a
mov edx, str.EndChars
mov ecx, edi
call fcn.00481b70
mov ebx, eax
test ebx, ebx
je 0x43e17c
movzx eax, word [ebx]
test ax, ax
je 0x43dd4a
mov esi, eax
nop dword [eax]
mov ecx, 0x4d7760
mov edx, 9
nop word [eax + eax]
cmp si, dx
je 0x43e143
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43e110
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43e100
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x64
lea eax, [ebx + 2]
push eax
push str._____:____.___n__t
call fcn.004aa4b4
add esp, 0xc
xor eax, eax
xor edx, edx
mov word [0x4e4d58], ax
mov ecx, str._____:____.___n__t
call fcn.00483c00
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.0049f042
add esp, 0xc
test eax, eax
jne 0x43e1a7
mov byte [0x4e48b9], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4e8e7a
push 0x4e8da0
push 0x4e8da1
push 0x4e8da2
push 0x4e48ba
push 0x4e8da5
push 0x4e8da3
push 0x4e48bb
push 0x4e48bc
push 0x4e8da4
push 0x4e4d5c
push 0x4e8da8
mov edx, 0x4e8dac
mov ecx, edi
call fcn.00416820
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.0049eec1
add esp, 8
test eax, eax
jne 0x43e267
test edi, edi
je 0x43dd4a
mov ecx, edi
call fcn.00481fa0
cmp eax, 0xff
jle 0x43e248
mov eax, 0xff
mov byte [0x4e48bd], 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 [0x4e48bd], 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.0049eec1
add esp, 8
test eax, eax
jne 0x43e2fe
test edi, edi
je 0x43e2e5
cmp word [edi], ax
je 0x43e2e5
push str.True
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e2e5
cmp word [edi], 0x31
jne 0x43e2a5
cmp word [edi + 2], 0
je 0x43e2e5
push str.False
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e2cc
cmp word [edi], 0x30
jne 0x43e4bc
cmp word [edi + 2], 0
jne 0x43e4bc
mov byte [0x4e8e7c], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8e7c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreads
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e361
test edi, edi
je 0x43dd4a
mov ecx, edi
call fcn.00481fa0
cmp eax, 0xff
jle 0x43e342
mov eax, 0xff
mov dword [0x4e47f4], 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 [0x4e47f4], 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.0049eec1
add esp, 8
test eax, eax
jne 0x43e3f8
test edi, edi
je 0x43e3df
cmp word [edi], ax
je 0x43e3df
push str.True
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e3df
cmp word [edi], 0x31
jne 0x43e39f
cmp word [edi + 2], 0
je 0x43e3df
push str.False
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e3c6
cmp word [edi], 0x30
jne 0x43e4fc
cmp word [edi + 2], 0
jne 0x43e4fc
mov byte [0x4e8e7b], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8e7b], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ClipboardTimeout
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e430
test edi, edi
je 0x43dd4a
mov ecx, edi
call fcn.00481fa0
mov dword [0x4e4808], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.WinActivateForce
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e45b
mov byte [0x4e8eee], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ErrorStdOut
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e4d6
test edi, edi
je 0x43e49d
movzx eax, word [edi]
cmp eax, 0x22
je 0x43e47e
cmp eax, 0x27
jne 0x43e49d
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ca51
add esp, 8
mov cx, word [eax - 2]
cmp cx, word [edi]
jne 0x43e49d
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
mov ecx, edi
call fcn.0040c1a0
cmp eax, 0xffffffff
mov dword [ebp + 0x6d8], eax
setne cl
mov byte [ebp + 0x6d7], cl
jne 0x43dd4a
push edi
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.InputLevel
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e52f
test edi, edi
je 0x43e516
mov ecx, edi
call fcn.00481fa0
test eax, eax
js 0x43e4fc
cmp eax, 0x64
jle 0x43e518
push ebx
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
xor eax, eax
mov byte [0x4e8e79], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Warn
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43e689
test edi, edi
mov eax, 0x4ceea8
push 0x2c
cmovne eax, edi
mov edi, eax
mov dword [esp + 0x18], eax
push edi
call fcn.0049ca51
mov ecx, eax
add esp, 8
mov ebx, 0x4ceea8
test ecx, ecx
je 0x43e5aa
lea ebx, [ecx + 2]
nop
movzx eax, word [ebx]
cmp eax, 0x20
je 0x43e57d
cmp eax, 9
jne 0x43e582
add ebx, 2
jmp 0x43e570
lea eax, [ecx - 2]
cmp eax, edi
jbe 0x43e5a4
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43e59d
cmp ecx, 9
jne 0x43e5a4
sub eax, 2
cmp eax, edi
ja 0x43e590
xor ecx, ecx
mov word [eax + 2], cx
cmp word [edi], 0
mov esi, 3
je 0x43e5fa
xor esi, esi
nop word [eax + eax]
push dword [esi*4 + 0x4d94bc]
push edi
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e5fa
inc esi
cmp esi, 4
jne 0x43e5c0
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [ebx], 0
mov edi, 2
je 0x43e644
xor edi, edi
nop word [eax + eax]
push dword [edi*4 + 0x4d94ac]
push ebx
call fcn.0049eec1
add esp, 8
test eax, eax
je 0x43e644
inc edi
cmp edi, 4
jne 0x43e610
push ebx
push str.Parameter_2_invalid.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test esi, esi
je 0x43e64d
cmp esi, 3
jne 0x43e653
mov dword [0x4e8ce8], edi
cmp esi, 1
je 0x43e65d
cmp esi, 3
jne 0x43e663
mov dword [0x4e4d6c], edi
cmp esi, 2
je 0x43e671
cmp esi, 3
jne 0x43dd4a
mov dword [0x4e480c], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Requires
push esi
call fcn.0049eec1
add esp, 8
test eax, eax
jne 0x43db4a
test edi, edi
jne 0x43e6c1
push 0x4ceea8
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0xa
push 0x4cf024
push edi
call fcn.0049f042
add esp, 0xc
test eax, eax
jne 0x43e798
movzx eax, word [edi + 0x14]
test ax, ax
je 0x43dd4a
cmp eax, 0x20
je 0x43e6f4
cmp eax, 9
jne 0x43e798
lea ebx, [edi + 0x16]
mov ecx, ebx
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x43e70d
cmp eax, 9
jne 0x43e712
add ecx, 2
jmp 0x43e700
test ax, ax
je 0x43dd4a
mov ebx, ecx
mov edx, eax
nop
cmp dx, 0x20
je 0x43e73a
cmp dx, 9
je 0x43e73a
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
test ax, ax
jne 0x43e720
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.004aa4b4
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.0049eec1
add esp, 8
test eax, eax
je 0x43e6f7
push 0
lea edx, [esp + 0x2c]
mov ecx, 0x4be514
call fcn.00484270
add esp, 4
test eax, eax
jne 0x43e6f7
push dword [ebp + 0x6c4]
lea eax, [esp + 0xac]
push str.32_bit
push 0x4be514
push 0x4cf024
push edi
push str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
push 0x200
push eax
call fcn.00481810
add esp, 0x20
lea eax, [esp + 0xa8]
mov ecx, ebp
push 0x4ceea8
push eax
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test edi, edi
jne 0x43e807
push ebx
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43e818
mov edx, ecx
cmp eax, 0x27
jne 0x43e83c
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ca51
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43e83c
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
movzx eax, dx
mov dword [esp + 0x10], eax
test ax, ax
jne 0x43e866
push 0x4ceea8
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp eax, 0x2a
jne 0x43e8ad
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 0x43e8a9
movzx eax, word [edi + 4]
cmp eax, 0x20
je 0x43e89b
cmp eax, 9
jne 0x43e8a9
movzx eax, word [edi + 6]
add edi, 6
mov byte [esp + 0x10], 1
jmp 0x43e8b5
mov eax, dword [esp + 0x10]
mov byte [esp + 0x10], 0
movzx eax, ax
cmp ax, 0x3c
jne 0x43e963
push 0x3e
push edi
call fcn.0049ca51
mov esi, eax
add esp, 8
test esi, esi
je 0x43e963
cmp word [esi + 2], 0
jne 0x43e963
xor eax, eax
add edi, 2
mov word [esi], ax
call fcn.004503d0
mov dword [esp + 0x14], eax
mov ecx, esi
lea eax, [esp + 0x1b]
sub ecx, edi
push eax
lea eax, [esp + 0x1e]
sar ecx, 1
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004433f0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x43e921
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call fcn.0049efc2
add esp, 4
mov al, byte [esp + 0x1a]
test al, al
jne 0x43e93d
cmp byte [esp + 0x1b], al
jne 0x43dd4a
cmp byte [esp + 0x10], al
jne 0x43dd4a
mov ecx, 0x3e
mov word [esi], cx
test al, al
jne 0x43e974
push ebx
push str.Script_library_not_found.
mov ecx, ebp
call fcn.0040d680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push edi
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.0044c1c0
test eax, eax
jne 0x43e983
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e9bb
test al, 0x10
je 0x43e9bb
push esi
call fcn.00450320
add esp, 4
push esi
call fcn.0049efc2
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.004503d0
push dword [esp + 0x10]
mov ecx, ebp
mov ebx, eax
push dword [esp + 0x18]
push esi
call fcn.0043b040
neg eax
sbb edi, edi
and edi, 3
test ebx, ebx
je 0x43e9ed
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.0049efc2
add esp, 4
push esi
call fcn.0049efc2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.0040dbd0
int3