Function at 0x4071b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x28c
push 0xffffffffffffffff
push 0x583b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6531f0]
xor eax, ebp
mov dword [ebp + 0x288], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x294]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x11], 0
xor edi, edi
mov dword [ebp - 4], edi
push ebx
lea esi, [ebp + 0x26c]
call fcn.0040c680
mov byte [ebp - 4], 1
mov ecx, esi
push ecx
mov eax, 0x631330
call fcn.0040c6e0
mov dword [ebp], edi
push 0x24c
push edi
lea edx, [ebp + 4]
push edx
call fcn.00501e30
add esp, 0xc
cmp dword [ebp + 0x284], 8
mov eax, dword [ebp + 0x270]
jae 0x40724a
lea eax, [ebp + 0x270]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x407444
mov edx, dword [sym.imp.KERNEL32.dll_FindClose]
push edx
push eax
lea esi, [ebp - 0x2c]
call fcn.00412df0
mov byte [ebp - 4], 2
jmp 0x407279
xor edi, edi
mov byte [ebp - 4], 3
cmp dword [ebp + 0x20], edi
jbe 0x407405
test byte [ebp], 0x10
jne 0x407405
lea eax, [ebp - 0x3c]
push eax
call fcn.004074a0
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], edi
cmp dword [ebx + 0x18], 8
jb 0x4072b0
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
jmp 0x4072b6
lea edx, [ebx + 4]
mov dword [ebp - 0x1c], edx
lea edi, [ebp - 0x38]
call fcn.004027b0
lea edx, [ebp + 0x2c]
lea edi, [ebp - 0x34]
call fcn.004027b0
push ebx
lea esi, [ebp + 0x250]
call fcn.0040c680
mov byte [ebp - 4], 5
mov ecx, esi
push ecx
mov eax, 0x63132c
call fcn.0040c6e0
mov edx, esi
push edx
lea eax, [ebp + 0x2c]
call fcn.0040c6e0
mov eax, esi
push eax
lea edi, [ebp - 0x5c]
call fcn.00406fe0
add esp, 4
mov byte [ebp - 4], 6
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x407312
mov eax, dword [eax + 4]
jmp 0x407315
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004026a0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x5c]
call fcn.0042f9c0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
xor esi, esi
cmp eax, esi
jne 0x407361
cmp dword [ebx + 0x18], edi
jb 0x407344
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
jmp 0x407347
mov edx, dword [ebp - 0x1c]
lea edi, [ebp - 0x18]
call fcn.004027b0
mov edx, 0x63132c
call fcn.0040cc10
lea edx, [ebp + 0x2c]
call fcn.0040cc10
lea edi, [ebp - 0x18]
call fcn.0040cc50
lea ecx, [ebp - 0x28]
push ecx
call fcn.00407560
mov bl, 9
mov byte [ebp - 4], bl
mov eax, edi
lea edi, [ebp - 0x28]
call fcn.0040e9d0
push 0x10
call fcn.004fdddd
add esp, 4
cmp eax, esi
je 0x40739c
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x40739e
xor eax, eax
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00412f40
sub esp, 8
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
lea edi, [ebp - 0x28]
call fcn.00468180
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], bl
mov ebx, dword [ebp - 0x40]
call fcn.0040bcb0
add esp, 8
mov byte [ebp - 4], 8
mov ecx, edi
push ecx
call fcn.00464110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00402750
mov byte [ebp - 4], 4
lea esi, [ebp + 0x250]
call fcn.0042f9c0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x3c]
push edx
call fcn.00407500
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], 2
jmp 0x40741e
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407277
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.00406860
mov byte [ebp - 4], 0
lea esi, [ebp + 0x26c]
call fcn.0042f9c0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.004fdb4a
add ebp, 0x28c
mov esp, ebp
pop ebp
ret