Function at 0x43da00
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 0x43da61
movzx eax, word [edi]
test ax, ax
je 0x43da61
mov esi, eax
lea ecx, [esp + 0x1c]
mov edx, 0x20
nop dword [eax + eax]
cmp si, dx
je 0x43da9c
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43da40
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43da32
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43da66
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 0x43dab9
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 0x43daad
cmp eax, 9
jne 0x43dab2
add edi, 2
jmp 0x43daa0
test ax, ax
jne 0x43da7a
jmp 0x43da78
cmp word [ebx], 0
mov ebx, dword [esp + 0x4ac]
je 0x43dae2
push esi
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004aa2c4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x68], ax
lea esi, [esp + 0x68]
jmp 0x43dae4
mov esi, ebx
push str.Include
push esi
mov byte [esp + 0x1c], 0
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e729
push str.IncludeAgain
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
sete byte [esp + 0x14]
test eax, eax
je 0x43e729
push str.DllLoad
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dc71
test edi, edi
jne 0x43db63
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x43dc8a
push 0x4cdea8
push str.An_internal_function_call_failed.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43db74
mov edx, ecx
cmp eax, 0x27
jne 0x43db98
lea esi, [edi + 2]
push 0
push esi
call fcn.0049c861
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43db98
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
cmp dx, 0x2a
jne 0x43dbd8
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 0x43dbd8
movzx eax, word [edi + 4]
add edi, 4
mov bl, 1
cmp eax, 0x20
je 0x43dbd3
cmp eax, 9
jne 0x43dbda
add edi, 2
jmp 0x43dbda
xor bl, bl
push edi
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0044c0c0
test eax, eax
je 0x43e8b4
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43dc1c
test al, 0x10
je 0x43dc1c
push edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push edi
mov esi, eax
call fcn.0049edd2
add esp, 4
test esi, esi
jmp 0x43db3f
push edi
mov esi, 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x43dc46
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 0x43dc59
test bl, bl
jne 0x43dc59
push edi
push 0x4d3a68
mov ecx, ebp
call fcn.0040d610
mov esi, eax
push edi
call fcn.0049edd2
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.0049ecd1
add esp, 8
test eax, eax
jne 0x43dc9c
mov byte [0x4e7eec], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.SingleInstance
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dd75
test edi, edi
je 0x43dd59
push str.Force
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43dd59
push 0x4d66f8
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dcfe
mov dword [0x4e3800], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Ignore
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dd2c
mov dword [0x4e3800], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d2d98
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e43c
mov dword [0x4e3800], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov dword [0x4e3800], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.UseHook
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43de0c
test edi, edi
je 0x43ddf3
cmp word [edi], ax
je 0x43ddf3
push str.True
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43ddf3
cmp word [edi], 0x31
jne 0x43ddb3
cmp word [edi + 2], 0
je 0x43ddf3
push str.False
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43ddda
cmp word [edi], 0x30
jne 0x43e3fc
cmp word [edi + 2], 0
jne 0x43e3fc
mov byte [0x4e7cdf], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e7cdf], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIf
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dfbf
cmp dword [ebp + 0x58], eax
jne 0x43dfa1
mov esi, dword [0x4e37f8]
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0x1c]
jne 0x43dfa1
test edi, edi
jne 0x43de54
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.00413c10
mov dword [esi + 0x58], eax
test eax, eax
jne 0x43dc8a
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x43de70
dec dword [ebp + 0x28]
mov ecx, ebp
call fcn.0044f3d0
mov ecx, dword [ebp + 0x1c]
call fcn.00414460
cmp eax, 1
je 0x43dead
cmp eax, 0xa00e0001
jne 0x43e8b4
push 0x4cdea8
push str.Out_of_memory.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [edi], 0
je 0x43df0b
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43dec0
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.0047e3d0
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x43e945
test esi, esi
mov esi, dword [esp + 0x10]
je 0x43df03
push esi
push edi
push ecx
call fcn.0049c910
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor eax, eax
mov word [ecx + esi], ax
jmp 0x43df10
mov ecx, 0x4cdea8
mov eax, dword [0x4e37f8]
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.0043ff40
test eax, eax
je 0x43de8f
push 0
push 0
push 6
push edi
mov ecx, ebp
call fcn.0043ea50
test eax, eax
je 0x43de8f
push 0
push 0
push 0
push 0
push 4
mov ecx, ebp
call fcn.0043ff40
test eax, eax
je 0x43de8f
mov ecx, dword [esi + 0x28]
mov edx, dword [0x4e37f8]
mov eax, dword [edx + 0x58]
mov dword [ecx + 0xc], eax
mov dword [ebp + 0x1c], ebx
mov dword [edx + 0x18], ebx
test ebx, ebx
je 0x43dc8a
push dword [ebp + 0x28]
lea ecx, [ebp + 0x24]
push ebx
call fcn.0044ddf0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4cdea8
push str.Invalid_usage.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIfTimeout
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43dff7
test edi, edi
je 0x43dc8a
mov ecx, edi
call fcn.00481e00
mov dword [0x4e3d60], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Hotstring
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e144
test edi, edi
je 0x43dc8a
mov edx, str.EndChars
mov ecx, edi
call fcn.004819d0
mov ebx, eax
test ebx, ebx
je 0x43e0bc
movzx eax, word [ebx]
test ax, ax
je 0x43dc8a
mov esi, eax
nop dword [eax]
mov ecx, 0x4d6760
mov edx, 9
nop word [eax + eax]
cmp si, dx
je 0x43e083
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43e050
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43e040
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.004aa2c4
add esp, 0xc
xor eax, eax
xor edx, edx
mov word [0x4e3d58], ax
mov ecx, str._____:____.___n__t
call fcn.00483a60
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.0049ee52
add esp, 0xc
test eax, eax
jne 0x43e0e7
mov byte [0x4e38b9], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4e7e7a
push 0x4e7da0
push 0x4e7da1
push 0x4e7da2
push 0x4e38ba
push 0x4e7da5
push 0x4e7da3
push 0x4e38bb
push 0x4e38bc
push 0x4e7da4
push 0x4e3d5c
push 0x4e7da8
mov edx, 0x4e7dac
mov ecx, edi
call fcn.004167a0
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.0049ecd1
add esp, 8
test eax, eax
jne 0x43e1a7
test edi, edi
je 0x43dc8a
mov ecx, edi
call fcn.00481e00
cmp eax, 0xff
jle 0x43e188
mov eax, 0xff
mov byte [0x4e38bd], 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 [0x4e38bd], 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.0049ecd1
add esp, 8
test eax, eax
jne 0x43e23e
test edi, edi
je 0x43e225
cmp word [edi], ax
je 0x43e225
push str.True
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e225
cmp word [edi], 0x31
jne 0x43e1e5
cmp word [edi + 2], 0
je 0x43e225
push str.False
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e20c
cmp word [edi], 0x30
jne 0x43e3fc
cmp word [edi + 2], 0
jne 0x43e3fc
mov byte [0x4e7e7c], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e7e7c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreads
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e2a1
test edi, edi
je 0x43dc8a
mov ecx, edi
call fcn.00481e00
cmp eax, 0xff
jle 0x43e282
mov eax, 0xff
mov dword [0x4e37f4], 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 [0x4e37f4], 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.0049ecd1
add esp, 8
test eax, eax
jne 0x43e338
test edi, edi
je 0x43e31f
cmp word [edi], ax
je 0x43e31f
push str.True
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e31f
cmp word [edi], 0x31
jne 0x43e2df
cmp word [edi + 2], 0
je 0x43e31f
push str.False
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e306
cmp word [edi], 0x30
jne 0x43e43c
cmp word [edi + 2], 0
jne 0x43e43c
mov byte [0x4e7e7b], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e7e7b], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ClipboardTimeout
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e370
test edi, edi
je 0x43dc8a
mov ecx, edi
call fcn.00481e00
mov dword [0x4e3808], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.WinActivateForce
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e39b
mov byte [0x4e7eee], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ErrorStdOut
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e416
test edi, edi
je 0x43e3dd
movzx eax, word [edi]
cmp eax, 0x22
je 0x43e3be
cmp eax, 0x27
jne 0x43e3dd
lea esi, [edi + 2]
push 0
push esi
call fcn.0049c861
add esp, 8
mov cx, word [eax - 2]
cmp cx, word [edi]
jne 0x43e3dd
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
mov ecx, edi
call fcn.0040c140
cmp eax, 0xffffffff
mov dword [ebp + 0x6d8], eax
setne cl
mov byte [ebp + 0x6d7], cl
jne 0x43dc8a
push edi
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.InputLevel
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e46f
test edi, edi
je 0x43e456
mov ecx, edi
call fcn.00481e00
test eax, eax
js 0x43e43c
cmp eax, 0x64
jle 0x43e458
push ebx
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
xor eax, eax
mov byte [0x4e7e79], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Warn
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43e5c9
test edi, edi
mov eax, 0x4cdea8
push 0x2c
cmovne eax, edi
mov edi, eax
mov dword [esp + 0x18], eax
push edi
call fcn.0049c861
mov ecx, eax
add esp, 8
mov ebx, 0x4cdea8
test ecx, ecx
je 0x43e4ea
lea ebx, [ecx + 2]
nop
movzx eax, word [ebx]
cmp eax, 0x20
je 0x43e4bd
cmp eax, 9
jne 0x43e4c2
add ebx, 2
jmp 0x43e4b0
lea eax, [ecx - 2]
cmp eax, edi
jbe 0x43e4e4
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43e4dd
cmp ecx, 9
jne 0x43e4e4
sub eax, 2
cmp eax, edi
ja 0x43e4d0
xor ecx, ecx
mov word [eax + 2], cx
cmp word [edi], 0
mov esi, 3
je 0x43e53a
xor esi, esi
nop word [eax + eax]
push dword [esi*4 + 0x4d84bc]
push edi
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e53a
inc esi
cmp esi, 4
jne 0x43e500
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [ebx], 0
mov edi, 2
je 0x43e584
xor edi, edi
nop word [eax + eax]
push dword [edi*4 + 0x4d84ac]
push ebx
call fcn.0049ecd1
add esp, 8
test eax, eax
je 0x43e584
inc edi
cmp edi, 4
jne 0x43e550
push ebx
push str.Parameter_2_invalid.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test esi, esi
je 0x43e58d
cmp esi, 3
jne 0x43e593
mov dword [0x4e7ce8], edi
cmp esi, 1
je 0x43e59d
cmp esi, 3
jne 0x43e5a3
mov dword [0x4e3d6c], edi
cmp esi, 2
je 0x43e5b1
cmp esi, 3
jne 0x43dc8a
mov dword [0x4e380c], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Requires
push esi
call fcn.0049ecd1
add esp, 8
test eax, eax
jne 0x43da8a
test edi, edi
jne 0x43e601
push 0x4cdea8
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0xa
push 0x4ce024
push edi
call fcn.0049ee52
add esp, 0xc
test eax, eax
jne 0x43e6d8
movzx eax, word [edi + 0x14]
test ax, ax
je 0x43dc8a
cmp eax, 0x20
je 0x43e634
cmp eax, 9
jne 0x43e6d8
lea ebx, [edi + 0x16]
mov ecx, ebx
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x43e64d
cmp eax, 9
jne 0x43e652
add ecx, 2
jmp 0x43e640
test ax, ax
je 0x43dc8a
mov ebx, ecx
mov edx, eax
nop
cmp dx, 0x20
je 0x43e67a
cmp dx, 9
je 0x43e67a
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
test ax, ax
jne 0x43e660
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.004aa2c4
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.0049ecd1
add esp, 8
test eax, eax
je 0x43e637
push 0
lea edx, [esp + 0x2c]
mov ecx, 0x4bd514
call fcn.004840d0
add esp, 4
test eax, eax
jne 0x43e637
push dword [ebp + 0x6c4]
lea eax, [esp + 0xac]
push str.32_bit
push 0x4bd514
push 0x4ce024
push edi
push str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
push 0x200
push eax
call fcn.00481670
add esp, 0x20
lea eax, [esp + 0xa8]
mov ecx, ebp
push 0x4cdea8
push eax
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test edi, edi
jne 0x43e747
push ebx
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43e758
mov edx, ecx
cmp eax, 0x27
jne 0x43e77c
lea esi, [edi + 2]
push 0
push esi
call fcn.0049c861
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43e77c
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 0x43e7a6
push 0x4cdea8
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp eax, 0x2a
jne 0x43e7ed
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 0x43e7e9
movzx eax, word [edi + 4]
cmp eax, 0x20
je 0x43e7db
cmp eax, 9
jne 0x43e7e9
movzx eax, word [edi + 6]
add edi, 6
mov byte [esp + 0x10], 1
jmp 0x43e7f5
mov eax, dword [esp + 0x10]
mov byte [esp + 0x10], 0
movzx eax, ax
cmp ax, 0x3c
jne 0x43e8a3
push 0x3e
push edi
call fcn.0049c861
mov esi, eax
add esp, 8
test esi, esi
je 0x43e8a3
cmp word [esi + 2], 0
jne 0x43e8a3
xor eax, eax
add edi, 2
mov word [esi], ax
call fcn.004502d0
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.00443300
mov edi, dword [esp + 0x14]
test edi, edi
je 0x43e861
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call fcn.0049edd2
add esp, 4
mov al, byte [esp + 0x1a]
test al, al
jne 0x43e87d
cmp byte [esp + 0x1b], al
jne 0x43dc8a
cmp byte [esp + 0x10], al
jne 0x43dc8a
mov ecx, 0x3e
mov word [esi], cx
test al, al
jne 0x43e8b4
push ebx
push str.Script_library_not_found.
mov ecx, ebp
call fcn.0040d610
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.0044c0c0
test eax, eax
jne 0x43e8c3
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 0x43e8fb
test al, 0x10
je 0x43e8fb
push esi
call fcn.00450220
add esp, 4
push esi
call fcn.0049edd2
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.004502d0
push dword [esp + 0x10]
mov ecx, ebp
mov ebx, eax
push dword [esp + 0x18]
push esi
call fcn.0043af80
neg eax
sbb edi, edi
and edi, 3
test ebx, ebx
je 0x43e92d
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.0049edd2
add esp, 4
push esi
call fcn.0049edd2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.0040db50
int3