Function at 0x41e0a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c394
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x44e018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2bc], esi
push 8
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, esi
je 0x41e462
mov dword [ebp - 0x2bc], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2bc]
mov dword [edx], ecx
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x38]
cmp eax, esi
je 0x41e164
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x41e151
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x41e15d
lea eax, [ebp + 0x28]
cmp word [eax + ecx*2], 0x5c
je 0x41e173
push 1
mov eax, 0x440568
lea ecx, [ebp + 0x28]
call fcn.0040d100
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], ax
lea ecx, [ebp + 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ebx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00415a20
add esp, 8
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0040b7c0
mov ebx, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], ebx
jb 0x41e1c3
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor esi, esi
push 0x24c
lea ecx, [ebp - 0x298]
push esi
push ecx
mov dword [ebp - 0x29c], esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jae 0x41e1eb
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x29c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x41e2b0
mov eax, dword [ebp - 0x2a0]
push eax
lea edi, [ebp - 0x2bc]
call fcn.00408d60
cmp dword [ebp - 0x1c], ebx
jb 0x41e22c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x20], esi
xor edx, edx
lea esi, [ebp - 0x2bc]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], dx
call fcn.0040b700
mov eax, dword [ebp - 0x2bc]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push eax
call esi
xor edi, edi
add esp, 4
mov dword [ebp - 0x2bc], edi
cmp dword [ebp + 0x20], ebx
jb 0x41e26f
mov ecx, dword [ebp + 0xc]
push ecx
call esi
add esp, 4
xor edx, edx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], edi
mov word [ebp + 0xc], dx
cmp dword [ebp + 0x3c], ebx
jb 0x41e28d
mov eax, dword [ebp + 0x28]
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438de6
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x29c], 0x10
jne 0x41e37e
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp + 0x28]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.004209a0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2b4]
inc ecx
cmp eax, ecx
ja 0x41e2fc
lea ebx, [ebp - 0x2bc]
call fcn.0040b340
mov eax, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x2ac]
add esi, dword [ebp - 0x2b0]
cmp eax, esi
ja 0x41e30e
sub esi, eax
mov edx, dword [ebp - 0x2b8]
cmp dword [edx + esi*4], 0
jne 0x41e336
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41e42a
mov ecx, dword [ebp - 0x2b8]
mov dword [ecx + esi*4], eax
mov edx, dword [ebp - 0x2b8]
mov esi, dword [edx + esi*4]
mov ebx, 7
mov byte [ebp - 4], bl
test esi, esi
je 0x41e35f
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.0040b7c0
inc dword [ebp - 0x2ac]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 8
jb 0x41e383
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x41e383
mov ebx, 7
mov esi, dword [ebp - 0x2cc]
lea edx, [ebp - 0x29c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41e2b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2a0]
push edx
lea edi, [ebp - 0x2bc]
call fcn.00408d60
cmp dword [ebp - 0x1c], 8
jb 0x41e3cb
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
xor edi, edi
lea esi, [ebp - 0x2bc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
call fcn.0040b700
mov edx, dword [ebp - 0x2bc]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x2bc], edi
jb 0x41e40b
mov eax, dword [ebp + 0xc]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], edi
mov word [ebp + 0xc], cx
jb 0x41e28d
mov edx, dword [ebp + 0x28]
push edx
jmp 0x41e288
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2a4], 0
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x445dfc
lea ecx, [ebp - 0x2c8]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2a4], esi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x445dfc
lea ecx, [ebp - 0x2c8]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3