Function at 0x44f560
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d05ca
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x512f18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x250
call fcn.004ade42
mov esi, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esi
call fcn.0049eef3
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44f5b9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.FilesDiff_PostScan_CollectSxsInfo:_In
mov dword [ebp - 4], ebx
test ecx, 0xffff0000
jne 0x44f5f1
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a6e27
cmp eax, ebx
je 0x44f60b
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x44f60b
push str.FilesDiff_PostScan_CollectSxsInfo:_In
call fcn.004ad5da
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_In
mov ecx, esi
call fcn.0042424f
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x20], esi
call fcn.0049eef3
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44f635
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x44f673
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a6e27
cmp eax, ebx
je 0x44f68d
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x44f68d
push str.General
call fcn.004ad5da
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], 1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.004696d0
mov edx, dword [0x518e38]
mov edi, dword [ebp + 8]
mov esi, dword [edi]
add esp, 0xc
push 0xffffffffffffffff
push edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x28]
mov eax, dword [0x518e30]
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push esi
push ebx
push ebx
push edx
push ebx
push eax
push esi
push 0x518e28
mov dword [ebp - 0x10], ebx
call fcn.004804a0
mov ecx, dword [0x518e38]
mov ebx, eax
xor eax, eax
add esp, 0x2c
cmp dword [ebp - 0x10], eax
push ecx
setne al
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
je 0x44f702
test ebx, ebx
jne 0x44f709
mov dword [ebp - 0x10], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x24], esp
push 0x518cdc
push edx
call fcn.0042a897
mov dword [ebp - 4], 3
mov eax, dword [edi]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00467f70
add esp, 0x20
test eax, eax
jne 0x44fa6d
push 0x4eee80
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00423856
mov ebx, dword [ebp - 0x14]
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f7a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x44f95a
add ebx, 0x2c
lea esp, [esp]
cmp word [ebx], 0x2e
jne 0x44f7d0
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0x2e]
cmp ax, 0x2e
je 0x44f940
test ax, ax
je 0x44f940
push 0x5f
push ebx
call fcn.004ae088
add esp, 8
test eax, eax
je 0x44f940
push 0x2e
push ebx
call fcn.004ae088
add esp, 8
test eax, eax
je 0x44f940
mov edx, dword [ebp - 0x14]
test byte [edx], 0x10
je 0x44f940
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44f821
push eax
push 0x518e28
mov edx, ebx
call fcn.00480900
add esp, 8
test eax, eax
jne 0x44f940
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4dcf70
call fcn.00423607
push ecx
mov dword [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.00423607
mov byte [ebp - 4], 5
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.004242c0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004645d0
add esp, 0xc
mov dword [ebp - 4], 6
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.FilesDiff_PostScan_CollectSxsInfo_SxS_:_New_product_assembly_detected:___s_
call fcn.00423607
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.General
call fcn.00423607
push 1
mov byte [ebp - 4], 6
call fcn.004696d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f8d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ecx
mov dword [ebp - 0x30], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x4dcf70
call fcn.00423607
push ecx
mov dword [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.00423607
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 9
mov eax, dword [esi]
push ecx
mov dword [ebp - 0x20], esp
sub eax, 0x10
mov dword [ebp - 0x20], esp
push eax
call fcn.004242c0
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.004645d0
add esp, 0xc
mov ecx, esi
call fcn.0045e3b0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44f7b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
mov esi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x2c], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44f97d
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.FilesDiff_PostScan_CollectSxsInfo:_Done
mov dword [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x44f9b9
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a6e27
test eax, eax
je 0x44f9d3
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x44f9d3
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
call fcn.004ad5da
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
mov ecx, esi
call fcn.0042424f
push ecx
mov ebx, 0xb
mov dword [ebp - 4], ebx
mov esi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x2c], esi
call fcn.0049eef3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44f9fe
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x28], 0
jne 0x44fa33
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004a6e27
test eax, eax
je 0x44fa4d
push edi
push eax
mov ecx, esi
call fcn.00423ccc
jmp 0x44fa4d
push str.General
call fcn.004ad5da
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042424f
mov byte [ebp - 4], bl
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.004696d0
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
call fcn.004add25
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret