Function at 0x4669e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5799a7
mov eax, dword fs:[0]
push eax
sub esp, 0x5e0
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x466a1d
lea eax, [ebx + 4]
jmp 0x466e46
push dword [ebp - 0x5ec]
push ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.00453c40
mov eax, dword [ebx]
push 0x104
mov dword [ebx + 4], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00510680
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0045bd10
push 1
push 0x5b4a54
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00525485
push 3
push 0x5b60e8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00525485
add esp, 0x44
mov dword [ebp - 0x350], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x354], 0
mov byte [ebp - 0x364], 0
jne 0x466aaf
xor ecx, ecx
jmp 0x466ac1
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466ab8
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x364]
call fcn.0044d570
push 2
push 0x5b60d0
lea ecx, [ebp - 0x364]
mov dword [ebp - 4], 0
call fcn.0044ab10
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00510680
add esp, 0xc
lea ecx, [ebp - 0x31c]
cmp dword [ebp - 0x350], 0x10
lea eax, [ebp - 0x364]
cmovae eax, dword [ebp - 0x364]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x5e8], eax
cmp eax, 0xffffffff
jne 0x466b5c
mov ebx, 5
jmp 0x466e26
push 0x5b4948
lea ecx, [ebp - 0x394]
call fcn.0044d0f0
mov esi, dword [ebp - 0x5e8]
mov byte [ebp - 4], 1
cmp word [ebp - 0x5b8], 0
jne 0x466b84
xor eax, eax
jmp 0x466b9f
lea eax, [ebp - 0x5b8]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466b90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x394]
call fcn.0044d430
xor ecx, ecx
mov eax, 2
cmp word [0x5b60ec], cx
cmove eax, ecx
push eax
push ecx
push 0x5b60ec
lea ecx, [ebp - 0x394]
call fcn.00469ee0
cmp eax, 0xffffffff
je 0x466de9
inc eax
lea ecx, [ebp - 0x394]
push eax
push 0
lea eax, [ebp - 0x37c]
push eax
call fcn.004649c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x37c]
cmp dword [ebp - 0x368], 8
mov eax, dword [ebp - 0x36c]
cmovae ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
lea esi, [ecx + eax*2]
lea eax, [ebp - 0x37c]
cmovae eax, dword [ebp - 0x37c]
mov dword [ebp - 0x5ec], eax
mov eax, esi
mov edi, dword [ebp - 0x5ec]
sub eax, edi
sar eax, 1
cmp eax, 0xf
je 0x466c87
push 1
push eax
lea ecx, [ebp - 0x334]
call fcn.0044ad90
test al, al
je 0x466c87
cmp dword [ebp - 0x320], 0x10
lea eax, [ebp - 0x334]
mov dword [ebp - 0x324], 0
cmovae eax, dword [ebp - 0x334]
mov byte [eax], 0
push dword [ebp - 0x5ec]
lea ecx, [ebp - 0x334]
push esi
push edi
call fcn.00454b40
mov byte [ebp - 4], 3
lea edx, [ebp - 0x334]
cmp dword [ebp - 0x320], 0x10
mov dword [ebp - 0x338], 0xf
cmovae edx, dword [ebp - 0x334]
mov dword [ebp - 0x33c], 0
mov byte [ebp - 0x34c], 0
cmp byte [edx], 0
jne 0x466cd6
xor ecx, ecx
jmp 0x466ce9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466ce0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34c]
call fcn.0044d570
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34c]
mov edi, dword [ebx + 4]
cmp eax, edi
jae 0x466d45
mov eax, dword [ebx]
lea ecx, [ebp - 0x34c]
cmp eax, ecx
ja 0x466d45
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x466d34
push 1
mov ecx, ebx
call fcn.004533a0
mov eax, dword [ebx]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*8]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x466d66
jmp 0x466d60
cmp edi, dword [ebx + 8]
jne 0x466d53
push 1
mov ecx, ebx
call fcn.004533a0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x466d66
lea eax, [ebp - 0x34c]
push eax
call fcn.0044d1e0
add dword [ebx + 4], 0x18
mov eax, dword [ebp - 0x338]
cmp eax, 0x10
jb 0x466d88
inc eax
lea ecx, [ebp - 0x34c]
push eax
push dword [ebp - 0x34c]
call fcn.0044ad40
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x466da6
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.0044ad40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
cmp eax, 8
jb 0x466de3
inc eax
lea ecx, [ebp - 0x37c]
push eax
push dword [ebp - 0x37c]
call fcn.0044d810
mov esi, dword [ebp - 0x5e8]
lea eax, [ebp - 0x5e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x466b76
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x380]
cmp eax, 8
jb 0x466e24
inc eax
lea ecx, [ebp - 0x394]
push eax
push dword [ebp - 0x394]
call fcn.0044d810
xor ebx, ebx
mov ecx, dword [ebp - 0x350]
cmp ecx, 0x10
jb 0x466e44
inc ecx
push ecx
push dword [ebp - 0x364]
lea ecx, [ebp - 0x364]
call fcn.0044ad40
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 4