Function at 0x42a560
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5fba
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x52610c]
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 dword [ebp - 0x4c0], edx
mov esi, ecx
mov dword [ebp - 0x4cc], esi
mov dword [ebp - 0x4c4], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0x4b4], ebx
call fcn.0042c440
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x42a5d5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c7cde
push edi
mov edx, 0x5085a0
lea ecx, [ebp - 0x248]
call fcn.00410b80
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x42a603
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c776b
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp eax, 8
jb 0x42a636
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403f90
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a68d
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c440
mov edx, eax
mov eax, dword [ebp - 0x4b8]
mov dword [esi], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x4b4]
push edx
mov dword [ebp - 0x4b8], edx
mov dword [esi + 4], eax
mov dword [ebp - 0x4b4], ecx
push dword [edx]
jmp 0x42a853
mov esi, dword [ebp - 0x4c0]
test byte [ebp - 0x4b0], 0x10
jne 0x42a7f7
cmp byte [ebp + 0xc], 0
je 0x42a6c4
push 0x507d60
mov edx, esi
lea ecx, [ebp - 0x260]
call fcn.0042c4d0
add esp, 4
mov byte [ebp - 4], 1
or ebx, 2
jmp 0x42a702
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x5026d8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403e20
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
or ebx, 4
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x4bc], ebx
push ecx
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.00414c90
add esp, 4
mov dword [ebp - 4], 3
push dword [ebp - 0x4c4]
push eax
push ecx
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.0042c640
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x42a75e
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
test bl, 4
je 0x42a7c4
mov eax, dword [ebp - 0x21c]
and ebx, 0xfffffffb
mov dword [ebp - 0x4bc], ebx
cmp eax, 8
jb 0x42a7a7
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x42a7f7
mov eax, dword [ebp - 0x24c]
and ebx, 0xfffffffd
mov dword [ebp - 0x4bc], ebx
cmp eax, 8
jb 0x42a7f7
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403f90
lea eax, [ebp - 0x4b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a693
mov esi, dword [ebp - 0x4cc]
test edi, edi
je 0x42a81e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c440
mov ecx, dword [ebp - 0x4b8]
mov dword [esi], ecx
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x4b4]
push eax
mov dword [ebp - 0x4b8], eax
mov dword [esi + 4], ecx
mov dword [ebp - 0x4b4], edx
push dword [eax]
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.0042bcc0
push dword [ebp - 0x4b8]
call fcn.004a0560
mov eax, esi
add esp, 4
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.004a0535
mov esp, ebp
pop ebp
ret