Function at 0x42b68c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x868
lea ebp, [esp - 4]
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x868], eax
push 0x50
mov eax, 0x4b5d66
call fcn.004471be
mov ebx, ecx
mov ecx, dword [ebx + 0x680]
xor esi, esi
cmp ecx, esi
mov dword [ebp - 0x14], ebx
jne 0x42b6e6
push 0x10
call fcn.0042c34b
pop ecx
cmp eax, esi
je 0x42b6d8
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x42b6da
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x680], eax
jmp 0x42b6eb
call fcn.0042b58a
push 0x206
lea eax, [ebp + 0x45a]
push esi
push eax
mov word [ebp + 0x458], si
call fcn.00447440
add esp, 0xc
push str.Skin_
call fcn.0040361f
mov ecx, eax
call fcn.00408f56
push eax
lea eax, [ebp + 0x458]
push 0x4b9e68
push eax
call fcn.004479ae
lea eax, [ebp + 0x458]
push eax
mov edi, str._s.
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.004479ae
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 0x42b875
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0040361f
mov ecx, eax
call fcn.00408f6a
push eax
lea eax, [ebp + 0x458]
push str._sAllSkin_
push eax
call fcn.004479ae
lea eax, [ebp + 0x458]
push eax
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.004479ae
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 0x42b9e2
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
cmp eax, esi
je 0x42b9e2
cmp word [ebp + 0x2c], 0x2e
je 0x42b7bc
cmp word [ebp + 0x2e], si
je 0x42b7bc
cmp word [ebp + 0x2e], 0x2e
jne 0x42b7ed
cmp word [ebp + 0x30], si
je 0x42b7bc
test byte [ebp], 0x10
jne 0x42b7bc
lea eax, [ebp + 0x2c]
push str..dfpf
push eax
call fcn.004474ba
test eax, eax
pop ecx
pop ecx
je 0x42b7bc
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x660]
push 0x4b9e74
push eax
call fcn.004479ae
push str..dfpf
call fcn.00446b43
mov edi, eax
lea eax, [ebp + 0x660]
push eax
call fcn.00446b43
sub eax, edi
mov word [ebp + eax*2 + 0x660], si
lea eax, [ebp + 0x660]
push 0x4ba828
push eax
call fcn.004472c8
add esp, 0x1c
test eax, eax
je 0x42b7bc
mov eax, dword [ebx + 0x680]
mov ecx, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041bca1
jmp 0x42b986
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 0x42b765
cmp word [ebp + 0x2c], 0x2e
je 0x42b875
cmp word [ebp + 0x2e], 0
je 0x42b875
cmp word [ebp + 0x2e], 0x2e
jne 0x42b8a6
cmp word [ebp + 0x30], 0
je 0x42b875
test byte [ebp], 0x10
jne 0x42b875
lea eax, [ebp + 0x2c]
push str..dfpf
push eax
call fcn.004474ba
test eax, eax
pop ecx
pop ecx
je 0x42b875
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x660]
push 0x4b9e74
push eax
call fcn.004479ae
push str..dfpf
call fcn.00446b43
mov ebx, eax
lea eax, [ebp + 0x660]
push eax
call fcn.00446b43
sub eax, ebx
and word [ebp + eax*2 + 0x660], 0
lea eax, [ebp + 0x660]
push 0x4ba828
push eax
call fcn.004472c8
add esp, 0x1c
test eax, eax
je 0x42b872
lea eax, [ebp + 0x660]
push eax
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x680]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 1
call fcn.00404bf1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401b15
jmp 0x42b875
lea ecx, [ebp - 0x18]
call fcn.00403545
cmp dword [eax + 0x18], 8
jb 0x42b964
mov eax, dword [eax + 4]
jmp 0x42b967
add eax, 4
push eax
lea eax, [ebp + 0x660]
push eax
call fcn.004472c8
test eax, eax
pop ecx
pop ecx
je 0x42b7bc
lea ecx, [ebp - 0x18]
call fcn.00403566
mov eax, dword [ebx + 0x680]
mov ecx, dword [eax + 8]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041bca1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b5af
test al, al
je 0x42b951
lea eax, [ebp + 0x660]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov ecx, dword [ebx + 0x680]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 2
call fcn.00404bf1
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401b15
jmp 0x42b7bc
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.004471af
add ebp, 0x86c
leave
ret