Function at 0x4780e0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0530
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x314], ecx
mov edi, dword [ebx + 8]
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x479341
call fcn.005dd5b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479341
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0xa0], xmm0
call fcn.005d3930
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x50], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x8c]
movq qword [ebp - 0x8c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x80]
movq qword [ebp - 0x80], xmm0
call fcn.005dc5e0
push 0
push str.RTBackupOptions
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x68]
push str.Settings
call fcn.005dd290
xorps xmm0, xmm0
mov dword [edi + 8], eax
lea ecx, [ebp - 0xac]
mov dword [edi + 0xc], 0
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0xa4], 0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x5c]
movq qword [ebp - 0x5c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x68]
movq qword [ebp - 0x68], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0x74], xmm0
lea ecx, [ebp - 0x74]
call fcn.005dc5e0
push str.AppDataLocalAppDataDesktopDocumentsDownloadsMusicPicturesVideosLocal_SettingsApplication_Data
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xb
call fcn.005dc510
xor esi, esi
lea eax, [ebp - 0x310]
push 0x250
xorps xmm0, xmm0
mov dword [ebp - 0x320], esi
push esi
movups xmmword [ebp - 0xc0], xmm0
push eax
mov dword [ebp - 0xc0], 0xffffffff
call fcn.00420090
add esp, 0xc
push esi
mov byte [ebp - 4], 0xc
mov ecx, dword [edi + 0x68]
push 1
call fcn.005dd5b0
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc260
mov ecx, eax
call fcn.005dbed0
cmp dword [edi + 0x14], 2
jne 0x478329
movsd xmm0, qword [edi + 0x18]
mov eax, str.Documents_and_Settings
comisd xmm0, xmmword [0x6edab8]
jb 0x47832e
mov eax, 0x65c3f4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.005da780
mov ecx, dword [edi + 0x68]
push 0
push str.RTUserFolders
push str.Settings
call fcn.005dd290
xor edx, edx
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x31c], edx
test eax, eax
je 0x47838f
mov ecx, dword [edi + 0x68]
lea eax, [ebp - 0x31c]
push eax
push str.RTBackupUsers
call fcn.005dcc50
mov edx, dword [ebp - 0x31c]
jmp 0x478391
xor eax, eax
cmp dword [edi], 0
jne 0x4792b7
test eax, eax
je 0x479034
cmp edx, eax
jbe 0x479034
mov ecx, dword [edi + 0x68]
push edx
push eax
call fcn.005dc700
mov ecx, eax
mov dword [ebp - 0x328], ecx
test ecx, ecx
je 0x479034
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
mov ecx, dword [edi + 0x68]
call fcn.005dc660
test al, al
je 0x479010
push 0
push 1
push 1
push 0
push str.__create_
lea ecx, [ebp - 0x50]
call fcn.005daa70
test eax, eax
je 0x478547
sub esp, 8
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x98], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.005dc190
push eax
push str.Original_user_account:
lea ecx, [ebp - 0x98]
call fcn.005dc520
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.005dc190
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 0x20]
call esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 9
lea ecx, [ebp - 0x50]
call fcn.005dadc0
mov ecx, eax
call fcn.005dc190
push eax
push str.Target_user_account:
lea ecx, [ebp - 0x98]
call fcn.005dc200
lea ecx, [ebp - 0x98]
call fcn.005dc190
push eax
push dword [edi + 0x24]
call esi
push str.Creating_and_loading_the_new_user_account__please_wait...
push dword [edi + 0x2c]
call esi
push 0x62a118
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x6cee3c
push dword [edi + 0x68]
lea ecx, [ebp - 0x74]
call fcn.005db160
lea ecx, [ebp - 0x74]
call fcn.005dafe0
mov esi, eax
lea ecx, [ebp - 0x74]
push 0
mov eax, 1
cmp esi, 2
push eax
push eax
push 0
push 0x62794c
cmova esi, eax
call fcn.005daa70
test eax, eax
je 0x4784fa
push eax
lea ecx, [ebp - 0x74]
call fcn.005dad50
lea ecx, [ebp - 0x74]
call fcn.005dc3a0
cmp eax, 2
jge 0x478513
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
call fcn.005dc4e0
push ecx
push 0
push esi
lea ecx, [ebp - 0x74]
call fcn.005dc190
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.0059e5c0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.005dc430
mov esi, dword [ebp - 0x320]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc190
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0059d880
push 0
push 0
test al, al
jne 0x478583
lea ecx, [ebp - 0x50]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
push str.Error__Could_not_get_profile_path_for_user:
call fcn.0045a700
jmp 0x479010
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x479010
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.AppData
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6cf2cc
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x80]
call fcn.005dc200
lea ecx, [ebp - 0x8c]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x478662
lea ecx, [ebp - 0x80]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
mov byte [ebp - 0x315], 1
test al, al
jne 0x478669
mov byte [ebp - 0x315], 0
cmp dword [edi + 0x14], 2
je 0x478680
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc4e0
jmp 0x4786ca
movsd xmm0, qword [edi + 0x18]
lea ecx, [ebp - 0x38]
comisd xmm0, xmmword [0x6edab8]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
jb 0x4786a9
push str.AppDataRoaming
jmp 0x4786ae
push str.Application_Data
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
cmp dword [edi + 0x14], 2
jne 0x4786fb
cmp byte [ebp - 0x315], 0
je 0x4786fb
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4786fb
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc4e0
mov eax, dword [ebp - 0x324]
and eax, 1
mov dword [ebp - 0x32c], eax
je 0x4788c9
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, 0x62e5a4
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x4788c9
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
movzx eax, al
lea ecx, [ebp - 0x2c]
push str.MicrosoftWindowsThemes
add esi, eax
call fcn.005da780
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MicrosoftWindowsThemes
lea ecx, [ebp - 0x20]
call fcn.005da780
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.SendTo
movzx eax, al
lea ecx, [ebp - 0x2c]
push 0
add esi, eax
call fcn.005dbed0
mov ecx, eax
call fcn.005da780
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.SendTo
push 0
lea ecx, [ebp - 0x20]
call fcn.005dbed0
mov ecx, eax
call fcn.005da780
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Account_Pictures
movzx eax, al
lea ecx, [ebp - 0x2c]
push 0
add esi, eax
call fcn.005dbed0
mov ecx, eax
call fcn.005da780
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Account_Pictures
push 0
lea ecx, [ebp - 0x20]
call fcn.005dbed0
mov ecx, eax
call fcn.005da780
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
cmp dword [edi + 0x14], 2
je 0x4788e6
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc4e0
jmp 0x478937
push 0
push 0
push 0
push 0
mov ecx, 0x18
mov eax, edi
push 0
push 0
push 0
movsd xmm0, qword [eax + ecx]
lea ecx, [ebp - 0x38]
comisd xmm0, xmmword [0x6edab8]
push 0
jb 0x478916
push str.AppDataLocal
jmp 0x47891b
push str.Local_SettingsApplication_Data
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
cmp dword [edi + 0x14], 2
jne 0x478965
cmp byte [ebp - 0x315], 0
je 0x478965
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x478965
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc4e0
cmp dword [ebp - 0x32c], 0
je 0x478a31
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.Local_AppData
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478a31
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
movzx eax, al
lea ecx, [ebp - 0x2c]
push str.MicrosoftWindowsThemes
add esi, eax
call fcn.005da780
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MicrosoftWindowsThemes
lea ecx, [ebp - 0x20]
call fcn.005da780
push 1
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Desktop
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x324], 2
je 0x478ac7
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, 0x62e520
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478ac7
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Documents
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x324], 4
je 0x478b5d
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.Personal
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478b5d
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x62e908
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x324], 8
je 0x478bf3
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.374DE290_123F_4565_9164_39C4925E467B
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478bf3
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Music
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x324], 0x10
je 0x478c89
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.My_Music
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478c89
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Pictures
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x324], 0x20
je 0x478d1f
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.My_Pictures
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478d1f
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Videos
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
mov eax, dword [ebp - 0x324]
test al, 0x40
je 0x478dbc
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, str.My_Video
mov ecx, eax
call fcn.0059c9b0
test al, al
je 0x478db6
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
mov dword [ebp - 0x320], esi
mov eax, dword [ebp - 0x324]
cmp dword [edi], 0
jne 0x4792b7
test al, al
jns 0x479010
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6249f8
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x32c], eax
cmp ecx, 0xffffffff
je 0x478e27
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x32c]
lea ecx, [ebp - 0x310]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0xc0], edx
cmp edx, 0xffffffff
je 0x479010
mov ecx, 5
mov dword [ebp - 0xbc], ecx
cmp word [ebp - 0x2e4], 0x2e
jne 0x478e7f
mov ax, word [ebp - 0x2e2]
test ax, ax
je 0x478fd7
cmp ax, 0x2e
jne 0x478e7f
cmp word [ebp - 0x2e0], 0
je 0x478fd7
test ecx, ecx
je 0x478eb0
mov eax, dword [ebp - 0x310]
test cl, 1
je 0x478e99
test eax, 0x400
jne 0x478fd7
test cl, 2
je 0x478fc6
test al, 0x10
jne 0x478fd7
nop word [eax + eax]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x62794c
lea eax, [ebp - 0x2e4]
push eax
push 0x62794c
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0xac]
call fcn.005daa70
test eax, eax
jne 0x478f94
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2e4]
push eax
push 0x624284
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2e4]
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
cmp dword [edi], 0
mov dword [ebp - 0x320], esi
jne 0x4792b7
mov eax, dword [ebp - 0xc0]
cmp eax, 0xffffffff
je 0x479010
lea ecx, [ebp - 0x310]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x478ffa
lea ecx, [ebp - 0x310]
call fcn.004011a0
test al, al
jne 0x478eb0
jmp 0x479010
test cl, 4
je 0x478eb0
test al, 0x10
jne 0x478eb0
lea eax, [ebp - 0x310]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x478ffa
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc0]
jmp 0x478e51
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xc0], 0xffffffff
push dword [ebp - 0x31c]
mov ecx, dword [edi + 0x68]
push dword [ebp - 0x328]
call fcn.005dc700
mov ecx, eax
mov dword [ebp - 0x328], eax
test ecx, ecx
jne 0x4783c4
cmp dword [edi], 0
jne 0x4792b7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.ExtraFolders
push 0
lea ecx, [ebp - 0x44]
call fcn.005dbed0
mov ecx, eax
call fcn.005da780
mov ecx, dword [edi + 0x68]
lea eax, [ebp - 0x31c]
push eax
push str.RTExtraFolders
mov dword [ebp - 0x31c], 0
call fcn.005dcc50
cmp dword [edi], 0
mov ecx, eax
jne 0x479183
test ecx, ecx
je 0x479183
mov eax, dword [ebp - 0x31c]
cmp eax, ecx
jbe 0x479183
push eax
push ecx
mov ecx, dword [edi + 0x68]
call fcn.005dc700
mov dword [ebp - 0x328], eax
test eax, eax
je 0x479183
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [edi + 0x68]
push eax
call fcn.005dc660
test al, al
je 0x479161
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x479161
lea ecx, [ebp - 0x50]
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
test al, al
je 0x479161
push 0
push edi
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
cmp dword [edi], 0
jne 0x4792b7
push dword [ebp - 0x31c]
mov ecx, dword [edi + 0x68]
push dword [ebp - 0x328]
call fcn.005dc700
mov dword [ebp - 0x328], eax
test eax, eax
jne 0x4790c0
mov ecx, dword [edi + 0x68]
push 0
push 1
call fcn.005dd5b0
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc260
mov ecx, eax
call fcn.005dbed0
mov ecx, dword [edi + 0x68]
lea eax, [ebp - 0x31c]
push eax
push str.RTExtraFolders2
mov dword [ebp - 0x31c], 0
call fcn.005dcc50
cmp dword [edi], 0
mov ecx, eax
jne 0x4792ba
test ecx, ecx
je 0x4792ba
mov eax, dword [ebp - 0x31c]
cmp eax, ecx
jbe 0x4792ba
push eax
push ecx
mov ecx, dword [edi + 0x68]
call fcn.005dc700
mov dword [ebp - 0x328], eax
test eax, eax
je 0x4792ba
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [edi + 0x68]
push eax
call fcn.005dc660
test al, al
je 0x479293
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x479293
lea ecx, [ebp - 0x50]
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
test al, al
je 0x479293
push 0
push edi
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x314]
push eax
call fcn.00480da0
movzx eax, al
add esi, eax
cmp dword [edi], 0
jne 0x4792b7
push dword [ebp - 0x31c]
mov ecx, dword [edi + 0x68]
push dword [ebp - 0x328]
call fcn.005dc700
mov dword [ebp - 0x328], eax
test eax, eax
jne 0x4791f6
jmp 0x4792ba
or esi, 0xffffffff
mov eax, dword [ebp - 0xc0]
cmp eax, 0xffffffff
je 0x4792cc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x74]
call fcn.005dc430
lea ecx, [ebp - 0x68]
call fcn.005dc430
lea ecx, [ebp - 0x5c]
call fcn.005dc430
lea ecx, [ebp - 0xac]
call fcn.005dc430
lea ecx, [ebp - 0x80]
call fcn.005dc430
lea ecx, [ebp - 0x8c]
call fcn.005dc430
lea ecx, [ebp - 0x50]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x47933d
push eax
call fcn.0041e1c3
add esp, 4
mov eax, esi
jmp 0x479343
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4