Function at 0x48ad3f
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6b6706
call fcn.0066bd6c
sub esp, 0x2c4
push esi
mov esi, ecx
mov byte [ebp - 0x3c], 1
push edi
lea eax, [esi + 0x34]
push eax
mov dword [ebp - 0x40], eax
call fcn.0046a68e
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x18], edi
je 0x48b06d
lea eax, [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x48ad7c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push str._s_.btapp
push eax
call fcn.004646d1
add esp, 0xc
inc dword [esi + 4]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 2
jb 0x48ada1
mov eax, dword [ebp - 0x58]
push ebx
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
je 0x48af7f
xor eax, eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x28], edi
push eax
mov dword [ebp - 0x24], 7
call fcn.00427613
cmp dword [esi + 0x30], 0
mov byte [ebp - 4], 3
jbe 0x48aea7
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x38]
add eax, 8
push eax
call fcn.004368cc
test al, al
mov eax, dword [esi + 0x2c]
jne 0x48ae20
inc edi
cmp edi, dword [esi + 0x30]
jb 0x48adf1
jmp 0x48aea7
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 4]
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
dec ecx
mov dword [ebp - 0x10], edx
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2bc]
cmp eax, dword [ecx]
jne 0x48ae5d
xor eax, eax
cmp eax, dword [ecx + 4]
je 0x48aea7
mov ecx, dword [esi + 0x28]
lea eax, [edx + edi]
dec ecx
mov dword [ebp - 0x10], edx
and ecx, eax
cmp dword [ebp - 0x24], 8
mov eax, dword [esi + 0x24]
mov edx, dword [eax + ecx*4]
lea ecx, [ebp - 0x38]
jb 0x48ae7b
mov ecx, dword [ebp - 0x38]
push dword [edx + 0x20]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2bc]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x30]
jne 0x48af0e
lea ecx, [ebp - 0x80]
call fcn.0048ac09
mov eax, dword [ebp - 0x2bc]
xor edi, edi
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], edi
jb 0x48aed2
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push eax
call fcn.00427638
mov eax, dword [esi + 4]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0048aadd
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
jb 0x48aefc
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x78]
call fcn.0042756c
jmp 0x48af10
xor edi, edi
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x48af4f
mov ecx, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x48af46
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
lea eax, [ebp - 0x2d0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x48af64
or ebx, 0xffffffff
cmp ebx, 0xffffffff
jne 0x48adbe
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48af7f
cmp eax, ebx
je 0x48af7f
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebx, edi
cmp dword [esi + 0x30], edi
jbe 0x48b064
lea edi, [esi + 0x20]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], edx
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x24]
cmp eax, dword [esi + 4]
je 0x48b05a
mov ecx, dword [edi + 8]
lea eax, [edx + ebx]
dec ecx
mov dword [ebp - 0x18], edx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], eax
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x48afdd
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
push dword [edx + 0x20]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], edx
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], eax
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x48b01d
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
push dword [edx + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
dec ecx
add eax, ebx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x18], 0
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x48b04e
mov eax, dword [eax]
push ebx
xor ecx, ecx
push edi
mov word [eax], cx
call fcn.0048aa78
inc ebx
cmp ebx, dword [esi + 0x30]
jb 0x48af8d
lea ecx, [ebp - 0x58]
call fcn.0042756c
pop ebx
push dword [ebp - 0x40]
mov dword [ebp - 4], 5
call fcn.0046a7cb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret