Function at 0x43dcf0
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 + 0xc], 0x90020
mov word [esp + 0x10], ax
push ebx
mov ebx, edx
push ebp
mov ebp, ecx
push esi
push edi
test edx, edx
je 0x43dd58
movzx eax, word [edx]
test ax, ax
je 0x43dd58
mov esi, eax
lea ecx, [esp + 0x1c]
mov edx, 0x20
nop dword [eax + eax]
cmp si, dx
je 0x43dd91
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43dd30
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43dd22
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 0x43dd60
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 0x43ddb3
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 0x43dda0
cmp eax, 9
jne 0x43dda5
add edi, 2
jmp 0x43dd93
mov edx, dword [esp + 0x4ac]
test ax, ax
jne 0x43dd74
jmp 0x43dd72
cmp word [ebx], 0
je 0x43ddd5
push esi
push edx
lea eax, [esp + 0x70]
push eax
call fcn.004aa8c4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x68], ax
lea esi, [esp + 0x68]
jmp 0x43ddd7
mov esi, edx
push str.Include
push esi
mov byte [esp + 0x18], 0
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e9f9
push str.IncludeAgain
push esi
call fcn.0049f121
add esp, 8
test eax, eax
sete byte [esp + 0x10]
test eax, eax
je 0x43e9f9
push str.DllLoad
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43df63
test edi, edi
jne 0x43de56
push edi
call dword [sym.imp.KERNEL32.DLL_SetDllDirectoryW]
test eax, eax
jne 0x43df7c
push 0x4cee20
push str.An_internal_function_call_failed.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43de67
mov edx, ecx
cmp eax, 0x27
jne 0x43de8b
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ccaf
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43de8b
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
cmp dx, 0x2a
jne 0x43decb
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 0x43decb
movzx eax, word [edi + 4]
add edi, 4
mov bl, 1
cmp eax, 0x20
je 0x43dec6
cmp eax, 9
jne 0x43decd
add edi, 2
jmp 0x43decd
xor bl, bl
push edi
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0044c400
test eax, eax
je 0x43eb82
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43df0f
test al, 0x10
je 0x43df0f
push edi
call dword [sym.imp.KERNEL32.DLL_SetDllDirectoryW]
push edi
mov esi, eax
call fcn.0049f222
add esp, 4
test esi, esi
jmp 0x43de32
push edi
mov esi, 3
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x43df38
lea eax, [esp + 0x14]
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleExW]
cmp dword [esp + 0x14], 0
jne 0x43df4b
test bl, bl
jne 0x43df4b
push edi
push 0x4d4a48
mov ecx, ebp
call fcn.0040d800
mov esi, eax
push edi
call fcn.0049f222
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.0049f121
add esp, 8
test eax, eax
jne 0x43df8e
mov byte [0x4e8e2c], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.SingleInstance
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e067
test edi, edi
je 0x43e04b
push str.Force
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e04b
push 0x4d7764
push edi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43dff0
mov dword [0x4e47a0], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Ignore
push edi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e01e
mov dword [0x4e47a0], 3
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4d3d78
push edi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e70c
mov dword [0x4e47a0], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov dword [0x4e47a0], 2
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.UseHook
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e0fe
test edi, edi
je 0x43e0e5
cmp word [edi], ax
je 0x43e0e5
push str.True
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e0e5
cmp word [edi], 0x31
jne 0x43e0a5
cmp word [edi + 2], 0
je 0x43e0e5
push str.False
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e0cc
cmp word [edi], 0x30
jne 0x43e6cc
cmp word [edi + 2], 0
jne 0x43e6cc
mov byte [0x4e8c39], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8c39], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIf
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e28e
cmp dword [ebp + 0x54], eax
jne 0x43e270
mov esi, dword [0x4e4798]
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp + 0x1c]
jne 0x43e270
test edi, edi
jne 0x43e146
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.00413db0
mov dword [esi + 0x58], eax
test eax, eax
jne 0x43df7c
mov eax, dword [ebp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0044f650
mov ecx, dword [ebp + 0x1c]
call fcn.004146e0
cmp eax, 1
je 0x43e19c
cmp eax, 0xa00e0001
jne 0x43eb82
push 0x4cee20
push str.Out_of_memory.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [edi], 0
je 0x43e1ea
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43e1a7
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x14], eax
call fcn.0047ddc0
mov ebx, eax
test ebx, ebx
je 0x43ec13
test esi, esi
mov esi, dword [esp + 0x14]
je 0x43e1e2
push esi
push edi
push ebx
call fcn.0049cd60
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x43e1ef
mov ebx, 0x4cee20
mov eax, dword [0x4e4798]
mov ecx, ebp
push 0
push 0
push 0
mov eax, dword [eax + 0x58]
push 0
push 3
mov dword [eax + 0xc], ebx
mov esi, dword [ebp + 0x1c]
call fcn.00440290
test eax, eax
je 0x43e17e
push 0
push 0
push 6
push edi
mov ecx, ebp
call fcn.0043ed30
test eax, eax
je 0x43e17e
push 0
push 0
push 0
push 0
push 4
mov ecx, ebp
call fcn.00440290
test eax, eax
je 0x43e17e
mov ecx, dword [esi + 0x28]
mov edx, dword [0x4e4798]
mov eax, dword [edx + 0x58]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x1c], eax
mov dword [edx + 0x18], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4cee20
push str.Invalid_usage.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.HotIfTimeout
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e2c6
test edi, edi
je 0x43df7c
mov ecx, edi
call fcn.00481720
mov dword [0x4e4d00], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Hotstring
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e414
test edi, edi
je 0x43df7c
mov edx, str.EndChars
mov ecx, edi
call fcn.004812d0
mov ebx, eax
test ebx, ebx
je 0x43e38c
movzx eax, word [ebx]
test ax, ax
je 0x43df7c
mov esi, eax
nop dword [eax + eax]
mov ecx, 0x4d77cc
mov edx, 9
nop word [eax + eax]
cmp si, dx
je 0x43e353
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43e320
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43e310
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.004aa8c4
add esp, 0xc
xor eax, eax
xor edx, edx
mov word [0x4e4cf8], ax
mov ecx, str._____:____.___n__t
call fcn.00483360
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.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43e3b7
mov byte [0x4e4859], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0x4e8dbb
push 0x4e8c01
push 0x4e8c3a
push 0x4e8c3b
push 0x4e485a
push 0x4e8ce6
push 0x4e8ce4
push 0x4e485b
push 0x4e4c2c
push 0x4e8ce5
push 0x4e4cfc
push 0x4e8ce8
mov edx, 0x4e8cec
mov ecx, edi
call fcn.00416990
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.0049f121
add esp, 8
test eax, eax
jne 0x43e477
test edi, edi
je 0x43df7c
mov ecx, edi
call fcn.00481720
cmp eax, 0xff
jle 0x43e458
mov eax, 0xff
mov byte [0x4e4c2d], 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 [0x4e4c2d], 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.0049f121
add esp, 8
test eax, eax
jne 0x43e50e
test edi, edi
je 0x43e4f5
cmp word [edi], ax
je 0x43e4f5
push str.True
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e4f5
cmp word [edi], 0x31
jne 0x43e4b5
cmp word [edi + 2], 0
je 0x43e4f5
push str.False
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e4dc
cmp word [edi], 0x30
jne 0x43e6cc
cmp word [edi + 2], 0
jne 0x43e6cc
mov byte [0x4e8e28], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8e28], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.MaxThreads
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e571
test edi, edi
je 0x43df7c
mov ecx, edi
call fcn.00481720
cmp eax, 0xff
jle 0x43e552
mov eax, 0xff
mov dword [0x4e4794], 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 [0x4e4794], 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.0049f121
add esp, 8
test eax, eax
jne 0x43e608
test edi, edi
je 0x43e5ef
cmp word [edi], ax
je 0x43e5ef
push str.True
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e5ef
cmp word [edi], 0x31
jne 0x43e5af
cmp word [edi + 2], 0
je 0x43e5ef
push str.False
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e5d6
cmp word [edi], 0x30
jne 0x43e70c
cmp word [edi + 2], 0
jne 0x43e70c
mov byte [0x4e8c00], 0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
mov byte [0x4e8c00], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ClipboardTimeout
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e640
test edi, edi
je 0x43df7c
mov ecx, edi
call fcn.00481720
mov dword [0x4e47a8], eax
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.WinActivateForce
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e66b
mov byte [0x4e8e2e], 1
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.ErrorStdOut
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e6e6
test edi, edi
je 0x43e6ad
movzx eax, word [edi]
cmp eax, 0x22
je 0x43e68e
cmp eax, 0x27
jne 0x43e6ad
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ccaf
add esp, 8
mov cx, word [eax - 2]
cmp cx, word [edi]
jne 0x43e6ad
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
mov ecx, edi
call fcn.0040c3a0
cmp eax, 0xffffffff
mov dword [ebp + 0x6d0], eax
setne cl
mov byte [ebp + 0x6cf], cl
jne 0x43df7c
push edi
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.InputLevel
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e745
test edi, edi
je 0x43e72c
mov ecx, edi
call fcn.00481720
test eax, eax
js 0x43e70c
cmp eax, 0x64
jle 0x43e72e
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
xor eax, eax
mov byte [0x4e8dba], al
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Warn
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43e899
test edi, edi
mov eax, 0x4cee20
push 0x2c
cmovne eax, edi
mov edi, eax
mov dword [esp + 0x14], eax
push edi
call fcn.0049ccaf
mov ecx, eax
add esp, 8
mov ebx, 0x4cee20
test ecx, ecx
je 0x43e7ba
lea ebx, [ecx + 2]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x43e791
cmp eax, 9
jne 0x43e796
add ebx, 2
jmp 0x43e784
lea eax, [ecx - 2]
cmp eax, edi
jbe 0x43e7b4
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43e7ad
cmp ecx, 9
jne 0x43e7b4
sub eax, 2
cmp eax, edi
ja 0x43e7a0
xor ecx, ecx
mov word [eax + 2], cx
cmp word [edi], 0
mov esi, 3
je 0x43e80a
xor esi, esi
nop word [eax + eax]
push dword [esi*4 + 0x4d953c]
push edi
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e80a
inc esi
cmp esi, 4
jne 0x43e7d0
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_invalid.
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp word [ebx], 0
mov edi, 2
je 0x43e854
xor edi, edi
nop word [eax + eax]
push dword [edi*4 + 0x4d952c]
push ebx
call fcn.0049f121
add esp, 8
test eax, eax
je 0x43e854
inc edi
cmp edi, 4
jne 0x43e820
push ebx
push str.Parameter_2_invalid.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test esi, esi
je 0x43e85d
cmp esi, 3
jne 0x43e863
mov dword [0x4e8c28], edi
cmp esi, 1
je 0x43e86d
cmp esi, 3
jne 0x43e873
mov dword [0x4e4d0c], edi
cmp esi, 2
je 0x43e881
cmp esi, 3
jne 0x43df7c
mov dword [0x4e47ac], edi
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push str.Requires
push esi
call fcn.0049f121
add esp, 8
test eax, eax
jne 0x43dd7f
test edi, edi
jne 0x43e8d1
push 0x4cee20
push str.Parameter_1_required
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push 0xa
push 0x4cef9c
push edi
call fcn.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43e9a8
movzx eax, word [edi + 0x14]
test ax, ax
je 0x43df7c
cmp eax, 0x20
je 0x43e904
cmp eax, 9
jne 0x43e9a8
lea ebx, [edi + 0x16]
mov ecx, ebx
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x43e91d
cmp eax, 9
jne 0x43e922
add ecx, 2
jmp 0x43e910
test ax, ax
je 0x43df7c
mov ebx, ecx
mov edx, eax
nop
cmp dx, 0x20
je 0x43e94a
cmp dx, 9
je 0x43e94a
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
test ax, ax
jne 0x43e930
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.004aa8c4
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.0049f121
add esp, 8
test eax, eax
je 0x43e907
push 0
lea edx, [esp + 0x2c]
mov ecx, 0x4be4a8
call fcn.004839d0
add esp, 4
test eax, eax
jne 0x43e907
push dword [ebp + 0x6bc]
lea eax, [esp + 0xac]
push str.32_bit
push 0x4be4a8
push 0x4cef9c
push edi
push str.This_script_requires__s._n_nCurrent_interpreter:__s_v_s__s_n_s
push 0x200
push eax
call fcn.00480f70
add esp, 0x20
lea eax, [esp + 0xa8]
mov ecx, ebp
push 0x4cee20
push eax
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
test edi, edi
jne 0x43ea1d
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Parameter_1_required
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
movzx eax, word [edi]
mov ecx, eax
cmp eax, 0x22
je 0x43ea2e
mov edx, ecx
cmp eax, 0x27
jne 0x43ea52
lea esi, [edi + 2]
push 0
push esi
call fcn.0049ccaf
movzx ecx, word [edi]
add esp, 8
mov edx, ecx
cmp word [eax - 2], cx
jne 0x43ea52
xor ecx, ecx
mov edi, esi
mov word [eax - 2], cx
movzx edx, word [esi]
movzx eax, dx
test ax, ax
jne 0x43ea78
push 0x4cee20
push str.Parameter_1_invalid.
mov ecx, ebp
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
cmp eax, 0x2a
jne 0x43eab1
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 0x43eab1
movzx eax, word [edi + 4]
cmp eax, 0x20
je 0x43eaad
cmp eax, 9
jne 0x43eab1
mov bl, 1
jmp 0x43eab3
xor bl, bl
test bl, bl
mov byte [esp + 0x14], bl
lea esi, [edi + 6]
cmove esi, edi
cmp word [esi], 0x3c
jne 0x43eb71
push 0x3e
push esi
call fcn.0049ccaf
mov edi, eax
add esp, 8
test edi, edi
je 0x43eb71
cmp word [edi + 2], 0
jne 0x43eb71
xor eax, eax
add esi, 2
mov word [edi], ax
call fcn.004505e0
mov dword [esp + 0x10], eax
mov ecx, edi
lea eax, [esp + 0x1b]
sub ecx, esi
push eax
lea eax, [esp + 0x1e]
sar ecx, 1
push eax
push ecx
push esi
mov ecx, ebp
call fcn.00443660
mov esi, dword [esp + 0x10]
test esi, esi
je 0x43eb2b
push esi
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push esi
call fcn.0049f222
add esp, 4
mov al, byte [esp + 0x1a]
test al, al
jne 0x43eb45
cmp byte [esp + 0x1b], al
jne 0x43df7c
test bl, bl
jne 0x43df7c
mov ecx, 0x3e
mov word [edi], cx
test al, al
jne 0x43eb82
push dword [esp + 0x4ac]
mov ecx, ebp
push str.Script_library_not_found.
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
push esi
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.0044c400
test eax, eax
jne 0x43eb91
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 0x43ebc9
test al, 0x10
je 0x43ebc9
push esi
call fcn.00450510
add esp, 4
push esi
call fcn.0049f222
mov eax, 3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.004505e0
push dword [esp + 0x14]
mov ecx, ebp
mov ebx, eax
push dword [esp + 0x14]
push esi
call fcn.0043b190
neg eax
sbb edi, edi
and edi, 3
test ebx, ebx
je 0x43ebfb
push ebx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push ebx
call fcn.0049f222
add esp, 4
push esi
call fcn.0049f222
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 4
call fcn.0040dd40
int3