Function at 0x407c10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x45019e
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x466a78]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466a78]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
mov esi, dword [esp + 0x870]
lea eax, [esp + 0x410]
push eax
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x40847b
push 0
push 0
lea ecx, [esp + 0x65c]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.0043bc4a
add esp, 0x14
lea esp, [esp]
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x658]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x55c]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x550]
push ecx
lea ecx, [esp + 0x20]
call fcn.004048e0
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov dword [esp + 0x868], 0
jge 0x407cfd
push esi
lea ecx, [esp + 0x20]
call fcn.00401a00
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
push eax
push edx
call fcn.00439823
push eax
call fcn.00401040
add esp, 0xc
test esi, esi
jl 0x4084b4
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4084b4
mov edx, dword [esp + 0x20]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx], 0
mov ebx, dword [edx + 0x2b4]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x407d47
call fcn.0043aefb
mov ebp, esi
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x2b4]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x407d67
call fcn.0043aefb
cmp ebx, esi
je 0x407d70
call fcn.0043aefb
cmp ebp, edi
je 0x407dd1
cmp ebp, dword [ebx + 8]
jb 0x407d7e
call fcn.0043aefb
mov eax, dword [ebp]
test eax, eax
je 0x407da3
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jl 0x407da3
push eax
push ecx
call fcn.0043b179
add esp, 8
test eax, eax
je 0x407da3
sub eax, dword [esp + 0x1c]
jns 0x407db2
cmp ebp, dword [ebx + 8]
jb 0x407dad
call fcn.0043aefb
add ebp, 4
jmp 0x407d50
cmp ebp, dword [ebx + 8]
jb 0x407dbc
call fcn.0043aefb
mov ecx, dword [esp + 0x20]
push ebp
add ecx, 0x2b8
call fcn.004066e0
jmp 0x4083e1
test byte [esp + 0x410], 0x10
je 0x407e52
mov edi, 0x453ec4
lea esi, [esp + 0x43c]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4083e1
mov edi, 0x453ec0
lea esi, [esp + 0x43c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4083e1
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0x658]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x764]
push str._s_s_s.
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x34]
add esp, 0x14
lea edx, [esp + 0x758]
push edx
call fcn.00407c10
jmp 0x4083e1
lea eax, [esp + 0x550]
push eax
lea ecx, [esp + 0x18]
call fcn.004048e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x84]
mov ecx, dword [edx - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x874], 1
call fcn.00402400
mov byte [esp + 0x868], 2
call fcn.00425212
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4084a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x80]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x453eac
push eax
mov byte [esp + 0x878], 3
call fcn.00402980
add esp, 0x10
call fcn.00425212
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4084a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x868], 4
call fcn.00425212
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4084a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x86c], 5
mov dword [esp + 0x60], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], ebx
lea edx, [esi + 0xc]
jl 0x407f6e
cmp eax, dword [esi]
jne 0x407f6e
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x407fa4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x4084af
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043948d
add esp, 0x10
lea edx, [esp + 0x64]
add edi, 0x10
push edx
mov dword [ebp], edi
call fcn.0040a520
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x86c], 6
call fcn.004028c0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x868], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ff1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x60], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], ebx
lea ecx, [esi + 0xc]
jl 0x408022
cmp eax, dword [esi]
jne 0x408022
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408058
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x4084af
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043948d
add esp, 0x10
lea edx, [esp + 0x5c]
add edi, 0x10
push edx
mov dword [ebp], edi
call fcn.0040a520
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x86c], 7
call fcn.004028c0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x868], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x4084a5
mov ebp, dword [esp + 0x2c]
push esi
push ebp
call fcn.0043b027
add esp, 8
cmp eax, ebx
jne 0x4080e7
lea eax, [esi - 0x10]
mov byte [esp + 0x868], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408339
push ebx
push 0x8000080
push 3
push ebx
push 1
lea ecx, [esp + 0x2c]
push SysReAllocStringLen
push ecx
call fcn.0040a3e0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4081cd
lea ecx, [esp + 0x38]
call fcn.00401eb0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x86c], 8
call fcn.004028c0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
call fcn.004028c0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x44]
call fcn.004028c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c0]
push edx
push eax
mov dword [esp + 0x4c], 2
mov dword [esp + 0x1c8], ebx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d8], ebx
mov dword [esp + 0x1dc], ebx
call fcn.004263e2
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x1dc]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
add ecx, 0x254
mov dword [esp + 0x58], edx
call fcn.00406770
lea ecx, [esp + 0x38]
call fcn.00401f50
jmp 0x4080ca
lea ecx, [esp + 0x64]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
push edi
jne 0x4081e9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x408321
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0x428]
jne 0x40820d
mov edx, dword [esp + 0x78]
cmp edx, dword [esp + 0x424]
je 0x4080ca
lea ecx, [esp + 0x38]
call fcn.00401eb0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x86c], 9
call fcn.004028c0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call fcn.004028c0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.004028c0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2e8]
push ecx
push edx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x2f0], ebx
mov dword [esp + 0x2f4], ebx
mov dword [esp + 0x2f8], ebx
mov dword [esp + 0x2fc], ebx
mov dword [esp + 0x300], ebx
mov dword [esp + 0x304], ebx
call fcn.004263e2
mov eax, dword [esp + 0x300]
mov ecx, dword [esp + 0x304]
lea edx, [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
push edx
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.004263e2
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x38]
mov dword [esp + 0x50], ecx
push eax
lea ecx, [edi + 0x254]
mov dword [esp + 0x58], edx
call fcn.00406770
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0xac]
call fcn.00423fdb
lea ecx, [esp + 0x38]
call fcn.00401f50
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x868], 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x868], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x868], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x868], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x868], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x410]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x868], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x407c90
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x25c]
add esi, 0x254
cmp dword [esi + 4], edi
jbe 0x40844e
call fcn.0043aefb
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x40845b
call fcn.0043aefb
cmp esi, esi
je 0x408464
call fcn.0043aefb
mov edx, edi
sub edx, ebx
push 0x401420
sar edx, 5
push edx
push edi
push ebx
call fcn.00406a90
add esp, 0x10
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.0043b96b
add esp, 0x858
ret 4
push 0x80004005
call fcn.004010d0
call fcn.00401770
push 0x80070057
call fcn.004010d0
int3