Function at 0x406b50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x433901
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x3c4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3d4]
mov esi, ecx
lea edx, [esp + 0x1ac]
sub edx, esi
mov dword [esp + 0x18], esi
mov eax, esi
xor ebx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x406ba5
lea eax, [esp + 0x1ac]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x406bb7
mov ecx, dword [str..]
mov dl, byte [0x438ee4]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, esi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406be5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.00401470
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1b0]
push ecx
mov dword [esp + 0x3d4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x406c31
cmp dword [esp + 0x68], 0x10
jb 0x406e9d
mov edx, dword [esp + 0x54]
push edx
jmp 0x406e95
test byte [esp + 0x6c], 0x10
je 0x406cae
cmp byte [esp + 0x98], 0x2e
je 0x406e71
lea edx, [esp + 0x2b4]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x406c51
lea edi, [esp + 0x2b4]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x406c63
mov ax, word [0x438ed0]
mov word [edi], ax
lea eax, [esp + 0x98]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406c80
lea edi, [esp + 0x2b4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x406c91
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x406e6d
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x3d8], 1
call fcn.00401160
lea eax, [esp + 0x98]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406ce1
sub eax, edx
push eax
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x3c]
call fcn.0040f7f0
call fcn.00412b81
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x406ec9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
call fcn.00412b81
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x406ec9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x98]
mov byte [esp + 0x3cc], 2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406d56
sub eax, edx
push eax
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404ee0
mov edi, 0x10
cmp dword [esp + 0x4c], edi
jb 0x406d88
mov edx, dword [esp + 0x38]
cmp edx, ebx
jne 0x406d8c
xor eax, eax
jmp 0x406d9a
lea edx, [esp + 0x38]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406d91
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404ee0
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x406db0
xor eax, eax
jmp 0x406db8
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 3
mov esi, dword [ebp + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 3
cmp edx, eax
jae 0x406dec
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
push 1
push esi
call fcn.00411170
add esp, 0x14
add esi, 8
mov dword [ebp + 0x10], esi
jmp 0x406e0b
cmp ecx, esi
jbe 0x406df5
call fcn.0041e033
mov eax, dword [ebp]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, ebp
call fcn.0040ef90
mov byte [esp + 0x3cc], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3cc], bl
cmp dword [esp + 0x4c], edi
jb 0x406e6d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00412843
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406c31
cmp dword [esp + 0x68], 0x10
jb 0x406e9d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00412843
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041d795
add esp, 0x3bc
ret 4
push 0x80004005
call fcn.00404f70
int3