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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10034
call fcn.004b57a0
mov ecx, dword [0x4ea600]
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
cmove esi, dword [0x4ea5e4]
mov word [0x4ea604], 0
test ecx, ecx
jne 0x43a52e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a528
cmp byte [0x4ea607], 0
jne 0x43a460
push esi
push str.Script_file_not_found.
push str._s_n_s
lea eax, [esp + 0x1c]
push 0x8018
push eax
call fcn.00481800
add esp, 0x14
lea ecx, [esp + 0x10]
xorps xmm3, xmm3
mov edx, 0x10
push 0
push 0
call fcn.00486cb0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4ea574]
mov al, byte [0x4ea604]
mov dword [0x4e9070], 0x4ea5e4
test ecx, ecx
je 0x43a4c4
test al, al
je 0x43a4c8
mov eax, dword [0x4e47f8]
cmp dword [eax + 0x34], 0
jne 0x43a49f
cmp dword [0x4ea5ac], 0
jne 0x43a49f
cmp byte [0x4e9ec6], 0
jne 0x43a49f
push 0
push ecx
jmp 0x43a506
push 0
push 0
push ecx
push 0x4ceea8
push str.Script_file_not_found.
mov ecx, 0x4e9f30
call fcn.0040c280
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test al, al
jne 0x43a502
test ecx, ecx
je 0x43a4d5
movzx eax, word [ecx + 2]
mov ecx, dword [ecx + 4]
jmp 0x43a4e0
mov eax, dword [0x4ea1ac]
mov ecx, dword [0x4ea1b0]
push ecx
push eax
push 0x4ceea8
push str.Script_file_not_found.
mov ecx, 0x4e9f30
call fcn.0040c730
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0x4ceea8
push 0
push str.Script_file_not_found.
mov ecx, 0x4e9f30
call fcn.0040d460
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4ea600]
mov ebx, dword [0x4e9074]
cmp ecx, 2
push 0
mov eax, 0x4d2abc
mov dword [esp + 0x10], 0
cmovne eax, esi
mov ecx, 0x4e9f30
push 0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0043a9e0
mov esi, dword [esp + 0xc]
mov edi, eax
cmp edi, 3
jne 0x43a574
push ebx
push esi
mov ecx, 0x4e9f30
call fcn.0043b150
mov edi, eax
test esi, esi
je 0x43a580
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test edi, edi
je 0x43a51c
push 0
mov byte [0x4e8e7b], 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x43a660
mov edx, dword [0x4ea574]
mov al, byte [0x4ea604]
test edx, edx
je 0x43a604
test al, al
je 0x43a604
mov eax, dword [0x4e47f8]
cmp dword [eax + 0x34], 0
jne 0x43a5df
cmp dword [0x4ea5ac], 0
jne 0x43a5df
cmp byte [0x4e9ec6], 0
jne 0x43a5df
push 0
push edx
push 0x4ceea8
push 0
push str.An_internal_function_call_failed.
jmp 0x43a512
push 0
push 0
push edx
push 0x4ceea8
push str.An_internal_function_call_failed.
mov ecx, 0x4e9f30
call fcn.0040c280
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [0x4ea607], 0
je 0x43a64b
test al, al
jne 0x43a64b
test edx, edx
je 0x43a61e
movzx eax, word [edx + 2]
mov ecx, dword [edx + 4]
jmp 0x43a629
mov eax, dword [0x4ea1ac]
mov ecx, dword [0x4ea1b0]
push ecx
push eax
push 0x4ceea8
push str.An_internal_function_call_failed.
mov ecx, 0x4e9f30
call fcn.0040c730
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0x4ceea8
push 0
push str.An_internal_function_call_failed.
jmp 0x43a512
push dword [0x4e9f30]
mov ecx, 0x4e9f30
call fcn.00444920
test eax, eax
je 0x43a51c
push 0x4e9f54
mov ecx, 0x4e9f30
call fcn.004449f0
test eax, eax
je 0x43a51c
push 0x4e9f40
mov ecx, 0x4e9f30
call fcn.004449f0
test eax, eax
je 0x43a51c
mov ecx, 0x4e9f30
call fcn.0044cdc0
test eax, eax
je 0x43a51c
xor esi, esi
cmp dword [0x4e9f58], esi
jle 0x43a6e0
mov eax, dword [0x4e9f54]
push dword [eax + esi*4]
call fcn.0044cb20
test eax, eax
je 0x43a51c
inc esi
cmp esi, dword [0x4e9f58]
jl 0x43a6c2
xor esi, esi
cmp dword [0x4e9f44], esi
jle 0x43a70e
nop word [eax + eax]
mov eax, dword [0x4e9f40]
push dword [eax + esi*4]
call fcn.0044cb20
test eax, eax
je 0x43a51c
inc esi
cmp esi, dword [0x4e9f44]
jl 0x43a6f0
push dword [0x4e9f54]
call fcn.0049ef92
mov edx, dword [0x4ea1a0]
add esp, 4
test edx, edx
je 0x43a80f
mov eax, dword [edx + 0x10]
cmp dword [eax + 4], 0
je 0x43a7ff
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0x18]
test ecx, ecx
je 0x43a7ff
lea eax, [esp + 0xc]
push eax
push str.Line
call fcn.00479120
test eax, eax
je 0x43a79f
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43a78a
cmp ecx, 6
je 0x43a776
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x4ea1ac], eax
mov dword [0x4ea1b0], ecx
jmp 0x43a7aa
mov ecx, 0x4ceea8
xor eax, eax
mov dword [0x4ea1ac], eax
mov dword [0x4ea1b0], ecx
jmp 0x43a7aa
mov eax, dword [eax]
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
mov dword [0x4ea1ac], eax
mov dword [0x4ea1b0], ecx
jmp 0x43a7aa
mov ecx, dword [0x4ea1b0]
mov eax, dword [0x4ea1ac]
test esi, esi
mov dword [0x4ea574], 0
mov edx, 0x4ceea8
cmovne edx, esi
cmp byte [0x4ea607], 0
je 0x43a7ee
cmp byte [0x4ea604], 0
jne 0x43a7ee
push ecx
push eax
push edx
push str.Unknown_class.
mov ecx, 0x4e9f30
call fcn.0040c730
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push edx
push 0
push str.Unknown_class.
jmp 0x43a512
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov dword [0x4ea1a0], 0
push dword [0x4ea5e8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
push dword [0x4ea5e8]
mov ecx, 0x4e5e98
call fcn.0044dd30
push 0
push 0
push 0
push 0
push 7
mov ecx, 0x4e9f30
call fcn.00440080
test eax, eax
je 0x43a51c
push dword [0x4e9f30]
mov ecx, 0x4e9f30
call fcn.00444aa0
test eax, eax
je 0x43a51c
xor eax, eax
cmp byte [0x4ea60c], al
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4