Function at 0x42f719
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x868
lea ebp, [esp - 4]
mov eax, dword [0x59d680]
xor eax, ebp
mov dword [ebp + 0x868], eax
push 0x50
mov eax, 0x539a3f
call fcn.0044fa84
mov ebx, ecx
mov ecx, dword [ebx + 0x694]
xor esi, esi
cmp ecx, esi
mov dword [ebp - 0x14], ebx
jne 0x42f773
push 0x10
call fcn.00434315
pop ecx
cmp eax, esi
je 0x42f765
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x42f767
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x694], eax
jmp 0x42f778
call fcn.0040e68e
push 0x206
lea eax, [ebp + 0x45a]
push esi
push eax
mov word [ebp + 0x458], si
call fcn.0044fd00
add esp, 0xc
push str.Skin_
call fcn.00402f04
mov ecx, eax
call fcn.0040b5d1
push eax
lea eax, [ebp + 0x458]
push 0x53ded0
push eax
call fcn.0045025e
lea eax, [ebp + 0x458]
push eax
mov edi, str._s.
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.0045025e
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0x1c
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x42f902
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00402f04
mov ecx, eax
call fcn.0040b5e5
push eax
lea eax, [ebp + 0x458]
push str._sAllSkin_
push eax
call fcn.0045025e
lea eax, [ebp + 0x458]
push eax
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.0045025e
add esp, 0x18
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x42fa6f
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
cmp eax, esi
je 0x42fa6f
cmp word [ebp + 0x2c], 0x2e
je 0x42f849
cmp word [ebp + 0x2e], si
je 0x42f849
cmp word [ebp + 0x2e], 0x2e
jne 0x42f87a
cmp word [ebp + 0x30], si
je 0x42f849
test byte [ebp], 0x10
jne 0x42f849
lea eax, [ebp + 0x2c]
push str..znpf
push eax
call fcn.0044fd7a
test eax, eax
pop ecx
pop ecx
je 0x42f849
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x660]
push 0x53dedc
push eax
call fcn.0045025e
push str..znpf
call fcn.0044f427
mov edi, eax
lea eax, [ebp + 0x660]
push eax
call fcn.0044f427
sub eax, edi
mov word [ebp + eax*2 + 0x660], si
lea eax, [ebp + 0x660]
push 0x53e998
push eax
call fcn.0044fb8e
add esp, 0x1c
test eax, eax
je 0x42f849
mov eax, dword [ebx + 0x694]
mov ecx, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403537
jmp 0x42fa13
mov ebx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42f7f2
cmp word [ebp + 0x2c], 0x2e
je 0x42f902
cmp word [ebp + 0x2e], 0
je 0x42f902
cmp word [ebp + 0x2e], 0x2e
jne 0x42f933
cmp word [ebp + 0x30], 0
je 0x42f902
test byte [ebp], 0x10
jne 0x42f902
lea eax, [ebp + 0x2c]
push str..znpf
push eax
call fcn.0044fd7a
test eax, eax
pop ecx
pop ecx
je 0x42f902
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x660]
push 0x53dedc
push eax
call fcn.0045025e
push str..znpf
call fcn.0044f427
mov ebx, eax
lea eax, [ebp + 0x660]
push eax
call fcn.0044f427
sub eax, ebx
and word [ebp + eax*2 + 0x660], 0
lea eax, [ebp + 0x660]
push 0x53e998
push eax
call fcn.0044fb8e
add esp, 0x1c
test eax, eax
je 0x42f8ff
lea eax, [ebp + 0x660]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401a45
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x694]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 1
call fcn.00404599
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401376
jmp 0x42f902
lea ecx, [ebp - 0x18]
call fcn.00402e2a
cmp dword [eax + 0x18], 8
jb 0x42f9f1
mov eax, dword [eax + 4]
jmp 0x42f9f4
add eax, 4
push eax
lea eax, [ebp + 0x660]
push eax
call fcn.0044fb8e
test eax, eax
pop ecx
pop ecx
je 0x42f849
lea ecx, [ebp - 0x18]
call fcn.00402e4b
mov eax, dword [ebx + 0x694]
mov ecx, dword [eax + 8]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00403537
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fe07
test al, al
je 0x42f9de
lea eax, [ebp + 0x660]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401a45
mov ecx, dword [ebx + 0x694]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 2
call fcn.00404599
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401376
jmp 0x42f849
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x868]
xor ecx, ebp
call fcn.0044fa75
add ebp, 0x86c
leave
ret