Function at 0x53a0d0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x300
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.005d6e40
mov eax, dword [esi + 0x30]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jle 0x53a10b
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.0076d2d5
mov eax, dword [esi + 0x30]
add esp, 4
inc edi
cmp edi, eax
jl 0x53a0f4
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x20]
mov ecx, edi
call dword [edx + 0xc]
cmp dword [esi + 4], 2
jne 0x53a295
push 0x1bc
call fcn.0076d5a7
add esp, 4
cmp eax, ebx
je 0x53a179
or ecx, 0xffffffff
mov dword [eax + 0x120], ebx
mov dword [eax + 0x124], ecx
mov dword [eax + 0x1a8], ecx
mov byte [eax + 0x1b4], 1
mov byte [eax + 0x1b5], bl
mov dword [eax + 0x1b8], ebx
mov word [eax], bx
mov byte [eax + 0x100], bl
mov word [eax + 0x128], bx
mov dword [eax + 0x1b0], ebx
mov dword [eax + 0x1ac], ebx
mov ebp, eax
jmp 0x53a17b
xor ebp, ebp
push 0x2f8
push str.C:RA2LoadDlg.CPP
xor edx, edx
mov ecx, str.TXT_EMPTY_SLOT
call fcn.006eea10
push eax
push ebp
call fcn.0076ecf4
mov eax, dword [0xa1e0c4]
add esp, 8
cmp eax, ebx
je 0x53a1f6
mov eax, dword [0xa255a0]
mov ecx, dword [eax + 0x834]
mov dword [ebp + 0x120], ecx
mov edx, dword [0xa255a0]
mov eax, dword [edx + 0x11fc]
mov dword [ebp + 0x124], eax
mov ecx, dword [0xa255a0]
mov edx, dword [ecx + 0x224c]
mov dword [ebp + 0x1a8], edx
mov eax, dword [0xa1e0c4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp + 0x128]
mov edx, dword [ecx + 0x60]
push edx
push eax
call fcn.0076ec19
add esp, 8
jmp 0x53a231
mov dword [ebp + 0x120], ebx
mov ecx, dword [0xa256cc]
mov dword [ebp + 0x124], ecx
mov ecx, 0xa256b0
mov dword [ebp + 0x1a8], 0xffffffff
call fcn.006eecd0
push eax
lea edx, [ebp + 0x128]
push 0x7c4d24
push edx
call fcn.0076ecf4
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp + 0x1ac]
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [0xa255a8]
mov byte [ebp + 0x1b4], bl
mov dword [ebp + 0x1b8], eax
mov eax, dword [edi + 8]
cmp dword [edi + 0x10], eax
jl 0x53a286
cmp byte [edi + 0xd], bl
jne 0x53a270
cmp eax, ebx
jne 0x53a295
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
jle 0x53a295
mov edx, dword [edi]
add ecx, eax
push ebx
push ecx
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x53a295
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
mov dword [edi + 0x10], ecx
mov dword [edx + eax*4], ebp
mov eax, dword [esi + 8]
lea ecx, [esp + 0x50]
push eax
push str.._3s
push ecx
call fcn.0076d684
add esp, 0xc
lea edx, [esp + 0x1d0]
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ebp, ebp
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x53a3be
test dword [esp + 0x1d0], 0x116
jne 0x53a38b
cmp ebp, ebx
jne 0x53a33d
push 0x1bc
call fcn.0076d5a7
add esp, 4
cmp eax, ebx
je 0x53a33b
or ecx, 0xffffffff
mov dword [eax + 0x120], ebx
mov dword [eax + 0x124], ecx
mov dword [eax + 0x1a8], ecx
mov byte [eax + 0x1b4], 1
mov byte [eax + 0x1b5], bl
mov dword [eax + 0x1b8], ebx
mov word [eax], bx
mov byte [eax + 0x100], bl
mov word [eax + 0x128], bx
mov dword [eax + 0x1b0], ebx
mov dword [eax + 0x1ac], ebx
mov ebp, eax
jmp 0x53a33d
xor ebp, ebp
mov edx, dword [esi]
lea eax, [esp + 0x1d0]
push eax
push ebp
mov ecx, esi
call dword [edx + 0x10]
cmp al, 1
jne 0x53a38b
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
cmp eax, ecx
jl 0x53a37a
cmp byte [edi + 0xd], bl
jne 0x53a364
cmp ecx, ebx
jne 0x53a389
mov eax, dword [edi + 0x14]
cmp eax, ebx
jle 0x53a389
mov edx, dword [edi]
add eax, ecx
push ebx
push eax
mov ecx, edi
call dword [edx + 8]
test al, al
je 0x53a389
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
mov dword [edi + 0x10], ecx
mov dword [edx + eax*4], ebp
xor ebp, ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1d0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x53a2cd
cmp ebp, ebx
je 0x53a3b3
push ebp
call fcn.0076d2d5
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 0x30]
cmp eax, ebx
jle 0x53a625
push 0x53a6e0
push 4
push eax
mov eax, dword [esi + 0x24]
push eax
call fcn.0076d2e0
mov edi, dword [esp + 0x324]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push ebx
push ebx
push 0x184
push edi
call ebp
mov eax, dword [esi + 0x30]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x18], ecx
jle 0x53a5c8
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x10], eax
cmp byte [eax + 0x1b5], bl
jne 0x53a5b8
push eax
push ebx
push 0x4cd
push edi
call ebp
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [ecx + 0x1b8], ebx
je 0x53a46d
push 0x7ca6e0
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 1
call fcn.0075be90
mov ecx, esi
lea eax, [esp + 0x20]
and ecx, 0xffff
push eax
shl ecx, 0x10
or cl, 0xc8
push ecx
push 0x4a8
push edi
call ebp
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x1b0], 0xffffffff
je 0x53a5a6
mov edx, dword [ecx + 0x1ac]
lea eax, [ecx + 0x1ac]
cmp edx, 0xffffffff
je 0x53a5a6
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [esp + 0x50]
push 0x80
push edx
lea eax, [esp + 0x40]
push ebx
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea ecx, [esp + 0xd0]
push 0x80
push ecx
lea edx, [esp + 0x58]
push 0xffffffffffffffff
push edx
push ebx
push ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [esp + 0x1ce], bx
mov word [esp + eax*2 + 0xd0], bx
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x24]
push eax
call fcn.0075be90
and esi, 0xffff
lea ecx, [esp + 0x20]
shl esi, 0x10
mov edx, esi
push ecx
or dl, 0xff
push edx
push 0x4a8
push edi
call ebp
lea eax, [esp + 0x50]
push 0x80
push eax
lea ecx, [esp + 0x40]
push ebx
push ecx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea edx, [esp + 0xd0]
push 0x80
push edx
lea eax, [esp + 0x58]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0xd0]
mov word [esp + 0x1ce], bx
push ecx
lea ecx, [esp + 0x28]
mov word [esp + eax*2 + 0xd4], bx
call fcn.0075be90
lea edx, [esp + 0x20]
or esi, 0x13b
push edx
push esi
push 0x4a8
push edi
call ebp
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push 0x19a
push edi
call ebp
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x30]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x53a405
mov esi, dword [esi + 4]
cmp esi, 1
je 0x53a5e5
jle 0x53a625
cmp esi, 3
jg 0x53a625
push ebx
push ebx
push 0x186
push edi
call ebp
push ebx
push ebx
jmp 0x53a61d
mov eax, dword [esp + 0x14]
xor esi, esi
mov edx, dword [eax + 0x30]
cmp edx, ebx
jle 0x53a625
mov ecx, dword [eax + 0x24]
mov eax, dword [ecx]
cmp byte [eax + 0x1b4], bl
je 0x53a607
cmp byte [eax + 0x1b5], bl
je 0x53a611
inc esi
add ecx, 4
cmp esi, edx
jl 0x53a5f5
jmp 0x53a625
push ebx
push esi
push 0x186
push edi
call ebp
push ebx
push esi
push 0x197
push edi
call ebp
lea ecx, [esp + 0x28]
call fcn.0075aff0
lea ecx, [esp + 0x24]
call fcn.0075aff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x300
ret 4