Function at 0x41a330
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427924
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x433018]
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 0x41a6f2
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 0x41a3f4
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x41a3e1
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 0x41a3ed
lea eax, [ebp + 0x28]
cmp word [eax + ecx*2], 0x5c
je 0x41a403
push 1
mov eax, 0x42953c
lea ecx, [ebp + 0x28]
call fcn.00401990
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.0041c4f0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00401790
mov ebx, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], ebx
jb 0x41a453
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 0x41a47b
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 0x41a540
mov eax, dword [ebp - 0x2a0]
push eax
lea edi, [ebp - 0x2bc]
call fcn.00418230
cmp dword [ebp - 0x1c], ebx
jb 0x41a4bc
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.0040d420
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 0x41a4ff
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 0x41a51d
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.00424ffa
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x29c], 0x10
jne 0x41a60e
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp + 0x28]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.00418e60
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 0x41a58c
lea ebx, [ebp - 0x2bc]
call fcn.00412c80
mov eax, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x2ac]
add esi, dword [ebp - 0x2b0]
cmp eax, esi
ja 0x41a59e
sub esi, eax
mov edx, dword [ebp - 0x2b8]
cmp dword [edx + esi*4], 0
jne 0x41a5c6
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x41a6ba
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 0x41a5ef
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00401790
inc dword [ebp - 0x2ac]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 8
jb 0x41a613
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x41a613
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 0x41a540
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2a0]
push edx
lea edi, [ebp - 0x2bc]
call fcn.00418230
cmp dword [ebp - 0x1c], 8
jb 0x41a65b
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.0040d420
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 0x41a69b
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 0x41a51d
mov edx, dword [ebp + 0x28]
push edx
jmp 0x41a518
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 0x42d7b0
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 0x42d7b0
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