Function at 0x40ede0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4505c0
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
xor esi, esi
cmp ecx, esi
je 0x40f5ac
cmp byte [ecx], 0
je 0x40f5ac
mov ebx, 0xf
mov eax, ecx
mov dword [esp + 0x228], ebx
mov dword [esp + 0x224], esi
mov byte [esp + 0x214], 0
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40ee50
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x218]
call fcn.00405b30
mov dword [esp + 0x378], 2
mov eax, dword [esp + 0x214]
mov ebp, 0x10
cmp dword [esp + 0x228], ebp
jae 0x40ee90
lea eax, [esp + 0x214]
push eax
call fcn.00419390
add esp, 4
test eax, eax
jne 0x40ef76
push 1
push 2
lea ecx, [esp + 0xf4]
call fcn.00404370
lea eax, [esp + 0xec]
push 0x458588
push eax
mov byte [esp + 0x380], 3
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xf0]
call fcn.004044d0
mov byte [esp + 0x378], 4
cmp dword [eax + 0x18], ebp
jb 0x40eef1
mov eax, dword [eax + 4]
jmp 0x40eef4
add eax, 4
push eax
push str.CClientBase::ClearSomeFilesFromFolder
push 0x4aa
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x58], ebp
jb 0x40ef28
mov edx, dword [esp + 0x44]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x138]
mov byte [esp + 0x378], 2
call fcn.00404450
lea eax, [esp + 0x138]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
cmp dword [esp + 0x228], ebp
jb 0x40f660
mov ecx, dword [esp + 0x214]
push ecx
call fcn.00433d63
jmp 0x40f65d
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x214]
call fcn.004139f0
mov ecx, eax
call fcn.00413c80
cmp byte [eax], 0x5c
je 0x40efa6
push 0x5c
push 1
lea ecx, [esp + 0x218]
call fcn.00406e60
push 1
push 2
lea ecx, [esp + 0x17c]
call fcn.00404370
push 0x457ddc
push ecx
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x180]
push ecx
mov byte [esp + 0x388], 5
call fcn.00407680
add esp, 0xc
push eax
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x178]
call fcn.004044d0
cmp dword [eax + 0x18], ebp
jb 0x40f000
mov eax, dword [eax + 4]
jmp 0x40f003
add eax, 4
lea ecx, [esp + 0x22c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [esp + 0x58], ebp
mov esi, eax
mov dword [esp + 0x38], esi
jb 0x40f02b
mov edx, dword [esp + 0x44]
push edx
call fcn.00433d63
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jne 0x40f08d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x378], 2
call fcn.00404450
lea eax, [esp + 0x1c0]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
lea ecx, [esp + 0x210]
call fcn.00403ce0
mov eax, 1
jmp 0x40f662
push 1
push 2
lea ecx, [esp + 0xf4]
call fcn.00404370
lea ecx, [esp + 0x258]
push ecx
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0xf8]
push eax
mov byte [esp + 0x388], 6
call fcn.00407680
add esp, 0xc
push eax
call fcn.004073a0
mov ecx, dword [esp + 0x234]
and ecx, ebp
add esp, 8
cmp cl, 0x10
je 0x40f4fd
mov edi, dword [esp + 0x24c]
xor esi, esi
lea eax, [esp + 0x258]
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x208], esi
mov byte [esp + 0x1f8], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40f110
sub eax, edx
push eax
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x1fc]
call fcn.00405b30
mov byte [esp + 0x378], 7
cmp dword [esp + 0x208], 0
push 1
jne 0x40f24f
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
lea ecx, [esp + 0x5c]
push 0x4585a8
push ecx
mov byte [esp + 0x380], 8
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x60]
call fcn.004044d0
mov byte [esp + 0x378], 9
cmp dword [eax + 0x18], ebp
jb 0x40f18d
mov eax, dword [eax + 4]
jmp 0x40f190
add eax, 4
push eax
push str.CClientBase::ClearSomeFilesFromFolder
push 0x4ca
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x34], ebp
jb 0x40f1c4
mov eax, dword [esp + 0x20]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0x378], 7
call fcn.00404450
lea ecx, [esp + 0xa8]
mov edi, vtable.std::ios_base.0
push ecx
mov dword [esp + 0xac], edi
call fcn.004339e9
add esp, 4
cmp dword [esp + 0x20c], ebp
jb 0x40f20d
mov edx, dword [esp + 0x1f8]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x138]
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x208], 0
mov byte [esp + 0x1f8], 0
mov byte [esp + 0x378], 5
call fcn.00404450
lea eax, [esp + 0x138]
mov dword [esp + 0x138], edi
push eax
jmp 0x40f524
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x200]
mov byte [esp + 0x24], 0x2e
call fcn.00413ce0
cmp eax, 0xffffffff
jne 0x40f340
push 1
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
lea edx, [esp + 0x5c]
push 0x4585b8
push edx
mov byte [esp + 0x380], 0xa
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
call fcn.004044d0
mov byte [esp + 0x378], 0xb
cmp dword [eax + 0x18], ebp
jb 0x40f2b7
mov eax, dword [eax + 4]
jmp 0x40f2ba
add eax, 4
push eax
push str.CClientBase::ClearSomeFilesFromFolder
push 0x4d1
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x1c]
call fcn.00403ce0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x378], 7
call fcn.00404450
lea ecx, [esp + 0xa8]
mov edi, vtable.std::ios_base.0
push ecx
mov dword [esp + 0xac], edi
call fcn.004339e9
add esp, 4
lea ecx, [esp + 0x1f4]
call fcn.00403ce0
lea ecx, [esp + 0x138]
mov byte [esp + 0x378], 5
call fcn.00404450
mov dword [esp + 0x138], edi
jmp 0x40f51c
push 0xffffffffffffffff
add eax, 1
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x200]
call fcn.00403e30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x200]
mov byte [esp + 0x384], 0xc
call fcn.00404b70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 7
call fcn.00403ce0
lea ecx, [esp + 0x1f4]
push ecx
call fcn.00417aa0
add esp, 4
test esi, esi
ja 0x40f4f1
jb 0x40f3a4
cmp edi, 8
ja 0x40f4f1
cmp dword [esp + 0x20c], ebp
mov eax, dword [esp + 0x1f8]
jae 0x40f3bb
lea eax, [esp + 0x1f8]
push 0x4585c8
push eax
call fcn.00434220
add esp, 8
test eax, eax
je 0x40f3fa
cmp dword [esp + 0x20c], ebp
mov eax, dword [esp + 0x1f8]
jae 0x40f3e4
lea eax, [esp + 0x1f8]
push 0x4585cc
push eax
call fcn.00434220
add esp, 8
test eax, eax
jne 0x40f4f1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xf0]
call fcn.004044d0
mov byte [esp + 0x378], 0xd
cmp dword [eax + 0x18], ebp
jb 0x40f41d
mov eax, dword [eax + 4]
jmp 0x40f420
add eax, 4
push eax
call fcn.0041e060
add esp, 4
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x378], 7
call fcn.00403ce0
test bl, bl
je 0x40f4ec
push 1
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
push 0x4585d0
push ecx
mov byte [esp + 0x380], 0xe
call sub.WS2_32.dll_WSAGetLastError
push eax
push ecx
lea eax, [esp + 0x6c]
push 0x4585d4
push eax
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
add esp, 4
push eax
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x60]
call fcn.004044d0
mov byte [esp + 0x378], 0xf
cmp dword [eax + 0x18], ebp
jb 0x40f4ae
mov eax, dword [eax + 4]
jmp 0x40f4b1
add eax, 4
push eax
push str.CClientBase::ClearSomeFilesFromFolder
push 0x4de
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x1c]
call fcn.00403ce0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x378], 7
call fcn.00401b40
mov ebx, 0xf
lea ecx, [esp + 0x1f4]
call fcn.00403ce0
lea ecx, [esp + 0x138]
mov byte [esp + 0x378], 5
call fcn.00404450
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
lea edx, [esp + 0x138]
push edx
call fcn.004339e9
mov esi, dword [esp + 0x3c]
add esp, 4
lea eax, [esp + 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f08d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x21c]
call fcn.00414f30
mov ecx, eax
call fcn.00413c20
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x21c]
call fcn.00413920
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x378], 2
call fcn.00404450
lea ecx, [esp + 0x1c0]
push ecx
jmp 0x40f064
push 1
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
lea edx, [esp + 0x5c]
push 0x458548
push edx
mov dword [esp + 0x380], esi
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
call fcn.004044d0
mov esi, 0x10
mov byte [esp + 0x378], 1
cmp dword [eax + 0x18], esi
jb 0x40f5f7
mov eax, dword [eax + 4]
jmp 0x40f5fa
add eax, 4
push eax
push str.CClientBase::ClearSomeFilesFromFolder
push 0x4a3
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x34], esi
jb 0x40f62e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x378], 0xffffffff
call fcn.00404450
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0xac], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.00433d68
add esp, 0x368
ret