Function at 0x469180
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
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 dword [ebp - 0x904], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x46955e
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
cmp eax, 1
jle 0x46955e
mov ecx, dword [ebp - 0x904]
push esi
call fcn.00469590
cmp al, 1
je 0x46955a
push 0x104
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.00510680
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.0045bd10
push 1
push 0x5b4a54
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00525485
push 3
push 0x5b60e8
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00525485
add esp, 0x34
mov dword [ebp - 0x66c], 0xf
mov dword [ebp - 0x670], ebx
mov byte [ebp - 0x680], bl
cmp byte [ebp - 0x154], bl
jne 0x469265
xor ecx, ecx
jmp 0x469279
lea ecx, [ebp - 0x154]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469270
sub ecx, edx
push ecx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x680]
call fcn.0044d570
push 2
push 0x5b60d0
lea ecx, [ebp - 0x680]
mov dword [ebp - 4], 0
call fcn.0044ab10
push 0x208
lea eax, [ebp - 0x668]
push 0
push eax
call fcn.00510680
push 0x208
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.00510680
add esp, 0x18
lea ecx, [ebp - 0x668]
cmp dword [ebp - 0x66c], 0x10
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
push 0x104
lea eax, [ebp - 0x460]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
lea eax, [ebp - 0x900]
push eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x469337
mov ebx, 5
jmp 0x46953c
push 0x5b4948
lea ecx, [ebp - 0x698]
call fcn.0044d0f0
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x8d4], 0
jne 0x46935f
xor eax, eax
jmp 0x46937f
lea eax, [ebp - 0x8d4]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469370
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x698]
call fcn.0044d430
cmp word [ebp - 0x460], 0
jne 0x4693a0
xor ecx, ecx
jmp 0x4693bf
lea ecx, [ebp - 0x460]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4693b0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x698]
call fcn.00469ee0
cmp eax, 0xffffffff
jne 0x4693f3
lea eax, [ebp - 0x900]
push eax
push edi
call esi
test eax, eax
jne 0x469351
lea ebx, [eax + 5]
jmp 0x46952a
push 0
push 0x5b5680
lea ecx, [ebp - 0x698]
call fcn.00469dc0
push eax
push 0
lea eax, [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x698]
call fcn.004649c0
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00510680
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x50]
add esp, 0xc
lea eax, [ebp - 0x6b0]
cmp dword [ebp - 0x69c], 8
cmovae eax, dword [ebp - 0x6b0]
push 0
push 0
push 0x40
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x50]
push eax
call fcn.00469590
cmp al, 1
je 0x46951f
push 0x104
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00510680
add esp, 0xc
lea ecx, [ebp - 0x258]
cmp dword [ebp - 0x684], 8
lea eax, [ebp - 0x698]
cmovae eax, dword [ebp - 0x698]
push 0
push 0
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 1
push 0x5b4a54
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00525485
lea ecx, [ebp - 0x258]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4694e0
sub ecx, edx
lea eax, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x154]
push 0x104
push eax
call fcn.00525485
mov ecx, dword [ebp - 0x904]
lea eax, [ebp - 0x154]
add esp, 0x10
push 1
push 0
push 0
push eax
call fcn.00465b40
mov ebx, eax
lea ecx, [ebp - 0x6b0]
call fcn.0044d0b0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x698]
call fcn.0044d0b0
mov eax, dword [ebp - 0x66c]
cmp eax, 0x10
jb 0x46955a
inc eax
lea ecx, [ebp - 0x680]
push eax
push dword [ebp - 0x680]
call fcn.0044ad40
mov eax, ebx
jmp 0x469563
mov eax, 4
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