Function at 0x10016410
Capabilities:
Enumerate files on windows
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x1002f738
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x1004304c]
xor eax, esp
mov dword [esp + 0x604], eax
push ebx
push ebp
push esi
mov eax, dword [0x1004304c]
xor eax, esp
push eax
lea eax, [esp + 0x61c]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x128]
mov dword [esp + 0x624], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push esi
push 0x21
lea eax, [esp + 0x414]
push eax
push esi
mov byte [esp + 0x634], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x40c]
push ecx
lea ecx, [esp + 0x12c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3d0]
push eax
mov dword [esp + 0x20], 0x20
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str..txt
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push edx
call esi
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x100164e4
mov eax, dword [eax + 4]
jmp 0x100164e7
add eax, 4
lea ecx, [esp + 0x17c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x20]
mov ebp, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea edx, [esp + 0x3cc]
push edx
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x10036c74
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x168]
push ecx
mov byte [esp + 0x630], 3
call esi
add esp, 0xc
lea ecx, [esp + 0x10c]
mov byte [esp + 0x624], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x100353e0
mov ecx, ebx
mov byte [esp + 0x628], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x1c], 1
cmp ebp, 0xffffffff
je 0x100167ca
mov bl, 6
jmp 0x10016580
cmp dword [esp + 0x10], 0x12
je 0x100167ca
lea edx, [esp + 0x1a8]
push edx
lea ecx, [esp + 0x110]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x10036a90
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x1b4]
push edx
push eax
lea eax, [esp + 0x104]
push eax
mov byte [esp + 0x63c], bl
call esi
add esp, 0x18
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x628], 7
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x624], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x624], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x124], 8
mov eax, dword [esp + 0x110]
jae 0x10016625
lea eax, [esp + 0x110]
push 1
push 0x40
push 0x21
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x624], 8
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 4]
mov edx, dword [esp + eax + 0x64]
lea eax, [esp + eax + 0x5c]
and dl, bl
movsx ecx, dl
neg ecx
sbb ecx, ecx
not ecx
test eax, ecx
je 0x10016712
lea ecx, [esp + 0xf0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 2
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x62c], 9
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_int__int_]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push ecx
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push 0
push 0
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_int__int_]
mov edx, dword [esp + 0x104]
push edx
push 0
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
push 0
push str.ispass_37wan_com
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x10016766
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x624], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x17c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x10016745
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x624], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
jmp 0x10016580
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov byte [esp + 0x624], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
jmp 0x10016580
lea ecx, [esp + 0xf0]
lea ebx, [esp + 0x20]
call fcn.10014b80
mov byte [esp + 0x624], 0xa
mov ecx, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, ebx
mov byte [esp + 0x624], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x624], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x624], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x624], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x160]
mov byte [esp + 0x624], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x144]
mov byte [esp + 0x624], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x128]
mov byte [esp + 0x624], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x62c]
mov byte [esp + 0x624], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x61c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x604]
xor ecx, esp
call fcn.1002dfc6
add esp, 0x618
ret