Function at 0x4c7200
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x652438
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x198]
cmp dword [eax + 0x194], esi
lea edi, [eax + 0x190]
mov dword [esp + 0x10], eax
jbe 0x4c7260
call fcn.0062492b
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x4c726d
call fcn.0062492b
push esi
push edi
push ebx
push edi
lea eax, [esp + 0x40]
push eax
mov ebx, edi
call fcn.004d5040
lea esi, [esp + 0x70]
call fcn.004e61a0
push str.userdata_replays_.pegw
push eax
lea ecx, [esp + 0x40]
xor ebx, ebx
push ecx
mov dword [esp + 0x294], ebx
call fcn.0044cf70
mov edi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], edi
jb 0x4c72b1
mov eax, dword [eax + 4]
jmp 0x4c72b4
add eax, 4
lea edx, [esp + 0x134]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [esp + 0x50], edi
mov esi, eax
mov dword [esp + 0x30], esi
jb 0x4c72dc
mov eax, dword [esp + 0x3c]
push eax
call fcn.0062493b
add esp, 4
mov dword [esp + 0x288], 0xffffffff
cmp dword [esp + 0x88], edi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x4c730d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0062493b
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
je 0x4c7762
jmp 0x4c7332
xor ebx, ebx
lea eax, [esp + 0x160]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c7350
sub eax, edx
push eax
lea edx, [esp + 0x164]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402300
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x294], 1
call fcn.004e7710
add esp, 0xc
cmp dword [esp + 0x2c], edi
jb 0x4c73a2
mov edx, dword [esp + 0x18]
push edx
call fcn.0062493b
add esp, 4
cmp dword [esp + 0x110], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], 0
je 0x4c73e7
mov eax, dword [esp + 0x114]
cmp eax, edi
mov esi, dword [esp + 0x100]
mov ecx, esi
jae 0x4c73d9
lea ecx, [esp + 0x100]
mov esi, ecx
movsx eax, byte [ecx]
push eax
call fcn.00625ce4
add esp, 4
mov byte [esi], al
cmp dword [esp + 0x114], edi
mov ecx, dword [esp + 0x100]
jae 0x4c73fe
lea ecx, [esp + 0x100]
mov eax, str.replay
call fcn.004e8640
test al, al
je 0x4c7443
cmp dword [esp + 0x114], edi
mov eax, dword [esp + 0x100]
jae 0x4c7423
lea eax, [esp + 0x100]
add eax, 6
push eax
call fcn.00625069
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, dword [ecx + 0x1e8]
jle 0x4c7447
mov dword [ecx + 0x1e8], eax
jmp 0x4c7447
mov ecx, dword [esp + 0x10]
mov eax, 0xf
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], 0
lea edx, [esp + 0x8c]
lea ebx, [ecx + 0x190]
push edx
mov esi, ebx
mov byte [esp + 0x28c], 4
call fcn.004d47f0
mov byte [esp + 0x288], 3
cmp dword [esp + 0xcc], edi
jb 0x4c74b6
mov eax, dword [esp + 0xb8]
push eax
call fcn.0062493b
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
jb 0x4c74ed
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0062493b
add esp, 4
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x4c74fa
call fcn.0062492b
mov ecx, dword [esp + 0x10]
lea eax, [esi - 0x48]
add ecx, 0x190
cmp eax, dword [ecx + 8]
mov dword [esp + 0xf8], esi
ja 0x4c7518
cmp eax, dword [ecx + 4]
jae 0x4c751d
call fcn.0062492b
add esi, 0xffffffb8
cmp esi, dword [ebx + 8]
jb 0x4c752a
call fcn.0062492b
mov edx, dword [esp + 0x148]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x14c]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x134]
shr ecx, 4
push 0xffffffffffffffff
and cl, 1
xor ebx, ebx
push ebx
lea edx, [esp + 0x104]
mov byte [esi + 0x24], cl
push edx
mov ecx, esi
call fcn.00401d10
lea eax, [esp + 0xd4]
mov dword [esi + 0x44], ebx
call fcn.005653c0
lea eax, [esp + 0x160]
push eax
push 0x679910
lea ecx, [esp + 0x120]
push str._s_s
push ecx
mov byte [esp + 0x298], 5
call fcn.004e7a20
add esp, 0x10
mov byte [esp + 0x288], 6
cmp dword [esp + 0x130], edi
mov ecx, dword [esp + 0x11c]
jae 0x4c75ba
lea ecx, [esp + 0x11c]
mov eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4c75d0
sub eax, ebx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402300
mov ecx, dword [esp + 0x10]
push 1
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x1c]
mov byte [esp + 0x290], 7
mov edx, dword [ecx + 0x188]
push eax
push edx
call fcn.005468d0
mov byte [esp + 0x288], 6
cmp dword [esp + 0x2c], edi
mov bl, al
jb 0x4c762a
mov eax, dword [esp + 0x18]
push eax
call fcn.0062493b
add esp, 4
test bl, bl
je 0x4c764e
lea eax, [esp + 0xd4]
call fcn.00565b20
cmp eax, 0x46
jb 0x4c764e
lea eax, [esp + 0xd4]
call fcn.00565b20
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1c8]
cmp byte [edx + 0x90], 0
je 0x4c76c8
mov ecx, dword [esi + 0x44]
test ecx, ecx
jle 0x4c76c8
cmp dword [esi + 0x18], edi
jb 0x4c7672
mov eax, dword [esi + 4]
jmp 0x4c7675
lea eax, [esi + 4]
push eax
push ecx
lea eax, [esp + 0x5c]
push str._d_____s
push eax
call fcn.004e7a20
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x28]
mov byte [esp + 0x294], 8
call fcn.00401d10
cmp dword [esp + 0x6c], edi
jb 0x4c76b1
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0062493b
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jmp 0x4c76d5
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esi + 0x28]
call fcn.00401d10
cmp dword [esp + 0x130], edi
jb 0x4c76ee
mov edx, dword [esp + 0x11c]
push edx
call fcn.0062493b
add esp, 4
lea ecx, [esp + 0xd4]
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], 0
mov byte [esp + 0x11c], 0
call fcn.005653e0
mov dword [esp + 0x288], 0xffffffff
cmp dword [esp + 0x114], edi
jb 0x4c773c
mov eax, dword [esp + 0x100]
push eax
call fcn.0062493b
add esp, 4
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x134]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c7330
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 4