Function at 0x429b79
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x88
mov eax, 0x5e34f1
call fcn.0059bbd7
mov edi, edx
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0xb31
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_start
mov dword [ebp - 0x90], eax
call fcn.0040a649
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x429bc6
mov eax, dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x429bf9
push 0xb33
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_cab_file_exist__delete_it
call fcn.0040a649
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x429bf4
mov ecx, dword [edi]
call fcn.00425c92
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x429c03
mov eax, dword [edi]
push eax
call esi
and dword [ebp - 0x88], 0
test eax, eax
jne 0x429d1a
lea ecx, [ebp - 0x80]
call fcn.0040ba47
and dword [ebp - 4], 0
push 0x170
call fcn.0059a7c1
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040b6b1
sub esp, 0x18
mov esi, eax
mov ecx, esp
xor eax, eax
mov byte [ebp - 4], al
push dword [ebp - 0x8c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040b8cb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
sub esp, 0x18
xor eax, eax
mov ecx, esp
push edi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040b9f4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
test eax, eax
je 0x429cf1
push eax
push 0xb3f
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadRenderEngineDll_failed__code_:__d
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.0040ba62
or eax, 0xffffffff
jmp 0x429e6b
push 0xb43
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_downloading
call fcn.0040a649
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
add esp, 0xc
call fcn.0040ba62
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x429d24
mov eax, dword [edi]
push eax
call esi
test eax, eax
jne 0x429d4a
push 0xb47
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_cab_id_not_exist
call fcn.0040a649
add esp, 0xc
push 0xfffffffffffffffe
pop eax
jmp 0x429e6b
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x429d54
mov eax, dword [ebx]
push eax
call esi
test eax, eax
je 0x429d6a
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x429d65
mov ecx, dword [ebx]
call fcn.00425da8
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x429d74
mov eax, dword [ebx]
push eax
call esi
test eax, eax
jne 0x429d8a
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x429d85
mov ecx, dword [ebx]
call fcn.0041e71d
mov edx, ebx
mov ecx, edi
call fcn.00425e7a
test eax, eax
jne 0x429de1
push 0xb53
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_UncompressCabFile_false
call fcn.0040a649
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x429db6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push ebx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040b155
mov cl, 1
call fcn.0042602c
add esp, 0x18
push 0xfffffffffffffffd
jmp 0x429d44
cmp dword [edi + 0x14], 8
jb 0x429de9
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x90]
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0042adda
add esp, 0xc
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
call fcn.00428c95
test al, al
jne 0x429e5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb5c
push str.ThemeDllOp::DownloadResAndUnPack
push str.__s__d___DownloadResAndUnPack_CopyFolder_err_d
call fcn.0040a649
push ecx
push ecx
mov ecx, esp
xor eax, eax
push ebx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040b155
mov cl, 1
call fcn.0042602c
add esp, 0x18
mov dword [ebp - 0x88], 0xfffffffb
lea ecx, [ebp - 0x40]
call fcn.0040b67e
mov eax, dword [ebp - 0x88]
call fcn.0059bb81
ret