Function at 0x422970
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4662c4
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x4902b4]
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 eax, dword [ebp + 8]
push 0x46ad6c
push eax
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0041f3b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4229c4
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2e4]
mov ebx, eax
mov dword [ebp - 0x2c8], ebx
cmp ecx, 8
jb 0x4229f8
inc ecx
push ecx
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2f8]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x2e8], 0
mov word [ebp - 0x2f8], ax
cmp ebx, 0xffffffff
je 0x422dbc
nop
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x27c], ax
jne 0x422a41
xor ecx, ecx
jmp 0x422a5f
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422a50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00425c70
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp edx, 8
mov ebx, dword [ebp - 0x18]
mov esi, 1
cmovae ecx, edi
mov dword [ebp - 4], 0
cmp ebx, esi
cmovb esi, ebx
test esi, esi
je 0x422aba
mov edx, 0x46ad60
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x422bc0
add ecx, 2
add edx, 2
sub esi, 1
jne 0x422aa0
mov edx, dword [ebp - 0x14]
xor eax, eax
test eax, eax
jne 0x422acb
cmp ebx, 1
jb 0x422acb
jbe 0x422d55
cmp edx, 8
lea ecx, [ebp - 0x28]
mov esi, 2
cmovae ecx, edi
cmp ebx, esi
cmovb esi, ebx
test esi, esi
je 0x422b07
mov edx, 0x46ad74
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x422bd4
add ecx, 2
add edx, 2
sub esi, 1
jne 0x422af0
xor eax, eax
test eax, eax
jne 0x422b18
cmp ebx, 2
jb 0x422b18
jbe 0x422d55
test byte [ebp - 0x2a8], 0x10
push 0x46933c
push dword [ebp - 0x2ac]
je 0x422be5
lea eax, [ebp - 0x310]
push eax
call fcn.0041f3b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.0041f370
push eax
mov byte [ebp - 4], 2
call fcn.00422970
mov eax, dword [ebp - 0x2b0]
add esp, 0x1c
cmp eax, 8
jb 0x422b7c
inc eax
lea ecx, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c4]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x2b4], 0
cmp eax, 8
jb 0x422d52
inc eax
lea ecx, [ebp - 0x310]
push eax
push dword [ebp - 0x310]
call fcn.0041b080
jmp 0x422d52
movzx eax, word [ecx]
cmp ax, word [edx]
mov edx, dword [ebp - 0x14]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x422abc
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x422b09
lea eax, [ebp - 0x2c4]
push eax
call fcn.0041f3b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041f370
add esp, 0x18
mov eax, dword [ebp - 0x2b0]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x422c28
inc eax
lea ecx, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c4]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2b4], 0
push eax
call fcn.00427c80
add esp, 8
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
test edx, edx
je 0x422d01
cmp dword [0x492cac], 8
lea eax, [ebp - 0x40]
push dword [0x492ca8]
mov ecx, 0x492c98
cmovae ecx, dword [0x492c98]
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x40]
push edx
push eax
call fcn.004256c0
add esp, 0x10
test eax, eax
jne 0x422d01
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2e0]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00420ed0
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 7
push eax
call fcn.0041b420
mov eax, dword [ebp - 0x2cc]
add esp, 4
cmp eax, 8
jb 0x422ce1
inc eax
lea ecx, [ebp - 0x2e0]
push eax
push dword [ebp - 0x2e0]
call fcn.0041b080
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x2cc], 7
mov dword [ebp - 0x2d0], 0
mov word [ebp - 0x2e0], ax
cmp esi, 8
jb 0x422d15
lea eax, [esi + 1]
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x422d3e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0041b080
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422d99
inc eax
cmp eax, 0x7fffffff
ja 0x422dd8
add eax, eax
cmp eax, 0x1000
jb 0x422d90
test byte [ebp - 0x28], 0x1f
jne 0x422dd8
mov eax, dword [edi - 4]
cmp eax, edi
jae 0x422dd8
sub edi, eax
cmp edi, 4
jb 0x422dd8
cmp edi, 0x23
ja 0x422dd8
mov edi, eax
push edi
call fcn.00444b4d
add esp, 4
mov ebx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x422a20
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
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.00444b60
mov esp, ebp
pop ebp
ret
call fcn.0044a9c1
int3