Function at 0x44c520
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d117a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x250
call fcn.004aeee2
mov esi, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44c577
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], 0
test ecx, 0xffff0000
jne 0x44c675
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x44c68f
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44c68f
push edi
push eax
push ebx
call fcn.004216d6
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44c68f
mov eax, dword [esi]
movzx ebx, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x44c603
push ebx
mov ecx, esi
call fcn.004214f5
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x44c61d
push edi
call fcn.004ae67a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [ebx + ebx]
push edi
push ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x44c785.1
movzx edx, byte [eax + 0x44cd40]
jmp dword [edx*4 + 0x44cd30]
call fcn.004a04f2
test ebx, ebx
jl 0x44c66b
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x44c66b
mov edx, dword [ebp - 0x1c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44c68f
push 0x80070057
call fcn.00421000
push str.FilesDiff_PostScan_CollectSxsInfo:_In
call fcn.004ae67a
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_In
mov ecx, esi
call fcn.004241cf
push ecx
mov dword [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x20], edi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44c6b9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x44c7b4
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x44c7ce
mov edx, esi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44c7ce
push esi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44c7ce
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44c747
push esi
mov ecx, edi
call fcn.004214f5
movzx eax, word [ebx]
mov ecx, dword [edi]
add ebx, 2
mov dword [ebp - 0x1c], ecx
cmp eax, 0xffffffff
jne 0x44c761
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x1c]
push edx
lea ecx, [esi + esi]
push ebx
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x44c785.1
movzx ecx, byte [eax + 0x44cda4]
jmp dword [ecx*4 + 0x44cd94]
call fcn.004a052a
test esi, esi
jl 0x44c66b
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x44c66b
mov ecx, dword [ebp - 0x18]
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x44c7ce
push str.General
call fcn.004ae67a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.004241cf
mov byte [ebp - 4], 1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0046d7c0
mov edx, dword [0x5100c8]
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
add esp, 0xc
push 0xffffffffffffffff
xor edi, edi
push edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x28]
mov eax, dword [0x5100c0]
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push esi
push edi
push edi
push edx
push edi
push eax
push esi
push 0x5100b8
mov dword [ebp - 0x10], edi
call fcn.00488540
mov ecx, dword [0x5100c8]
mov edi, 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 0x44c845
test edi, edi
jne 0x44c84c
mov dword [ebp - 0x10], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x24], esp
push 0x50ff74
push edx
call fcn.00429ae5
mov dword [ebp - 4], 3
mov eax, dword [ebx]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.0046bff0
add esp, 0x20
test eax, eax
jne 0x44cd1d
push 0x4ebe38
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0042380e
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push 0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x24], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c8e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x44ca93
lea ebx, [esi + 0x2c]
cmp word [ebx], 0x2e
jne 0x44c90c
movzx eax, word [esi + 0x2e]
cmp ax, 0x2e
je 0x44ca7c
test ax, ax
je 0x44ca7c
push 0x5f
push ebx
call fcn.004af128
add esp, 8
test eax, eax
je 0x44ca7c
push 0x2e
push ebx
call fcn.004af128
add esp, 8
test eax, eax
je 0x44ca7c
test byte [esi], 0x10
je 0x44ca7c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44c95a
push eax
push 0x5100b8
mov edx, ebx
call fcn.004888b0
add esp, 8
test eax, eax
jne 0x44ca7c
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4ddc20
call fcn.004235bf
push ecx
mov dword [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.004235bf
push ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 5
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00468250
add esp, 0xc
mov dword [ebp - 4], 6
mov edx, dword [eax]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.FilesDiff_PostScan_CollectSxsInfo_SxS_:_New_product_assembly_detected:___s_
call fcn.004235bf
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.General
call fcn.004235bf
push 1
mov byte [ebp - 4], 6
call fcn.0046d7c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ca11
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 0x4ddc20
call fcn.004235bf
push ecx
mov dword [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.004235bf
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.00424240
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00468250
add esp, 0xc
mov ecx, esi
call fcn.0045fb00
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c8ef
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x2c], edi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44cab6
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.FilesDiff_PostScan_CollectSxsInfo:_Done
mov dword [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x44cbad
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x44cbc7
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44cbc7
push esi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44cbc7
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44cb42
push esi
mov ecx, edi
call fcn.004214f5
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x24], edx
cmp eax, 0xffffffff
jne 0x44cb5c
push ebx
call fcn.004ae67a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push ebx
push ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x44c785.1
movzx edx, byte [eax + 0x44ce08]
jmp dword [edx*4 + 0x44cdf8]
test esi, esi
jl 0x44c66b
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x44c66b
mov edx, dword [ebp - 0x20]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44cbc7
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
call fcn.004ae67a
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
mov ecx, edi
call fcn.004241cf
push ecx
mov dword [ebp - 4], 0xb
mov edi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x2c], edi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44cbf1
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x28], 0
jne 0x44cce2
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x44ccfc
mov edx, esi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44ccfc
push esi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44ccfc
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44cc76
push esi
mov ecx, edi
call fcn.004214f5
movzx eax, word [ebx]
mov ecx, dword [edi]
add ebx, 2
mov dword [ebp - 0x28], ecx
cmp eax, 0xffffffff
jne 0x44cc90
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x28]
push edx
lea ecx, [esi + esi]
push ebx
push ecx
push eax
mov dword [ebp - 0x24], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x44c785.1
movzx ecx, byte [eax + 0x44ce6c]
jmp dword [ecx*4 + 0x44ce5c]
test esi, esi
jl 0x44c66b
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x44c66b
mov ecx, dword [ebp - 0x24]
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x44ccfc
push str.General
call fcn.004ae67a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.004241cf
mov byte [ebp - 4], 0xb
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0046d7c0
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
call fcn.004aedc5
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