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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443ee0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x56211c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push esi
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xdc], ebx
mov word [ebx], ax
call fcn.0040a850
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebp - 4], 2
xor ecx, ecx
push 0xffffffffffffffff
lea eax, [ebx + 0x20]
mov dword [eax + 0x14], 7
push ecx
push edi
mov dword [eax + 0x10], 0
lea edi, [ebx + 0x20]
mov word [eax], cx
mov ecx, edi
mov dword [ebp - 0xdc], eax
call fcn.0040a850
mov byte [ebp - 4], 4
lea eax, [ebx + 0x3c]
push 0x250
push 0
push eax
mov dword [ebx + 0x38], 0xffffffff
call sub.MSVCR120.dll_memset
push 0x34
lea esi, [ebx + 0x28c]
push 0
push esi
call sub.MSVCR120.dll_memset
push 0x250
lea eax, [ebx + 0x3c]
mov byte [ebx + 0x2c0], 1
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x34
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0x30
cmp dword [ebx + 0x10], 0
jne 0x41deb7
cmp dword [ebx + 0x30], 0
je 0x41e2e2
mov eax, dword [0x563354]
test al, 1
jne 0x41dee2
or eax, 1
mov dword [0x563354], eax
mov byte [ebp - 4], 5
push 0x4478c0
call fcn.0043ba61
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [0x563354]
cmp dword [ebx + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x41e015
cmp dword [ebx + 0x14], 8
jb 0x41defc
mov eax, dword [ebx]
jmp 0x41defe
mov eax, ebx
push eax
call esi
cmp eax, 0xffffffff
je 0x41e010
shr eax, 4
not al
and al, 1
je 0x41e010
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.0040cb60
mov byte [ebp - 4], 6
mov edx, eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041ef50
add esp, 4
mov byte [ebp - 4], 7
mov ecx, edi
push 0xffffffffffffffff
push 0
push eax
call fcn.0040a850
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x41df5c
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x60]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4c], 8
jb 0x41df8f
push dword [ebp - 0x60]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov ecx, ebx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
push eax
call fcn.0040cda0
mov esi, eax
mov byte [ebp - 4], 0xb
cmp ebx, esi
je 0x41dfd0
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.0040a850
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x60]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4c], 8
jb 0x41dff3
push dword [ebp - 0x60]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
lea ecx, [ecx]
mov eax, dword [0x563354]
test al, 1
jne 0x41e036
or eax, 1
mov dword [0x563354], eax
mov byte [ebp - 4], 0xe
push 0x4478c0
call fcn.0043ba61
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebx + 0x10], 0
jne 0x41e040
mov al, 1
jmp 0x41e05d
cmp dword [ebx + 0x14], 8
jb 0x41e04a
mov eax, dword [ebx]
jmp 0x41e04c
mov eax, ebx
push eax
call esi
cmp eax, 0xffffffff
jne 0x41e058
xor al, al
jmp 0x41e05d
shr eax, 4
and al, 1
test al, al
jne 0x41e169
push str.DirectoryIterator.cpp_61__:_System::DirectoryIteratorImpl::DirectoryIteratorImpl
lea ecx, [ebp - 0x40]
call fcn.00422c20
mov byte [ebp - 4], 0xf
push str.:_Throwing_Lang::Exception_m_path.toString______is_not_a_directory____r_n
push str.DirectoryIterator.cpp_61__:_System::DirectoryIteratorImpl::DirectoryIteratorImpl
push str._s_s
push eax
call fcn.00422d30
add esp, 0x10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 0x10
jb 0x41e0b1
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
push eax
mov ecx, ebx
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0040ced0
mov byte [ebp - 4], 0x12
push str._is_not_a_directory_
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c1c0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x13
mov ecx, dword [0x563330]
test cl, 1
jne 0x41e129
or ecx, 1
mov dword [0x563330], ecx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xdd]
push eax
push str.Unknown_Location
mov ecx, 0x5632e0
call fcn.00408ab0
push 0x447710
call fcn.0043ba61
add esp, 4
mov byte [ebp - 4], 0x13
push 0x5632e0
push esi
lea ecx, [ebp - 0xd8]
call fcn.00403980
mov byte [ebp - 4], 0x15
push str.DirectoryIterator.cpp_61__:_System::DirectoryIteratorImpl::DirectoryIteratorImpl
push eax
call fcn.0040d2d0
add esp, 8
lea ecx, [ebp - 0x9c]
push eax
call fcn.00403a30
push 0x55e310
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCR120.dll__CxxThrowException
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040a850
mov byte [ebp - 4], 0x17
cmp dword [ebx + 0x30], 0
mov ecx, dword [ebp - 0x18]
jne 0x41e1cb
test ecx, ecx
je 0x41e220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x41e220
lea eax, [ecx - 1]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b340
jmp 0x41e220
test ecx, ecx
je 0x41e213
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41e213
push edi
lea eax, [ebp - 0x40]
push 0x552a88
push eax
call fcn.00413e60
add esp, 0xc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040b280
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x40]
call fcn.00408ee0
jmp 0x41e220
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b280
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041f060
cmp dword [edi + 0x14], 8
jb 0x41e232
mov edi, dword [edi]
lea eax, [ebx + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebx + 0x38], eax
mov ecx, 0x5533fc
lea eax, [ebx + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e26e
test dx, dx
je 0x41e26a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e26e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e248
xor eax, eax
jmp 0x41e273
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e2af
mov eax, 0x44faf8
lea ecx, [ebx + 0x68]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41e2a6
test dx, dx
je 0x41e2a2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41e2a6
add ecx, 4
add eax, 4
test dx, dx
jne 0x41e280
xor eax, eax
jmp 0x41e2ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41e2b8
mov ecx, ebx
call fcn.0041e3e0
jmp 0x41e240
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
jb 0x41e2ce
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043babe
mov esp, ebp
pop ebp
ret 8