Function at 0x48ec10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a8f21
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x6336a0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
mov ebp, dword [esp + 0x294]
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x48eea1
xor ebx, ebx
lea ebx, [ebx]
test byte [esp + 0x2c], 0x10
je 0x48ee85
call fcn.00555692
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x48eed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x288], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48ecc0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402270
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebx
je 0x48ed20
cmp eax, ebx
je 0x48ee5a
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jl 0x48ee5e
push eax
push ecx
call fcn.0057781d
add esp, 8
cmp eax, ebx
je 0x48ee5a
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
js 0x48ee5e
jmp 0x48ed24
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x48ed60
cmp eax, ebx
je 0x48ee5e
cmp dword [ecx - 0xc], ebx
jl 0x48ee5e
push eax
push ecx
call fcn.0057781d
add esp, 8
cmp eax, ebx
je 0x48ee5a
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
js 0x48ee5e
push esi
lea ecx, [esp + 0x18]
call fcn.004023b0
mov byte [esp + 0x288], 1
mov ecx, dword [esp + 0x10]
push ecx
push str..add
lea edx, [esp + 0x1c]
push edx
call fcn.00414390
push 6
push str.1.lrc
lea ecx, [esp + 0x1c]
call fcn.004044f0
call fcn.00555692
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x48eed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x288], 2
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a860
add esp, 4
test eax, eax
je 0x48ee0b
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.0055d4af
push str..lrc
push 0x5e9ef4
lea eax, [esp + 0x18]
push eax
call fcn.00414390
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0055d4af
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ee33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x288], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ee5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0x10]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ee85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48ec80
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00577139
add esp, 0x280
ret 8
push 0x80004005
call fcn.00401f90
int3