Function at 0x515e20
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x46c
call fcn.005e6090
movsx eax, word [0x63b40c]
movsx ecx, word [0x62528c]
movsx edx, word [0x625288]
push ebx
push esi
push edi
push eax
movsx eax, word [0x625284]
push ecx
push edx
xor ebx, ebx
push eax
lea ecx, [esp + 0x280]
push str.DefTDL__d._d._d._d.dat
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.005e6246
mov eax, dword [0x63b430]
lea edx, [esp + 0x38c]
add esp, 0x18
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x515e90
lea edi, [esp + 0x374]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x515ea2
mov edx, dword [str.DefTDL_.dat]
mov eax, dword [0x60fa14]
mov ecx, dword [0x60fa18]
mov dword [edi], edx
mov dx, word [0x60fa1c]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x378]
push ecx
mov word [edi + 0xc], dx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x51607b
xor eax, eax
jmp 0x515f00
mov cl, byte [esp + eax + 0x15c]
mov byte [esp + eax + 0x2c], cl
inc eax
cmp cl, bl
jne 0x515f00
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push 0x2d
push edx
call fcn.005e6770
mov ecx, eax
add esp, 8
inc ecx
lea edx, [esp + 0x28]
call fcn.00515ce0
cmp eax, 1
jne 0x515f83
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x34]
push str._d._d
push edx
call fcn.005e6246
lea eax, [esp + 0x3c]
push eax
call fcn.005e7782
fstp dword [esp + 0x38]
add esp, 0x14
xor eax, eax
jmp 0x515f70
mov cl, byte [esp + eax + 0x15c]
mov byte [esp + eax + 0x270], cl
inc eax
cmp cl, bl
jne 0x515f70
lea ecx, [esp + 0x130]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x51607b
mov edi, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
jmp 0x515fb0
mov cl, byte [esp + eax + 0x160]
mov byte [esp + eax + 0x30], cl
inc eax
cmp cl, bl
jne 0x515fb0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push 0x2d
push edx
call fcn.005e6770
mov ecx, eax
add esp, 8
inc ecx
lea edx, [esp + 0x28]
call fcn.00515ce0
cmp eax, 1
jne 0x51605f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x38]
push str._d._d
push edx
call fcn.005e6246
lea eax, [esp + 0x40]
push eax
call fcn.005e7782
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esp, 0x14
cmp edx, edi
jg 0x516030
cmp esi, ebp
jg 0x516030
fcom dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x51605d
xor eax, eax
jmp 0x516040
mov cl, byte [esp + eax + 0x160]
mov byte [esp + eax + 0x274], cl
inc eax
cmp cl, bl
jne 0x516040
fstp dword [esp + 0x28]
mov edi, edx
mov ebp, esi
jmp 0x51605f
fstp st(0)
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x134]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x515fa3
pop ebp
lea edx, [esp + 0x270]
mov ecx, 0x63b468
call fcn.004ea010
pop edi
pop esi
pop ebx
add esp, 0x46c
ret