Function at 0x42f5f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ad81
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x547770]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x348], ebx
mov esi, ecx
mov dword [ebp - 0x34c], edi
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
jne 0x42f65e
lea eax, [ebp - 0x360]
push eax
mov ecx, edi
call fcn.0042f0c0
jmp 0x42fc5b
push 0x24c
lea ecx, [ebp - 0x33c]
push ebx
push ecx
mov dword [ebp - 0x340], ebx
call fcn.004bad00
add esp, 0xc
push 0xffffffffffffffff
push 0x511e7c
lea ecx, [ebp - 0x48]
call fcn.0042c8e0
mov edi, eax
lea edx, [ebp - 0x2c]
push esi
push edx
mov byte [ebp - 4], 1
call fcn.0042bd80
push edi
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.0042b970
add esp, 0x14
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42f6c3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9d66
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], esi
jb 0x42f6e9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9d66
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
mov word [ebp - 0x48], cx
push 0x51a0b4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0042c8e0
push eax
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 6
call fcn.0042b970
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0xdc], esi
jb 0x42f73d
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004b9d66
add esp, 4
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0x88], esi
jae 0x42f766
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x350], eax
cmp eax, 0xffffffff
jne 0x42f7df
mov esi, dword [ebp - 0x34c]
lea edx, [ebp - 0x360]
push edx
mov ecx, esi
call fcn.0042f0c0
cmp dword [ebp - 0x88], 8
jb 0x42f7ab
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b9d66
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
jb 0x42f7d8
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b9d66
add esp, 4
mov eax, esi
jmp 0x42fc5d
test byte [ebp - 0x340], 0x10
je 0x42fa8c
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
lea ecx, [ebp - 0x314]
push 0xffffffffffffffff
push ecx
mov byte [ebp - 4], 9
call fcn.004bb4a1
add esp, 8
push eax
lea eax, [ebp - 0x314]
xor edx, edx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.004021e0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.00401720
cmp dword [ebp - 0x6c], esi
jb 0x42f856
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b9d66
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push 0xffffffffffffffff
push 0x511740
mov byte [ebp - 4], 0xc
call fcn.004bb4a1
add esp, 8
push eax
xor edx, edx
push 0x511740
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.004021e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.00401720
cmp dword [ebp - 0x18], esi
jb 0x42f8bc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9d66
add esp, 4
or dword [ebp - 0x348], 2
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x42f8ce
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x42f8e2
lea eax, [ebp - 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f908
cmp dx, bx
je 0x42f904
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f908
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x42f8e2
xor eax, eax
jmp 0x42f90d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x42f98e
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
push 0xffffffffffffffff
push 0x51a0ac
mov dword [ebp - 4], 0xf
call fcn.004bb4a1
add esp, 8
xor ecx, ecx
push eax
mov word [ebp - 0x2c], cx
push 0x51a0ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.004021e0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00401720
cmp dword [ebp - 0x18], esi
jb 0x42f96e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9d66
add esp, 4
or dword [ebp - 0x348], 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0042ace0
mov byte [ebp - 0x341], bl
test al, al
je 0x42f995
mov byte [ebp - 0x341], 1
test byte [ebp - 0x348], 4
je 0x42f9c2
and dword [ebp - 0x348], 0xfffffffb
cmp dword [ebp - 0x50], esi
jb 0x42f9b6
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b9d66
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
test byte [ebp - 0x348], 2
mov dword [ebp - 4], 0xb
je 0x42f9ea
and dword [ebp - 0x348], 0xfffffffd
cmp dword [ebp - 0x34], esi
jb 0x42f9ea
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9d66
add esp, 4
cmp byte [ebp - 0x341], bl
je 0x42fa0e
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa4], esi
jb 0x42fb91
mov edx, dword [ebp - 0xb8]
push edx
jmp 0x42fb89
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x42fa1a
test al, 1
je 0x42f9f2
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0042b970
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x11
call fcn.0042bd80
add esp, 0x14
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x12
call fcn.00432530
cmp dword [ebp - 0x18], esi
jb 0x42fa66
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9d66
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x42f9f2
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9d66
add esp, 4
jmp 0x42f9f2
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x42fa9c
test al, 2
je 0x42fb91
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x314]
push 0xffffffffffffffff
push ecx
mov byte [ebp - 4], 0x13
call fcn.004bb4a1
add esp, 8
push eax
lea eax, [ebp - 0x314]
xor edx, edx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.004021e0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.00401720
cmp dword [ebp - 0x50], esi
jb 0x42fafa
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b9d66
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x15
call fcn.0042b970
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x16
call fcn.0042bd80
add esp, 0x14
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x17
call fcn.00432530
cmp dword [ebp - 0x18], esi
jb 0x42fb53
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9d66
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x6c], esi
jb 0x42fb70
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b9d66
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], esi
jb 0x42fb91
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9d66
add esp, 4
mov eax, dword [ebp - 0x350]
lea edx, [ebp - 0x340]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f7df
mov ecx, dword [ebp - 0x350]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x34c]
lea edx, [ebp - 0x360]
push edx
mov ecx, edi
call fcn.0042f0c0
cmp dword [ebp - 0x88], 8
jb 0x42fbe6
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b9d66
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xc0], 8
mov esi, 7
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
jb 0x42fc18
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b9d66
add esp, 4
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp - 0x360]
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
cmp esi, ebx
je 0x42fc5b
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x35c]
push ecx
lea edx, [ebp - 0x354]
push edx
push eax
push esi
call fcn.00402e20
push esi
call fcn.004b9d66
add esp, 0x14
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 - 0x10]
xor ecx, ebp
call fcn.004ba901
mov esp, ebp
pop ebp
ret 8