Function at 0x494cb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ec7c
mov eax, dword fs:[0]
push eax
sub esp, 0x8d4
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8e0], ecx
mov eax, dword [ebp - 0x8e0]
mov ecx, dword [eax + 0x10]
call fcn.0048b4b0
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.004caa30
add esp, 0xc
push str.Skin_
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b180
push eax
push 0x554da0
lea edx, [ebp - 0x42c]
push edx
call fcn.004cb62b
add esp, 0x10
lea eax, [ebp - 0x42c]
push eax
push 0x554dac
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x884]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0xffffffff
je 0x494eab
lea ecx, [ebp - 0x884]
push ecx
mov edx, dword [ebp - 0x888]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x494da5
jmp 0x494eab
movzx eax, word [ebp - 0x858]
cmp eax, 0x2e
jne 0x494db3
jmp 0x494d70
movzx ecx, word [ebp - 0x856]
test ecx, ecx
jne 0x494dc0
jmp 0x494d70
movzx edx, word [ebp - 0x856]
cmp edx, 0x2e
jne 0x494dd9
movzx eax, word [ebp - 0x854]
test eax, eax
jne 0x494dd9
jmp 0x494d70
mov ecx, dword [ebp - 0x884]
and ecx, 0x10
jne 0x494ea6
push 0x554db8
lea edx, [ebp - 0x858]
push edx
call fcn.00430400
add esp, 8
test eax, eax
je 0x494ea6
lea eax, [ebp - 0x858]
push eax
push 0x554dc4
lea ecx, [ebp - 0x634]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x634]
push edx
call fcn.004caee6
add esp, 4
mov esi, eax
push 0x554dcc
call fcn.004caee6
add esp, 4
sub esi, eax
mov word [ebp + esi*2 - 0x634], 0
push 0x554dd8
lea eax, [ebp - 0x634]
push eax
call fcn.004cbc4a
add esp, 8
test eax, eax
jne 0x494e66
jmp 0x494d70
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x8b0]
call fcn.004015d0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x8b0]
push edx
mov eax, dword [ebp - 0x8e0]
mov ecx, dword [eax + 0x10]
call fcn.0041b810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b0]
call fcn.00401610
jmp 0x494d70
mov ecx, dword [ebp - 0x888]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b1c0
push eax
push str._sAllSkin_
lea edx, [ebp - 0x42c]
push edx
call fcn.004cb62b
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push str._s.
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x884]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0xffffffff
je 0x4950e9
lea ecx, [ebp - 0x884]
push ecx
mov edx, dword [ebp - 0x888]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x494f49
jmp 0x4950e9
movzx eax, word [ebp - 0x858]
cmp eax, 0x2e
jne 0x494f57
jmp 0x494f14
movzx ecx, word [ebp - 0x856]
test ecx, ecx
jne 0x494f64
jmp 0x494f14
movzx edx, word [ebp - 0x856]
cmp edx, 0x2e
jne 0x494f7d
movzx eax, word [ebp - 0x854]
test eax, eax
jne 0x494f7d
jmp 0x494f14
mov ecx, dword [ebp - 0x884]
and ecx, 0x10
jne 0x4950e4
push 0x554e0c
lea edx, [ebp - 0x858]
push edx
call fcn.00430400
add esp, 8
test eax, eax
je 0x4950e4
lea eax, [ebp - 0x858]
push eax
push 0x554e18
lea ecx, [ebp - 0x634]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x634]
push edx
call fcn.004caee6
add esp, 4
mov esi, eax
push 0x554e20
call fcn.004caee6
add esp, 4
sub esi, eax
mov word [ebp + esi*2 - 0x634], 0
push 0x554e2c
lea eax, [ebp - 0x634]
push eax
call fcn.004cbc4a
add esp, 8
test eax, eax
jne 0x49500a
jmp 0x494f14
mov dword [ebp - 0x88c], 0
lea ecx, [ebp - 0x894]
push ecx
mov edx, dword [ebp - 0x8e0]
mov ecx, dword [edx + 0x10]
call fcn.0041b7e0
jmp 0x49503f
push 0
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x894]
call fcn.0041b880
lea ecx, [ebp - 0x8c0]
push ecx
mov edx, dword [ebp - 0x8e0]
mov ecx, dword [edx + 0x10]
call fcn.00447aa0
push eax
lea ecx, [ebp - 0x894]
call fcn.00447a30
movzx eax, al
test eax, eax
je 0x49509b
lea ecx, [ebp - 0x894]
call fcn.0045a770
mov ecx, eax
call fcn.004017c0
push eax
lea ecx, [ebp - 0x634]
push ecx
call fcn.004cbc4a
add esp, 8
test eax, eax
jne 0x495099
mov dword [ebp - 0x88c], 1
jmp 0x49509b
jmp 0x49502b
cmp dword [ebp - 0x88c], 0
jne 0x4950e4
lea edx, [ebp - 0x634]
push edx
lea ecx, [ebp - 0x8dc]
call fcn.004015d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x8dc]
push eax
mov ecx, dword [ebp - 0x8e0]
mov ecx, dword [ecx + 0x10]
call fcn.0041b810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8dc]
call fcn.00401610
jmp 0x494f14
mov edx, dword [ebp - 0x888]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret