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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x348926a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x424], 0
cmp dword [ebp + 8], 0
je 0x348b186b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x348b16fc
mov ecx, dword [ebp - 0x214]
and ecx, 0x10
je 0x348b1663
push 0x103
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
jmp 0x348b1790
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea ecx, [ebp - 0x210]
push ecx
push 3
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.msvcr80.dll__wsplitpath_s]
add esp, 0x24
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.msvcr80.dll_wcslen]
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jbe 0x348b16b8
mov edx, dword [ebp - 0x424]
sub edx, 1
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x424]
mov word [ebp + eax*2 - 0x210], 0
push 0x103
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 0x103
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.MSO.dll_Ordinal_6873]
jmp 0x348b1790
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea edx, [ebp - 0x210]
push edx
push 3
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.msvcr80.dll__wsplitpath_s]
add esp, 0x24
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.msvcr80.dll_wcslen]
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jbe 0x348b1751
mov eax, dword [ebp - 0x424]
sub eax, 1
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
mov word [ebp + ecx*2 - 0x210], 0
push 0x103
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 0x103
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.MSO.dll_Ordinal_6873]
mov eax, dword [ebp - 0x42c]
cmp dword [eax + 4], 0
je 0x348b17c7
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
push eax
call fcn.348b689b
test eax, eax
je 0x348b17c0
mov eax, 0xfffffc16
jmp 0x348b1874
xor eax, eax
jmp 0x348b1874
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.msvcr80.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 0x1a]
mov dword [ebp - 0x428], edx
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.msvcr80.dll_malloc]
add esp, 4
mov ecx, dword [ebp - 0x42c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x42c]
cmp dword [edx + 4], 0
je 0x348b1864
mov eax, dword [ebp - 0x428]
shr eax, 1
push eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov ecx, dword [ebp - 0x428]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
push eax
push 0x34891acc
call dword [sym.imp.MSO.dll_Ordinal_6873]
mov ecx, dword [ebp - 0x428]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
push eax
push 0x34891be8
call dword [sym.imp.MSO.dll_Ordinal_6873]
jmp 0x348b1872
mov eax, 0xfffffc0d
jmp 0x348b1874
mov eax, 0xfffffc16
jmp 0x348b1874
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.348b858b
mov esp, ebp
pop ebp
ret 4