Function at 0x4ca4c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652369
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x6af168]
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, ecx
mov esi, dword [edi + 0x198]
mov dword [ebp - 0x174], edi
add edi, 0x190
cmp dword [edi + 4], esi
jbe 0x4ca50c
call fcn.0062492b
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x4ca519
call fcn.0062492b
push esi
push edi
push ebx
push edi
lea eax, [ebp - 0x17c]
push eax
mov ebx, edi
call fcn.004d5180
lea esi, [ebp - 0x1dc]
call fcn.004e61a0
push str.levelpacks_.dat
push eax
lea ecx, [ebp - 0x1f8]
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.0044cf70
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4ca55b
mov eax, dword [eax + 4]
jmp 0x4ca55e
add eax, 4
lea edx, [ebp - 0x170]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [ebp - 0x1e0], 0x10
mov esi, eax
mov dword [ebp - 0x178], esi
jb 0x4ca58c
mov eax, dword [ebp - 0x1f4]
push eax
call fcn.0062493b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c4], 0x10
mov dword [ebp - 0x1e0], 0xf
mov dword [ebp - 0x1e4], ebx
mov byte [ebp - 0x1f4], bl
jb 0x4ca5c1
mov ecx, dword [ebp - 0x1d8]
push ecx
call fcn.0062493b
add esp, 4
cmp esi, 0xffffffff
mov dword [ebp - 0x1c4], 0xf
mov dword [ebp - 0x1c8], ebx
mov byte [ebp - 0x1d8], bl
je 0x4ca7de
lea eax, [ebp - 0x144]
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], ebx
mov byte [ebp - 0x194], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ca600
sub eax, edx
push eax
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x198]
call fcn.00402300
push 1
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 1
call fcn.004e7710
add esp, 0xc
mov esi, 0x10
cmp dword [ebp - 0x180], esi
jb 0x4ca656
mov edx, dword [ebp - 0x194]
push edx
call fcn.0062493b
add esp, 4
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], ebx
mov byte [ebp - 0x194], bl
je 0x4ca69b
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov esi, dword [ebp - 0x28]
mov ecx, esi
jae 0x4ca680
lea ecx, [ebp - 0x28]
cmp eax, 0x10
jae 0x4ca688
lea esi, [ebp - 0x28]
movsx eax, byte [ecx]
push eax
call fcn.00625ce4
mov byte [esi], al
add esp, 4
mov esi, 0x10
cmp dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x28]
jae 0x4ca6a6
lea ecx, [ebp - 0x28]
mov eax, str.Level
call fcn.004e8640
test al, al
je 0x4ca6df
cmp dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
jae 0x4ca6bf
lea eax, [ebp - 0x28]
add eax, 6
push eax
call fcn.00625069
mov ecx, dword [ebp - 0x174]
add esp, 4
cmp eax, dword [ecx + 0x1bc]
jle 0x4ca6df
mov dword [ecx + 0x1bc], eax
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], ebx
mov byte [ebp - 0x1bc], bl
lea ecx, [ebp - 0x1c0]
push ecx
mov esi, edi
mov byte [ebp - 4], 4
call fcn.004d48f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1a8], 0x10
jb 0x4ca723
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.0062493b
add esp, 4
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], ebx
mov byte [ebp - 0x1bc], bl
jbe 0x4ca746
call fcn.0062492b
lea eax, [esi - 0x28]
cmp eax, dword [edi + 8]
mov dword [ebp - 0x1fc], esi
ja 0x4ca759
cmp eax, dword [edi + 4]
jae 0x4ca760
call fcn.0062492b
xor ebx, ebx
add esi, 0xffffffd8
cmp esi, dword [edi + 8]
jb 0x4ca76d
call fcn.0062492b
mov eax, dword [ebp - 0x15c]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0x158]
mov dword [esi + 0x20], ecx
mov edx, dword [ebp - 0x170]
push 0xffffffffffffffff
shr edx, 4
push ebx
lea eax, [ebp - 0x2c]
and dl, 1
push eax
mov ecx, esi
mov byte [esi + 0x24], dl
call fcn.00401d10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4ca7b5
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0062493b
add esp, 4
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x170]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4ca5e0
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
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.00624940
mov esp, ebp
pop ebp
ret