Function at 0x43e081
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x740
mov eax, 0x4a78b8
call fcn.004878f8
mov esi, ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0043c513
mov eax, dword [ebp + 0x10]
xor ebx, ebx
lea edi, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.00404347
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x60]
call fcn.00404347
mov eax, dword [ebp + 0x18]
lea edi, [ebp - 0x64]
call fcn.00404347
mov edi, dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e0d9
test al, 0x10
jne 0x43e17c
cmp dword [0x4e0da8], ebx
je 0x43e13b
mov edi, dword [edi]
push str._is_not_directory
push edi
push 0x4b3fb8
push str.KCommonPopMgr::HandleResPath
push 0x4b3f84
lea eax, [ebp + 0xc]
push eax
push 0x4b3f80
push ecx
mov dword [ebp + 0xc], 0x136
call fcn.00422cfe
add esp, 4
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
push str.not_directory
lea eax, [ebp + 0xc]
push eax
call fcn.00405f0e
mov byte [ebp - 4], 1
sub esp, 0x30
mov eax, esp
mov dword [ebp + 0x18], esp
push eax
lea edi, [ebp - 0x70]
call fcn.0043dfb3
lea eax, [ebp + 0xc]
push eax
push 3
push dword [ebp + 8]
call fcn.0043e5b5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x43e508
push edi
call fcn.0043e51d
test eax, eax
jne 0x43e1f3
cmp dword [0x4e0da8], ebx
je 0x43e1dc
push str.ResPath_is_invalid
push 0x4b3fb8
push str.KCommonPopMgr::HandleResPath
push 0x4b3f84
lea eax, [ebp + 0xc]
push eax
push 0x4b3f80
mov dword [ebp + 0xc], 0x13d
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
push str.not_valid_path
lea eax, [ebp + 0xc]
push eax
call fcn.00405f0e
mov byte [ebp - 4], 2
jmp 0x43e14d
mov eax, esi
call fcn.0043e686
test eax, eax
je 0x43e25a
lea eax, [ebp - 0x38]
push eax
call fcn.0042a817
mov eax, edi
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404347
lea eax, [ebp - 0x74c]
push eax
call fcn.0047e55b
lea ecx, [ebp - 0x38]
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0047f25e
lea eax, [ebp - 0x74c]
push eax
mov byte [ebp - 4], 3
call fcn.0047e607
push dword [ebp - 0x28]
call fcn.0043d0a5
pop ecx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0
call fcn.0042a875
mov edi, dword [ebp + 0xc]
jmp 0x43e262
push dword [edi]
call fcn.0043d0a5
pop ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43e2c4
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043e8aa
mov eax, dword [ebx + 4]
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
call fcn.004221af
test al, al
jne 0x43e2cf
mov edi, dword [ebp - 0x40]
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x43e2ac
call ebx
mov esi, dword [ebp - 0x3c]
cmp esi, dword [edi + 4]
jne 0x43e2b6
call ebx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43e2cf
call eax
mov edi, dword [ebp + 0xc]
jmp 0x43e2c9
call fcn.0043cd34
mov ebx, eax
test ebx, ebx
jne 0x43e33d
cmp dword [0x4e0da8], 0
je 0x43e326
push str.respath_ICommonPop_create_fail
push 0x4b3fb8
push str.KCommonPopMgr::HandleResPath
push 0x4b3f84
lea eax, [ebp + 0xc]
push eax
push 0x4b3f80
mov dword [ebp + 0xc], 0x164
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
push str.create_pop_fail
lea eax, [ebp + 0xc]
push eax
call fcn.00405f0e
mov byte [ebp - 4], 5
jmp 0x43e14d
cmp dword [0x4e0da8], 0
je 0x43e394
push str.report__for_test
push 0x4b3fb8
push str.KCommonPopMgr::HandleResPath
push 0x4b3f84
lea eax, [ebp + 0xc]
push eax
push 0x4b3f80
mov dword [ebp + 0xc], 0x169
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
lea eax, [ebp - 0x38]
push eax
call fcn.0042a817
mov eax, edi
mov byte [ebp - 4], 6
lea edi, [ebp - 0x28]
mov dword [ebp - 0x38], 1
call fcn.00404347
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x43e3f7
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], 0
je 0x43e3f7
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x43e3f7
lea edi, [ebp - 0x2c]
call fcn.00404347
mov eax, dword [ebp + 0x18]
lea edi, [ebp - 0x30]
call fcn.00404347
mov eax, esi
lea edi, [ebp - 0x34]
call fcn.00404347
mov dword [ebp - 0x38], 3
lea eax, [ebp - 0x28]
push eax
call fcn.004670b2
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0043c0f9
mov esi, eax
call fcn.0043c12c
mov ecx, dword [ebp + 8]
push dword [ecx + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, ebx
call dword [eax]
test eax, eax
jne 0x43e488
cmp dword [0x4e0da8], eax
je 0x43e4eb
mov dword [ebp + 8], 0x17c
push str.pCommonPop__Initialize___error
push 0x4b3fb8
push str.KCommonPopMgr::HandleResPath
push 0x4b3f84
lea eax, [ebp + 8]
push eax
push 0x4b3f80
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
jmp 0x43e4eb
mov eax, dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.MSVCR80.dll__wtoi]
mov eax, dword [ebx]
pop ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
jne 0x43e4b5
cmp dword [0x4e0da8], eax
je 0x43e4eb
mov dword [ebp + 8], 0x185
push str.ICommonPop_can_not_show
jmp 0x43e444
call fcn.004598ef
cmp dword [0x4e0e68], 0
jne 0x43e4e2
call fcn.00451d31
cmp eax, 9
jl 0x43e4e2
push str.jscript9.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4e0e68], 1
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0
call fcn.0042a875
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x40]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.0043df44
call fcn.004879d0
ret 0x14