Function at 0x482ffd
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x673f41
call fcn.0062921c
sub esp, 0x2bc
push ebx
push edi
mov edi, ecx
mov byte [ebp - 0x34], 1
lea eax, [edi + 0x34]
push eax
mov dword [ebp - 0x38], eax
call fcn.00465e86
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], ebx
je 0x48329e
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x48303a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x78]
push str._s_.btapp
push eax
call fcn.004607f4
add esp, 0xc
inc dword [edi + 4]
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
jae 0x48305f
lea eax, [ebp - 0x78]
push esi
lea ecx, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
je 0x4831cf
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00424ff1
cmp dword [edi + 0x30], 0
mov byte [ebp - 4], 3
jbe 0x48312b
lea eax, [edi + 0x20]
push ebx
mov ecx, eax
call fcn.004f2484
add eax, 8
lea ecx, [ebp - 0x30]
push eax
call fcn.00434271
test eax, eax
je 0x4830c2
inc ebx
lea eax, [edi + 0x20]
cmp ebx, dword [edi + 0x30]
jb 0x48309f
jmp 0x48312b
push ebx
lea ecx, [edi + 0x20]
call fcn.004f2484
push ebx
lea ecx, [eax + 0x24]
mov eax, dword [edi + 4]
mov dword [ecx], eax
lea ecx, [edi + 0x20]
call fcn.004f2484
mov ecx, dword [ebp - 0x2b4]
cmp ecx, dword [eax]
jne 0x4830ed
xor ecx, ecx
cmp ecx, dword [eax + 4]
je 0x48312b
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4830f9
lea eax, [ebp - 0x30]
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
mov dword [ebp - 0x14], eax
call fcn.004f2484
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x14]
call dword [esi + 0xc]
push ebx
lea ecx, [edi + 0x20]
call fcn.004f2484
mov ecx, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
cmp ebx, dword [edi + 0x30]
jne 0x48319a
xor ebx, ebx
mov dword [ebp - 0x44], 7
xor eax, eax
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x5c], ebx
call fcn.004239d7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
call fcn.0048352f
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x483185
lea ecx, [ebp - 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0042386b
jmp 0x48319c
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0042386b
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4831c3
or esi, 0xffffffff
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
jne 0x48307f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4831df
cmp eax, 0xffffffff
je 0x4831df
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [edi + 0x30], 0
jbe 0x483290
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
call fcn.004f2484
mov eax, dword [eax + 0x24]
cmp eax, dword [edi + 4]
je 0x483286
push ebx
mov ecx, esi
call fcn.004f2484
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x483219
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.004f2484
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x10]
call dword [esi + 8]
push ebx
lea ecx, [edi + 0x20]
call fcn.004f2484
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x483249
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
lea ecx, [edi + 0x20]
push ebx
call fcn.004f2484
mov ecx, edi
push dword [eax + 0x20]
push dword [ebp - 0x10]
call dword [esi + 0x10]
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
call fcn.004f2484
add eax, 8
xor ecx, ecx
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x48327a
mov eax, dword [eax]
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00482d67
inc ebx
cmp ebx, dword [edi + 0x30]
jb 0x4831ec
xor eax, eax
lea ecx, [ebp - 0x78]
push eax
push 1
call fcn.0042386b
pop esi
push dword [ebp - 0x38]
mov dword [ebp - 4], 5
call fcn.00465f79
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret