Function at 0x4604f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489d16
mov eax, dword fs:[0]
push eax
mov eax, 0x2374
call fcn.004839d0
mov eax, dword [0x4ab00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22ec], edx
mov esi, ecx
mov dword [ebp - 0x22dc], esi
mov eax, dword [0x4af250]
xor ecx, ecx
cmp dword [ebp + 8], ecx
mov edi, dword [ebp + 0xc]
cmove eax, ecx
mov dword [ebp - 0x22e8], edi
inc dword [0x4ac91c]
mov dword [0x4af250], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x4605e4
mov ecx, dword [0x4af250]
test ecx, ecx
je 0x460572
add ecx, 0x1f4
cmp eax, ecx
jbe 0x4605e4
push 0x44
mov dword [0x4af250], eax
call fcn.0046ba01
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x22e0], ecx
mov dword [ecx], 1
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 7
mov word [ecx + 0x1c], ax
mov eax, dword [0x4ac920]
mov dword [ecx + 0x34], eax
mov eax, dword [0x4ac91c]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov eax, dword [edi]
test eax, eax
je 0x4605e4
push 0
push ecx
push 0x8064
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4605f0
sub ecx, edx
mov dword [ebp - 0x1c], 0x5c
sar ecx, 1
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x46061b
mov word [ebp - 0x1c], ax
xor eax, eax
mov dword [ebp - 0x22e0], eax
cmp byte [0x4ab9e5], 0
jne 0x46064e
push 0x4991c4
lea eax, [ebp - 0x58]
push 0x1e
push eax
call fcn.00474910
add esp, 0xc
cmp dword [ebp - 0x22e0], 0
jg 0x46093a
jmp 0x46066c
test eax, eax
lea eax, [ebp - 0x58]
jne 0x46065c
push str.winre.wim
jmp 0x460661
push str.boot.wim
push 0x1e
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x1058]
push str._s_s_s
push eax
call fcn.0040a970
add esp, 0x14
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
lea eax, [ebp - 0x22d8]
push eax
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [ebp - 0x22e4], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x22e4], 0xffffffff
je 0x46091e
test edi, edi
je 0x4606d0
mov al, byte [edi + 8]
test al, al
jne 0x460912
test byte [ebp - 0x22d8], 0x10
jne 0x4608f7
mov esi, dword [ebp - 0x22dc]
xor eax, eax
mov word [ebp - 0x2088], ax
mov eax, esi
mov dword [ebp - 0x2078], 0
mov dword [ebp - 0x2074], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460705
sub eax, edx
lea ecx, [ebp - 0x2088]
sar eax, 1
push eax
push esi
call fcn.00402430
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460730
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2088]
call fcn.0040a760
lea ecx, [ebp - 0x22ac]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460760
sub ecx, edx
lea eax, [ebp - 0x22ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2088]
call fcn.0040a760
push 0x2b8
call fcn.0046ba01
add esp, 4
mov dword [ebp - 0x22f0], eax
mov ecx, eax
call fcn.0040c810
cmp byte [0x4ab9e4], 0
mov esi, eax
je 0x460822
sub esp, 0x18
lea eax, [ebp - 0x2088]
mov ecx, esp
push eax
call fcn.004022e0
push 1
push 0
mov edx, esi
mov ecx, 2
call fcn.0042b500
add esp, 0x20
test edi, edi
je 0x460800
cmp byte [esi + 0x78], 0
jne 0x4608a0
cmp byte [esi + 0x250], 0
jne 0x4608a0
cmp byte [esi + 0x1f0], 0
jne 0x4608a0
cmp dword [esi + 0x1f4], 0
jne 0x4608a0
test esi, esi
je 0x4608b0
mov ecx, esi
call fcn.0040d4f0
push 0x2b8
push esi
call fcn.0046ba31
add esp, 8
jmp 0x4608b0
mov ecx, dword [ebp - 0x22dc]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460830
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x22dc]
mov ecx, esi
call fcn.00402430
lea ecx, [ebp - 0x22ac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460856
sub ecx, edx
lea eax, [ebp - 0x22ac]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x18]
call fcn.00402430
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x2088]
cmp ecx, eax
je 0x46089c
cmp dword [ebp - 0x2074], 8
push dword [ebp - 0x2078]
cmovae eax, dword [ebp - 0x2088]
push eax
call fcn.00402430
test edi, edi
je 0x4608b0
push 0
push esi
push 0x8005
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2074]
cmp edx, 8
jb 0x4608f7
mov ecx, dword [ebp - 0x2088]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4608ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461033
push edx
push ecx
call fcn.0046ba31
add esp, 8
lea eax, [ebp - 0x22d8]
push eax
push dword [ebp - 0x22e4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4606c1
push dword [ebp - 0x22e4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x22e0]
mov esi, dword [ebp - 0x22dc]
inc eax
mov dword [ebp - 0x22e0], eax
cmp eax, 2
jl 0x460623
cmp dword [0x4ae0b4], 8
mov eax, 0x4ae0a0
push dword [0x4ae0b0]
cmovae eax, dword [0x4ae0a0]
mov edi, dword [ebp - 0x22ec]
push eax
push esi
call fcn.0047114f
add esp, 0xc
test eax, eax
jne 0x460eaf
lea edi, [eax + 3]
mov dword [ebp - 0x2060], eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
push str.WinSxS
mov edx, 0x4ae0a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2320]
call fcn.0040a830
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x4609e1
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x230c]
cmp edx, 8
jb 0x460a21
mov ecx, dword [ebp - 0x2320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461033
push edx
push ecx
call fcn.0046ba31
add esp, 8
cmp dword [ebp - 0x205c], 8
lea eax, [ebp - 0x2070]
push dword [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2070]
push eax
push dword [ebp - 0x22dc]
call fcn.0047114f
test eax, eax
mov ecx, 1
push str.SysWOW64
cmove edi, ecx
mov edx, 0x4ae0a0
lea ecx, [ebp - 0x2338]
call fcn.0040a830
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x460aa6
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2324]
cmp edx, 8
jb 0x460ae6
mov ecx, dword [ebp - 0x2338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460adc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461038
push edx
push ecx
call fcn.0046ba31
add esp, 8
cmp dword [ebp - 0x205c], 8
lea eax, [ebp - 0x2070]
push dword [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2070]
push eax
push dword [ebp - 0x22dc]
call fcn.0047114f
test eax, eax
lea ecx, [ebp - 0x2350]
mov eax, 1
mov edx, 0x4ae0a0
push str.Installer
cmove edi, eax
call fcn.0040a830
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x460b6b
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x233c]
cmp edx, 8
jb 0x460bab
mov ecx, dword [ebp - 0x2350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460ba1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46103d
push edx
push ecx
call fcn.0046ba31
add esp, 8
cmp dword [ebp - 0x205c], 8
lea eax, [ebp - 0x2070]
push dword [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2070]
push eax
push dword [ebp - 0x22dc]
call fcn.0047114f
test eax, eax
lea ecx, [ebp - 0x2368]
mov eax, 1
mov edx, 0x4ae0a0
push str.SystemApps
cmove edi, eax
call fcn.0040a830
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x460c30
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2354]
cmp edx, 8
jb 0x460c70
mov ecx, dword [ebp - 0x2368]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461042
push edx
push ecx
call fcn.0046ba31
add esp, 8
cmp dword [ebp - 0x205c], 8
lea eax, [ebp - 0x2070]
push dword [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2070]
push eax
push dword [ebp - 0x22dc]
call fcn.0047114f
test eax, eax
lea ecx, [ebp - 0x2380]
mov eax, 1
mov edx, 0x4ae0a0
push str.SystemResources
cmove edi, eax
call fcn.0040a830
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x460cf5
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x236c]
cmp edx, 8
jb 0x460d35
mov ecx, dword [ebp - 0x2380]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461047
push edx
push ecx
call fcn.0046ba31
add esp, 8
cmp dword [ebp - 0x205c], 8
lea eax, [ebp - 0x2070]
push dword [ebp - 0x2060]
cmovae eax, dword [ebp - 0x2070]
push eax
push dword [ebp - 0x22dc]
call fcn.0047114f
test eax, eax
lea ecx, [ebp - 0x2308]
mov eax, 1
mov edx, 0x4ae0a0
push str.INF
cmove edi, eax
call fcn.0040a830
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x2070]
cmp eax, esi
je 0x460dba
mov ecx, eax
call fcn.00402210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2060], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x22f4]
cmp edx, 8
jb 0x460dfa
mov ecx, dword [ebp - 0x2308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460df0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46104c
push edx
push ecx
call fcn.0046ba31
add esp, 8
push dword [ebp - 0x2060]
mov esi, dword [ebp - 0x22dc]
xor eax, eax
cmp dword [ebp - 0x205c], 8
mov word [ebp - 0x2308], ax
lea eax, [ebp - 0x2070]
cmovae eax, dword [ebp - 0x2070]
push eax
push esi
mov dword [ebp - 0x22f8], 0
mov dword [ebp - 0x22f4], 7
call fcn.0047114f
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x205c]
test eax, eax
mov eax, 1
cmove edi, eax
cmp edx, 8
jb 0x460e92
mov ecx, dword [ebp - 0x2070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460e88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461051
push edx
push ecx
call fcn.0046ba31
add esp, 8
xor eax, eax
mov dword [ebp - 0x2060], 0
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
test edi, edi
jle 0x460ebc
cmp dword [ebp + 8], edi
jge 0x461018
mov eax, dword [ebp - 0x22e8]
test eax, eax
je 0x460ed1
mov al, byte [eax + 8]
test al, al
jne 0x461018
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x1058]
push str._s_s.
push eax
call fcn.0040a970
add esp, 0x10
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
lea eax, [ebp - 0x22d8]
push eax
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp edi, 0xffffffff
je 0x461018
nop word [eax + eax]
mov eax, dword [ebp - 0x22e8]
test eax, eax
je 0x460f35
mov al, byte [eax + 8]
test al, al
jne 0x461011
mov eax, dword [ebp - 0x22d8]
and eax, 0x410
cmp eax, 0x10
jne 0x460ffb
cmp word [ebp - 0x22ac], 0x2e
jne 0x460f77
mov ax, word [ebp - 0x22aa]
test ax, ax
je 0x460ffb
cmp ax, 0x2e
jne 0x460f77
cmp word [ebp - 0x22a8], 0
je 0x460ffb
mov ecx, dword [ebp - 0x22dc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460f80
sub ecx, edx
lea edx, [ebp - 0x22ac]
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x460fa0
sub edx, esi
sar edx, 1
lea eax, [edx + ecx]
cmp eax, 0x3e8
ja 0x460ffb
lea eax, [ebp - 0x22ac]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x22dc]
lea eax, [ebp - 0x2058]
push str._s_s_s
push eax
call fcn.0040a970
mov eax, dword [ebp - 0x22e8]
lea ecx, [ebp - 0x2058]
mov edx, dword [ebp - 0x22ec]
push eax
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.004604f0
add esp, 0x1c
lea eax, [ebp - 0x22d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460f20
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b9f0
mov esp, ebp
pop ebp
ret
call fcn.00471513
call fcn.00471513
call fcn.00471513
call fcn.00471513
call fcn.00471513
call fcn.00471513
call fcn.00471513
int3