Function at 0x4bd090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e9a6e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x64a000]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64a000]
xor eax, esp
push eax
lea eax, [esp + 0x2c4]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x2d4]
xor cl, cl
mov ebx, dword [esp + 0x2d8]
mov dword [esp + 0x28], 0
cmp dword [edi + 8], 0xffffffff
mov dword [esp + 0x1c], ebp
jne 0x4bd24d
cmp byte [edi + 0x10], cl
jne 0x4bd24d
mov byte [esp + 0x16], 1
xor esi, esi
xor ebp, ebp
call fcn.00410ba0
cmp eax, 0x90
jl 0x4bd117
lea ebp, [esi + 2]
lea esi, [ebp - 1]
xor eax, eax
mov ecx, 1
cmp byte [edi + 0x18], al
push ebp
cmovne eax, ecx
mov ecx, edi
push 0
push eax
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.0041de40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x4bd245
push 1
push str._UNC_
push 8
mov ecx, edi
call fcn.0041d3c0
test al, al
je 0x4bd245
push 1
push 1
push ecx
mov eax, esp
mov ecx, 0x5c
mov word [eax], cx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0041d260
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2cc], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
cmp ecx, 4
jne 0x4bd1eb
lea esi, [eax + 0x18]
push 0x51df8c
lea ecx, [esp + 0x34]
lea esi, [esi + edx*4]
call fcn.004011c0
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], esi
push eax
call fcn.00465e90
lea eax, [edi + 0xc]
mov byte [esp + 0x2cc], 1
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 1
push eax
call fcn.00482120
add esp, 8
mov byte [esp + 0x17], 1
test al, al
jne 0x4bd1f0
mov byte [esp + 0x17], 0
test byte [esp + 0x28], 1
je 0x4bd200
lea ecx, [esp + 0x20]
call fcn.00467a00
cmp byte [esp + 0x17], 0
je 0x4bd231
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 8]
jne 0x4bd22d
lea ecx, [esp + 0x18]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.004014b0
xor al, al
jmp 0x4bd4ac
mov byte [edi + 0x10], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.004014b0
mov ebp, dword [esp + 0x1c]
mov cl, byte [esp + 0x16]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
jne 0x4bd25b
cmp byte [edi + 0x10], 0
je 0x4bd226
test cl, cl
jne 0x4bd28c
cmp byte [edi + 0x10], cl
je 0x4bd27c
inc dword [edi + 0x14]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp dword [edi + 0x14], ecx
jl 0x4bd28c
xor al, al
jmp 0x4bd4ac
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4bd226
cmp byte [edi + 0x10], 0
je 0x4bd355
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 8]
add eax, dword [edi + 0x14]
lea ecx, [ecx + eax*4]
lea eax, [edi + 4]
add ecx, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.0042e000
lea eax, [esp + 0x18]
mov dword [esp + 0x2cc], 2
push eax
lea ecx, [esp + 0x34]
call fcn.0047c410
mov esi, eax
mov ecx, ebp
push esi
call fcn.004178d0
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp + 4]
call fcn.004178d0
mov cx, word [esi + 8]
mov word [ebp + 8], cx
lea ecx, [esp + 0x30]
movzx eax, word [esi + 0xa]
mov word [ebp + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [ebp + 0xc], ax
call fcn.004357e0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x4bd32f
cmp ecx, 0xffffffff
je 0x4bd33c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4bd33c
mov eax, dword [esp + 0x18]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov dword [ebx + 0x10], 0x10
or dword [ebx + 4], 0x440000
or dword [ebx], 0x560000
jmp 0x4bd4aa
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00407d20
add esp, 0xc
lea eax, [edi + 4]
mov dword [esp + 0x2cc], 3
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
call fcn.0042e000
lea eax, [esp + 0x18]
mov byte [esp + 0x2cc], 4
push eax
lea ecx, [esp + 0x34]
call fcn.0047c410
mov esi, eax
mov ecx, ebp
push esi
call fcn.004178d0
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp + 4]
call fcn.004178d0
mov cx, word [esi + 8]
mov word [ebp + 8], cx
lea ecx, [esp + 0x30]
movzx eax, word [esi + 0xa]
mov word [ebp + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [ebp + 0xc], ax
call fcn.004357e0
mov eax, dword [esp + 0x18]
or esi, 0xffffffff
mov byte [esp + 0x2cc], 3
mov ecx, dword [eax]
test ecx, ecx
je 0x4bd40b
cmp ecx, esi
je 0x4bd418
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4bd418
mov eax, dword [esp + 0x18]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
movdqu xmm0, xmmword [esp + 0x40]
push 1
push str..lnk
movdqu xmmword [ebx], xmm0
push 4
movdqu xmm0, xmmword [esp + 0x5c]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmm0, xmmword [esp + 0x6c]
movdqu xmmword [ebx + 0x20], xmm0
call fcn.00419c60
test al, al
jne 0x4bd47e
push 0
push 1
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
call fcn.0047f0f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4bd49d
cmp ecx, 0xffffffff
je 0x4bd4aa
lock xadd dword [eax], esi
dec esi
setne al
test al, al
jne 0x4bd4aa
mov eax, dword [esp + 0x1c]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ac]
xor ecx, esp
call fcn.004c17c4
add esp, 0x2bc
ret 8