Function at 0x469840
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579d08
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x7c4], edi
mov dword [edi + 0x10], 0
jb 0x4698b1
mov eax, dword [edi]
jmp 0x4698b3
mov eax, edi
push 0
push 0x5b3ff8
mov ecx, edi
mov byte [eax], 0
call fcn.0044d570
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c0], 1
test ebx, ebx
je 0x469be6
cmp byte [ebx], 0
je 0x469be6
push 0x104
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, 0x34
mov dword [ebp - 0x528], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x52c], 0
mov byte [ebp - 0x53c], 0
jne 0x469962
xor ecx, ecx
jmp 0x469979
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469970
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x53c]
call fcn.0044d570
push 2
push 0x5b60d0
lea ecx, [ebp - 0x53c]
mov dword [ebp - 4], 1
call fcn.0044ab10
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00510680
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00510680
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x524]
add esp, 0x18
lea eax, [ebp - 0x53c]
cmp dword [ebp - 0x528], 0x10
cmovae eax, dword [ebp - 0x53c]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x7bc]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469b55
push 0x5b4948
lea ecx, [ebp - 0x554]
call fcn.0044d0f0
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x790], 0
jne 0x469a5f
xor eax, eax
jmp 0x469a7f
lea eax, [ebp - 0x790]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469a70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x790]
push eax
lea ecx, [ebp - 0x554]
call fcn.0044d430
cmp word [ebp - 0x31c], 0
jne 0x469aa0
xor ecx, ecx
jmp 0x469abf
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469ab0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x554]
call fcn.00469ee0
cmp eax, 0xffffffff
jne 0x469aed
lea eax, [ebp - 0x7bc]
push eax
push esi
call ebx
test eax, eax
jne 0x469a51
jmp 0x469b3f
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x469b0a
mov eax, dword [ecx]
jmp 0x469b0c
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x554]
push edx
push eax
call fcn.0044d8f0
lea eax, [ebp - 0x56c]
push eax
call fcn.00469010
push eax
mov ecx, edi
call fcn.00451350
lea ecx, [ebp - 0x56c]
call fcn.0044d1a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 1
call fcn.0044d0b0
cmp dword [edi + 0x10], 0
je 0x469bc8
push 1
push 0x5b4a54
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00525485
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x469b80
mov eax, dword [edi]
jmp 0x469b82
mov eax, edi
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00525485
add esp, 0x10
cmp byte [ebp - 0x114], 0
jne 0x469ba7
xor ecx, ecx
jmp 0x469bb9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469bb0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.0044d570
mov ecx, dword [ebp - 0x528]
cmp ecx, 0x10
jb 0x469be6
inc ecx
push ecx
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
call fcn.0044ad40
mov eax, edi
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 8