Function at 0x100046c0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10004d84
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1000801c]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push esi
push edi
mov eax, dword [0x1000801c]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
xor bl, bl
call fcn.10003180
lea ecx, [esp + 0x28]
mov dword [esp + 0x298], 0
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 0x104
lea ecx, [esp + 0x188]
push ecx
mov byte [esp + 0x2a0], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x184]
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push 0x10006208
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push 6
lea ecx, [esp + 0x14]
call fcn.10001f80
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x1000477c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100047b9
lea ecx, [esp + 0x28]
mov byte [esp + 0x298], 0
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 + 0x10]
push edx
mov dword [esp + 0x29c], esi
call fcn.10001180
xor al, al
jmp 0x10004930
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x44]
push eax
push esi
call edi
test eax, eax
je 0x10004900
nop
push 7
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x100047f4
test cl, cl
je 0x100047f4
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x100047e7
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004800
mov bl, 1
push 8
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x10004824
test cl, cl
je 0x10004824
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004817
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004830
mov bl, 1
push 9
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x10004854
test cl, cl
je 0x10004854
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004847
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004860
mov bl, 1
push 0xa
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x10004884
test cl, cl
je 0x10004884
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004877
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004890
mov bl, 1
push 0xb
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x100048b4
test cl, cl
je 0x100048b4
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x100048a7
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x100048c0
mov bl, 1
push 0xc
lea ecx, [esp + 0x14]
call fcn.10001f80
mov cl, byte [esp + 0x70]
lea edx, [esp + 0x70]
cmp cl, byte [eax]
jne 0x100048e4
test cl, cl
je 0x100048e4
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x100048d7
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x100048f0
mov bl, 1
lea eax, [esp + 0x44]
push eax
push esi
call edi
test eax, eax
jne 0x100047d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x28]
mov byte [esp + 0x298], 0
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 + 0x10]
push ecx
mov dword [esp + 0x29c], 0xffffffff
call fcn.10001180
mov al, bl
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.10001b8a
add esp, 0x28c
ret