Function at 0x449570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce37a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x504c94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x250
call fcn.004ac152
mov esi, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esi
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4495c7
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 0x4496c5
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x4496df
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 0x4496df
push edi
push eax
push ebx
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4496df
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 0x449653
push ebx
mov ecx, esi
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x44966d
push edi
call fcn.004ab8ea
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.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x4497d5.1
movzx edx, byte [eax + 0x449d90]
jmp dword [edx*4 + 0x449d80]
call fcn.0049d763
test ebx, ebx
jl 0x4496bb
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x4496bb
mov edx, dword [ebp - 0x1c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4496df
push 0x80070057
call fcn.00421000
push str.FilesDiff_PostScan_CollectSxsInfo:_In
call fcn.004ab8ea
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_In
mov ecx, esi
call fcn.00423f13
push ecx
mov dword [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x20], edi
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x449709
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 0x449804
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x44981e
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 0x44981e
push esi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44981e
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 0x449797
push esi
mov ecx, edi
call fcn.0042151d
movzx eax, word [ebx]
mov ecx, dword [edi]
add ebx, 2
mov dword [ebp - 0x1c], ecx
cmp eax, 0xffffffff
jne 0x4497b1
push ebx
call fcn.004ab8ea
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.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x4497d5.1
movzx ecx, byte [eax + 0x449df4]
jmp dword [ecx*4 + 0x449de4]
call fcn.0049d79b
test esi, esi
jl 0x4496bb
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4496bb
mov ecx, dword [ebp - 0x18]
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x44981e
push str.General
call fcn.004ab8ea
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.00423f13
mov byte [ebp - 4], 1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0046b810
mov edx, dword [0x50a0a0]
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 [0x50a098]
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 0x50a090
mov dword [ebp - 0x10], edi
call fcn.00485870
mov ecx, dword [0x50a0a0]
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 0x449895
test edi, edi
jne 0x44989c
mov dword [ebp - 0x10], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x24], esp
push edx
mov ecx, 0x509f4c
call fcn.0044d5c0
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.00423f84
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.0046a220
add esp, 0x20
test eax, eax
jne 0x449d6d
push 0x4e6a50
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0042366e
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 0x449933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x449ae3
lea ebx, [esi + 0x2c]
cmp word [ebx], 0x2e
jne 0x44995c
movzx eax, word [esi + 0x2e]
cmp ax, 0x2e
je 0x449acc
test ax, ax
je 0x449acc
push 0x5f
push ebx
call fcn.004ac398
add esp, 8
test eax, eax
je 0x449acc
push 0x2e
push ebx
call fcn.004ac398
add esp, 8
test eax, eax
je 0x449acc
test byte [esi], 0x10
je 0x449acc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4499aa
push eax
push 0x50a090
mov edx, ebx
call fcn.00485be0
add esp, 8
test eax, eax
jne 0x449acc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4d9c3c
call fcn.0042341f
push ecx
mov dword [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.0042341f
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.00423f84
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00466550
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.0042341f
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.General
call fcn.0042341f
push 1
mov byte [ebp - 4], 6
call fcn.0046b810
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 0x449a61
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 0x4d9c3c
call fcn.0042341f
push ecx
mov dword [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.0042341f
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.00423f84
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00466550
add esp, 0xc
mov ecx, esi
call fcn.0045e0f0
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 0x44993f
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.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x449b06
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 0x449bfd
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x449c17
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 0x449c17
push esi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x449c17
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 0x449b92
push esi
mov ecx, edi
call fcn.0042151d
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x24], edx
cmp eax, 0xffffffff
jne 0x449bac
push ebx
call fcn.004ab8ea
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.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x4497d5.1
movzx edx, byte [eax + 0x449e58]
jmp dword [edx*4 + 0x449e48]
test esi, esi
jl 0x4496bb
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4496bb
mov edx, dword [ebp - 0x20]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x449c17
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
call fcn.004ab8ea
add esp, 4
push eax
push str.FilesDiff_PostScan_CollectSxsInfo:_Done
mov ecx, edi
call fcn.00423f13
push ecx
mov dword [ebp - 4], 0xb
mov edi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x2c], edi
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x449c41
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 0x449d32
mov ecx, str.General
movzx esi, cx
push esi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x449d4c
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 0x449d4c
push esi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x449d4c
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 0x449cc6
push esi
mov ecx, edi
call fcn.0042151d
movzx eax, word [ebx]
mov ecx, dword [edi]
add ebx, 2
mov dword [ebp - 0x28], ecx
cmp eax, 0xffffffff
jne 0x449ce0
push ebx
call fcn.004ab8ea
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.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x4497d5.1
movzx ecx, byte [eax + 0x449ebc]
jmp dword [ecx*4 + 0x449eac]
test esi, esi
jl 0x4496bb
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4496bb
mov ecx, dword [ebp - 0x24]
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x449d4c
push str.General
call fcn.004ab8ea
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.00423f13
mov byte [ebp - 4], 0xb
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0046b810
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
call fcn.004ac035
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