Function at 0x10024458
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x6ec
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x6ec], eax
push 0x24
mov eax, 0x1017d167
call fcn.1008546d
mov eax, dword [ebp + 0x6f8]
mov edi, dword [ebp + 0x6fc]
push eax
lea ecx, [ebp + 0x250]
mov dword [ebp - 0x14], edi
call fcn.100015f0
xor esi, esi
push edi
lea ecx, [ebp + 0x288]
mov dword [ebp - 4], esi
call fcn.100015f0
lea eax, [ebp + 0x288]
push eax
xor ebx, ebx
lea eax, [ebp + 0x26c]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.1001e821
lea eax, [ebp + 0x26c]
push eax
mov byte [ebp - 4], 2
call fcn.1001dfe4
lea eax, [ebp + 0x26c]
push eax
lea eax, [ebp + 0x2a4]
push eax
call fcn.1001e780
add esp, 0x14
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x288]
mov byte [ebp - 4], 3
call fcn.10001d30
push esi
push ebx
lea ecx, [ebp + 0x2a4]
mov byte [ebp - 4], 2
call fcn.100017c0
push 0x1018ae98
lea ecx, [ebp + 0x250]
call fcn.10003640
cmp dword [ebp + 0x268], 8
mov eax, dword [ebp + 0x254]
jae 0x10024530
lea eax, [ebp + 0x254]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x1002479c
mov edi, 0x206
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
je 0x1002479c
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x2c0]
call fcn.100015f0
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.1001e821
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x26c]
mov byte [ebp - 4], 5
call fcn.10001660
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.10001770
lea eax, [ebp + 0x26c]
push eax
call fcn.1001dfe4
lea eax, [ebp + 0x26c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1001e780
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x2c0]
mov byte [ebp - 4], 6
call fcn.10001d30
push esi
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.100017c0
cmp word [ebp + 0x2c], 0x2e
je 0x100246f3
cmp word [ebp + 0x2e], si
je 0x100246f3
cmp word [ebp + 0x2e], 0x2e
jne 0x1002460d
cmp word [ebp + 0x30], si
je 0x100246f3
test byte [ebp], 0x10
jne 0x100246f3
push edi
lea eax, [ebp + 0x2de]
push esi
push eax
mov word [ebp + 0x2dc], si
call fcn.10085bc0
push edi
lea eax, [ebp + 0x4e6]
push esi
push eax
mov word [ebp + 0x4e4], si
call fcn.10085bc0
mov eax, dword [ebp + 0x2c4]
add esp, 0x18
cmp dword [ebp + 0x2d8], 8
jae 0x10024659
lea eax, [ebp + 0x2c4]
push eax
lea eax, [ebp + 0x4e4]
push 0x10187268
push eax
call fcn.10004df5
lea eax, [ebp + 0x2dc]
push eax
lea eax, [ebp + 0x4e4]
push eax
call fcn.1001ca2e
lea eax, [ebp + 0x2dc]
push str..lnk
push eax
call fcn.100862d7
add esp, 0x1c
test eax, eax
jne 0x100246f3
lea eax, [ebp + 0x4e4]
push eax
lea eax, [ebp + 0x2a4]
push eax
call fcn.1001e6e5
pop ecx
pop ecx
cmp dword [ebp + 0x2a0], 8
mov ecx, dword [ebp + 0x28c]
mov byte [ebp - 4], 7
jae 0x100246c4
lea ecx, [ebp + 0x28c]
cmp dword [ebp + 0x2bc], 8
mov eax, dword [ebp + 0x2a8]
jae 0x100246d9
lea eax, [ebp + 0x2a8]
push ecx
push eax
call fcn.1001cc70
test eax, eax
pop ecx
pop ecx
jne 0x10024709
push esi
push ebx
lea ecx, [ebp + 0x2a4]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x2c0]
mov byte [ebp - 4], 2
call fcn.100017c0
jmp 0x1002454c
cmp dword [ebp + 0x2bc], 8
mov eax, dword [ebp + 0x2a8]
jae 0x1002471e
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x14]
call fcn.100862d7
test eax, eax
pop ecx
pop ecx
je 0x10024798
push 2
pop edi
push esi
push ebx
lea ecx, [ebp + 0x2a4]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x2c0]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x26c]
call fcn.10001770
push esi
push ebx
lea ecx, [ebp + 0x288]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x250]
call fcn.100017c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6ec]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x6f0
leave
ret 8
mov edi, ebx
jmp 0x10024730
xor edi, edi
jmp 0x1002474a