Function at 0x415f10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543a57
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5a674c]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
sub eax, 0x10
mov esi, ecx
push eax
mov dword [ebp - 0x168], esi
call fcn.004021b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00415150
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ecx - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x415f95
push 0x80070057
call fcn.00401000
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x415fb8
push esi
lea ecx, [ebp - 0x15c]
call fcn.004013a0
mov ecx, dword [ebp - 0x15c]
mov byte [edi + ecx], 0x5c
mov eax, dword [ebp - 0x15c]
cmp esi, dword [eax - 8]
jg 0x415f8b
mov dword [eax - 0xc], esi
mov ecx, dword [ebp - 0x15c]
mov byte [esi + ecx], 0
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
push eax
call fcn.004021b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x164], eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.00403be0
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41601f
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x154]
push ecx
push edx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x19c], eax
cmp eax, 0xffffffff
je 0x416437
mov eax, dword [ebp - 0x154]
and al, 0x10
cmp al, 0x10
sete al
mov byte [ebp - 0x155], al
test al, al
je 0x4160a6
cmp byte [ebp + 0x14], 0
jne 0x4160ac
xor bl, bl
test al, al
je 0x4160bd
mov ecx, 0x5540dc
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4160b0
test dl, dl
je 0x4160a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4160b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x416086
xor eax, eax
jmp 0x4160b5
cmp byte [ebp + 0x10], 0
je 0x416075
mov bl, 1
jmp 0x416077
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416217
mov ecx, 0x5575b0
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4160e8
test dl, dl
je 0x4160e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4160e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4160c8
xor eax, eax
jmp 0x4160ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416217
test bl, bl
je 0x416217
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00402560
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416118
sub eax, edx
push eax
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x160]
call fcn.00403be0
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41614e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 4
call fcn.00402560
mov dl, byte [ebp - 0x155]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 0x194], dl
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x150]
xor edx, edx
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x14c]
xor esi, esi
add edx, dword [ebp - 0x134]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x170], edx
adc eax, esi
lea edx, [ebp - 0x198]
push edx
add ecx, 0x18
mov dword [ebp - 0x16c], eax
call fcn.00415a30
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x19c]
lea ecx, [ebp - 0x154]
push ecx
push ebx
call edi
test eax, eax
je 0x416430
mov edx, dword [ebp - 0x154]
and dl, 0x10
cmp dl, 0x10
sete al
mov byte [ebp - 0x155], al
test al, al
je 0x416290
cmp byte [ebp + 0x14], 0
jne 0x416296
xor bl, bl
test al, al
je 0x4162a3
mov ecx, 0x5540dc
lea eax, [ebp - 0x128]
jmp 0x416270
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41629a
test dl, dl
je 0x41628c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41629a
add eax, 2
add ecx, 2
test dl, dl
jne 0x416270
xor eax, eax
jmp 0x41629f
cmp byte [ebp + 0x10], 0
je 0x41625a
mov bl, 1
jmp 0x41625c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416223
mov ecx, 0x5575b0
lea eax, [ebp - 0x128]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4162d0
test dl, dl
je 0x4162cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4162d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4162b0
xor eax, eax
jmp 0x4162d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416223
test bl, bl
je 0x416223
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x160]
call fcn.00402560
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416300
sub eax, edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00403be0
call fcn.00432d0e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416336
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 5
call fcn.00402560
mov dl, byte [ebp - 0x155]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 0x194], dl
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x150]
xor edx, edx
xor ebx, ebx
add edx, dword [ebp - 0x134]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x170], edx
lea edx, [ebp - 0x198]
mov dword [ebp - 0x184], ecx
adc eax, ebx
push edx
lea ecx, [esi + 0x18]
mov dword [ebp - 0x16c], eax
call fcn.00415a30
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x416223
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
mov dword [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x164]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.00525092
mov esp, ebp
pop ebp
ret 0x10