Function at 0x411120
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x46f939
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdf8
mov eax, dword [0x493790]
push ebx
push ebp
push esi
mov dword [esp + 0xe00], eax
push edi
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0xe1c]
xor ebx, ebx
push ebp
mov dword [esp + 0xe14], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0xcc4]
push eax
push 0x47532c
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x411190
mov ebx, dword [esp + 0x18]
lea esp, [esp]
cmp esi, 0xffffffff
je 0x4113c3
mov edi, 0x475328
lea esi, [esp + 0xcf0]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4113c3
mov edi, 0x473cc4
lea esi, [esp + 0xcf0]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4113c3
mov ecx, dword [esp + 0xcd8]
mov edx, dword [esp + 0xcdc]
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0xcf0]
push ecx
call esi
test eax, eax
je 0x4112a4
push 0x473cc4
call esi
mov esi, dword [esp + 0xe18]
push esi
push ecx
lea edx, [esp + 0xcf8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00401990
push 0
mov ecx, 0x4dee80
call fcn.00407ab0
cmp eax, 0xffffffff
jle 0x41125f
mov dword [esp + ebx*4 + 0x44], eax
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x4113c3
push esi
lea eax, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0xcfc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00401990
mov ecx, 0x4dee80
call fcn.00407f20
mov ecx, dword [0x4dee9c]
mov eax, dword [0x4ad91c]
inc ecx
dec eax
mov dword [esp + ebx*4 + 0x44], eax
inc ebx
mov dword [0x4dee9c], ecx
mov dword [esp + 0x18], ebx
jmp 0x4113c3
mov edi, dword [esp + 0xe18]
push edi
push ecx
lea edx, [esp + 0xcf8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00401990
push 1
mov ecx, 0x4dee80
call fcn.00407ab0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x41136f
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x118]
cmp eax, 0x3e9
je 0x4112f3
cmp eax, 0x3ea
jne 0x4113c3
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0xcf0]
push eax
push ebp
lea ecx, [esp + 0x1c]
push 0x47451c
push ecx
mov byte [esp + 0xe20], 1
call fcn.00402a00
mov esi, dword [esp + 0x24]
add esp, 0xc
add esi, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push esi
call fcn.00401fc0
mov ecx, dword [esp + 0x28]
add esp, 4
add eax, 0x10
push ebx
mov dword [edi], eax
call fcn.0040fcb0
mov byte [esp + 0xe10], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4113c3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
jmp 0x4113c3
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00401fc0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [esp + 0xce8]
push edi
lea eax, [esp + 0x3c]
push eax
push ecx
push ecx
lea edx, [esp + 0xd04]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0xe28], 2
call fcn.00401990
mov ecx, 0x4dee80
mov byte [esp + 0xe24], 0
call fcn.004084f0
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xcc4]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
je 0x4113e3
cmp esi, 0xffffffff
jne 0x411185
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x118], 0x3e9
jne 0x4113fd
mov dword [eax + 0x118], 0
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x411510
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esp + esi*4 + 0x44]
mov eax, dword [ebx*4 + 0x495278]
mov ecx, dword [eax]
push ecx
push ebp
lea edx, [esp + 0x1c]
push 0x47451c
push edx
mov byte [esp + 0xe20], 3
call fcn.00402a00
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
add esp, 0xc
add ebp, 0xfffffff0
mov dword [esp + 0x14], esp
mov dword [esp + 0x14], esp
call dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
lea edx, [ebp + 0xc]
jl 0x411485
cmp eax, dword [ebp]
jne 0x411485
mov eax, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4114bb
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x41155d
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [ecx], eax
mov edx, dword [ebx*4 + 0x495278]
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00411120
mov byte [esp + 0xe10], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4114f8
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0xe1c]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x411416
add ebp, 0xfffffff0
mov dword [esp + 0xe10], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411536
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov ecx, dword [esp + 0xe08]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xe04]
call fcn.004475ee
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe04
ret 8
call fcn.004014e0
int3