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

Disassembly:
push 0xffffffffffffffff
push 0x10093769
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x18], ebx
call fcn.1004edd0
test al, al
jne 0x10050d5d
mov eax, dword [edi + 0x18]
mov eax, dword [eax - 0xc]
cmp eax, 3
lea esi, [edi + 0x18]
jl 0x10050b9a
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jge 0x10050b57
push ebx
push 0x1fb
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.10002400
cmp dword [eax - 0xc], 1
movzx edx, word [eax]
jl 0x10050b42
cmp dword [eax - 0xc], 2
movzx ecx, word [eax + 2]
jl 0x10050b42
movzx eax, word [eax + 4]
cmp cx, 0x3a
jne 0x10050b9a
cmp ax, 0x5c
je 0x10050b80
cmp ax, 0x2f
jne 0x10050b9a
lea ecx, [edx - 0x41]
cmp cx, 0x19
jbe 0x10050d5d
add edx, 0xffffff9f
cmp dx, 0x19
jbe 0x10050d5d
lea ecx, [esp + 0x18]
call fcn.10011580
mov dword [esp + 0x58], 1
mov ebx, dword [esp + 0x64]
mov eax, dword [ebx + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edi, [ebx + 0x18]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x10050be2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10050c17
cmp eax, 3
je 0x10050c17
push 0x235
push str..FilePath.cpp
call fcn.1004af90
mov eax, dword [edi]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x10050bfb
push 0x225
push str..FilePath.cpp
call fcn.1004af90
shr eax, 4
not al
and al, 1
je 0x10050c17
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.1004fa50
mov byte [esp + 0x58], 2
jmp 0x10050c3d
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x10050c2b
push edi
lea ecx, [esp + 0x34]
call fcn.100119a0
jmp 0x10050c58
lea ecx, [esp + 0x34]
push ecx
call fcn.100503a0
add esp, 4
mov byte [esp + 0x58], 3
add eax, 0x18
push eax
lea ecx, [esp + 0x34]
call fcn.100119a0
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x34]
call fcn.100115e0
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
jne 0x10050c8b
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.10011290
mov dword [esp + 0x14], 1
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x18]
call fcn.100115e0
jmp 0x10050d75
mov eax, edx
cmp dword [eax - 0xc], 0
jge 0x10050c9a
push 0
jmp 0x10050b43
movzx eax, word [eax]
cmp ax, 0x5c
je 0x10050ca9
cmp ax, 0x2f
jne 0x10050d13
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1004f950
mov bl, 4
mov byte [esp + 0x58], bl
push esi
add eax, 0x18
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.1004f060
add esp, 0xc
mov byte [esp + 0x58], 5
mov esi, dword [esp + 0x60]
push eax
mov ecx, esi
call fcn.10010370
mov dword [esp + 0x14], 1
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x64]
call fcn.10002320
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x34]
call fcn.100115e0
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x18]
call fcn.100115e0
jmp 0x10050d75
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.1004f060
add esp, 0xc
mov byte [esp + 0x58], 6
mov esi, dword [esp + 0x60]
push eax
mov ecx, esi
call fcn.10010370
mov dword [esp + 0x14], 1
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x64]
call fcn.10002320
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x18]
call fcn.100115e0
jmp 0x10050d75
mov esi, dword [esp + 0x60]
push edi
mov ecx, esi
call fcn.10011290
mov dword [esp + 0x58], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8