Function at 0x4039c0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x2b0
mov ecx, dword [ebp + 8]
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.empty___const
test al, al
je 0x4039dc
jmp 0x403be2
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, eax
call method.PathInfo.PathInfo_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const_
sub esp, 4
lea ebx, [ebp - 0x2a0]
mov eax, 0
mov edx, 0x94
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], 0x42c286
lea edx, [ebp - 0x34]
mov dword [esp], edx
mov ecx, eax
call method.PathInfo.resolve_wchar_t_const__const
sub esp, 8
lea eax, [ebp - 0x1c]
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
lea edx, [ebp - 0x2a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FindFirstFileW_8
sub esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
mov ecx, eax
call sym.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
cmp dword [ebp - 0xc], 0xffffffff
je 0x403b70
mov eax, dword [ebp - 0x2a0]
and eax, 0x10
test eax, eax
je 0x403b39
movzx eax, word [ebp - 0x274]
cmp ax, 0x2e
je 0x403b39
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x2a0]
add edx, 0x2c
mov dword [esp + 4], edx
lea edx, [ebp - 0x34]
mov dword [esp], edx
mov ecx, eax
call method.PathInfo.resolve_wchar_t_const__const
sub esp, 8
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x18]
mov dword [esp], edx
mov ecx, eax
call method.PathInfo.PathInfo_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const_
sub esp, 4
lea eax, [ebp - 0x18]
mov ecx, eax
call sym.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea eax, [ebp - 0x50]
mov dword [esp + 4], str.binjavaw.exe
lea edx, [ebp - 0x4c]
mov dword [esp], edx
mov ecx, eax
call method.PathInfo.resolve_wchar_t_const__const
sub esp, 8
lea eax, [ebp - 0x50]
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov dword [esp], eax
call sym._GetFileAttributesW_4
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x403b25
lea eax, [ebp - 0x4c]
mov ecx, eax
call method.PathInfo.fullpath___const
lea edx, [ebp - 0x14]
mov dword [esp], eax
mov ecx, edx
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const_
sub esp, 4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov dword [esp], edx
mov ecx, eax
call method.std.function_void__std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____::operator___std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____const
sub esp, 4
lea eax, [ebp - 0x14]
mov ecx, eax
call sym.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea eax, [ebp - 0x50]
mov ecx, eax
call sym.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea eax, [ebp - 0x4c]
mov ecx, eax
call method.PathInfo.PathInfo__
lea eax, [ebp - 0x2a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindNextFileW_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x403b68
nop
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindClose_4
jmp 0x403b6d
jmp 0x403a56
sub esp, 4
lea eax, [ebp - 0x34]
mov ecx, eax
call method.PathInfo.PathInfo__
jmp 0x403be2
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret