Function at 0x429734
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x170
mov eax, 0x4bf7eb
call fcn.00494508
and dword [ebp - 0x10], 0
mov esi, ecx
push str.DownloadThread___starting
lea ecx, [ebp - 0x38]
call fcn.00472760
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00472740
jmp 0x429f56
cmp dword [esi + 0xa38], 0
je 0x429f65
mov eax, dword [esi + 0xa2c]
xor ebx, ebx
mov dword [esi + 0x9d4], ebx
mov dword [esi + 0x9d8], ebx
mov dword [esi + 0xa08], ebx
mov edi, dword [eax + 8]
lea ecx, [esi + 0xa28]
call fcn.00473980
lea ecx, [ebp - 0xd4]
call fcn.004212cb
lea eax, [ebp - 0xd4]
mov dword [esi + 0xa3c], eax
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
mov dword [esi + 0xa40], edi
call fcn.004233ed
push ebx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00422681
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.00472740
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [edi + 0x64]
push ebx
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x104]
push str.download_thread:_downloading:
push eax
call fcn.00473090
push eax
mov byte [ebp - 4], 5
call fcn.00411cd0
add esp, 0x10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 4
call fcn.00472740
cmp byte [ebx + 7], 0xff
mov eax, dword [esi + 0x34]
mov ecx, ebx
jne 0x42985b
mov ecx, dword [ebx]
xor edx, edx
test eax, eax
push 0
setne dl
lea eax, [ebp - 0xa0]
push edx
push dword [esi + 0xe8c]
push edi
push ecx
push eax
push esi
push esi
lea ecx, [ebp - 0xd4]
call fcn.0042192a
mov dword [ebp - 0x30], eax
test eax, eax
jns 0x429974
push str.first_download_failed__trying_second
lea ecx, [ebp - 0x68]
call fcn.00472760
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00472740
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0xdc]
push str.trying_backup_
push eax
call fcn.00473090
push eax
mov byte [ebp - 4], 7
call fcn.00411cd0
add esp, 0x10
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00472740
lea eax, [edi + 0x6c]
push eax
push ebx
call fcn.0040d59b
pop ecx
pop ecx
test al, al
je 0x42994b
mov ecx, dword [esi + 0x34]
lea eax, [edi + 0x6c]
cmp byte [eax + 7], 0xff
jne 0x429902
mov eax, dword [eax]
xor edx, edx
test ecx, ecx
push 0
setne dl
lea ecx, [ebp - 0xd4]
push edx
push dword [esi + 0xe8c]
push edi
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
push esi
call fcn.0042192a
push str.download_thread:_failed
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x30], eax
call fcn.00472760
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 8
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x70]
jmp 0x429992
push str.download_thread:_worked_second_try
lea ecx, [ebp - 0xa8]
call fcn.00472760
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 9
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0xa8]
jmp 0x429992
push str.download_thread:_worked_first_try
lea ecx, [ebp - 0x58]
call fcn.00472760
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xa
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00472740
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [esi + 0xa3c], eax
mov dword [esi + 0xa40], eax
cmp dword [edi + 4], eax
jne 0x4299c0
cmp dword [esi + 0x38], eax
jne 0x429f38
push 0x3ff
mov byte [ebp], al
lea eax, [ebp + 1]
push 0
push eax
call fcn.00493f80
lea eax, [edi + 0xac]
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x4299e4
mov eax, dword [eax]
cmp byte [ebx + 7], 0xff
jne 0x4299ec
mov ebx, dword [ebx]
lea ecx, [edi + 0x3c]
cmp byte [ecx + 7], 0xff
mov dword [ebp - 0x40], ecx
jne 0x4299fa
mov ecx, dword [ecx]
push eax
push dword [ebp - 0xc8]
lea eax, [ebp]
push ebx
push ecx
push str.Package_URL___s____s__Status_Code___d__Launch___s
push eax
call fcn.0049543b
add esp, 0x18
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x50]
call fcn.00472760
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00472740
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
jl 0x429f78
cmp dword [ebp - 0xc0], ebx
je 0x429f38
push str.download_thread:_success
lea ecx, [ebp - 0x78]
call fcn.00472760
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x13
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00472740
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00423374
lea ebx, [edi + 0x7c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x14
call fcn.004727f0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 4
call fcn.00472740
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00423374
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x15
call fcn.0047b970
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b8d0
push 0x4d05a8
push eax
mov byte [ebp - 4], 0x18
call fcn.0040d57d
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
mov byte [ebp - 0x19], al
mov byte [ebp - 4], 0x17
call fcn.00472740
cmp byte [ebp - 0x19], 0
je 0x429bdb
push ebx
lea eax, [ebp - 0xec]
push str.download_thread:_exe_
push eax
call fcn.00473090
push eax
mov byte [ebp - 4], 0x19
call fcn.00411cd0
add esp, 0x10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x17
call fcn.00472740
call fcn.00428562
test al, al
jne 0x429e8c
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b9d0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x1a
jne 0x429b71
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423078
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.00472740
push str.download_thread:_checking_dig_sig
lea ecx, [ebp - 0x60]
call fcn.00472760
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1c
call fcn.00472740
push 0x4cf680
push dword [ebp - 0x3c]
call fcn.004189a4
pop ecx
pop ecx
test eax, eax
jne 0x42a095
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x17
call fcn.004186e9
jmp 0x429e8c
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b8d0
or dword [ebp - 0x10], 1
push 0x4cf67c
push eax
mov byte [ebp - 4], 0x21
call fcn.0040d57d
pop ecx
pop ecx
test al, al
jne 0x429c38
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b8d0
or dword [ebp - 0x10], 2
push 0x4cf6a8
push eax
mov dword [ebp - 4], 0x22
call fcn.0040d57d
pop ecx
pop ecx
test al, al
jne 0x429c38
xor bl, bl
jmp 0x429c3a
mov bl, 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 0x21
je 0x429c56
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0xfc]
call fcn.00472740
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 0x17
je 0x429c72
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x12c]
call fcn.00472740
test bl, bl
je 0x429e8c
push str.download_thread:_extensino_rup_or_cab
lea ecx, [ebp - 0x80]
call fcn.00472760
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x23
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea ecx, [edi + 0x74]
call fcn.0040d513
test al, al
jne 0x42a13b
push str.download_thread:_extracting
lea ecx, [ebp - 0x48]
call fcn.00472760
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x24
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea eax, [ebp - 0x14c]
push eax
mov ecx, esi
call fcn.004233ed
mov ebx, eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x25
call fcn.00423374
cmp byte [ebx + 7], 0xff
mov byte [ebp - 4], 0x26
jne 0x429d0a
mov ebx, dword [ebx]
cmp byte [eax + 7], 0xff
jne 0x429d12
mov eax, dword [eax]
push ebx
push eax
lea eax, [esi + 4]
push eax
call fcn.004230b9
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov ebx, eax
mov byte [ebp - 4], 0x25
call fcn.00472740
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x17
call fcn.00472740
test ebx, ebx
js 0x42a13b
lea ecx, [ebp - 0x38]
call fcn.004724b0
lea eax, [ebp - 0x38]
push eax
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2c
call fcn.004233ed
mov ecx, esi
call fcn.00423770
lea ecx, [ebp - 0x38]
call fcn.0040d513
lea ecx, [esi + 0xe4]
test al, al
jne 0x429dec
call fcn.0040d513
test al, al
jne 0x429d99
push 0x4ce690
lea ecx, [esi + 0xe4]
call fcn.00472bc0
push str._id
push dword [ebp - 0x40]
lea eax, [ebp - 0xe4]
push eax
call fcn.00473040
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00472ff0
add esp, 0x18
push eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x2e
call fcn.00472ca0
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x2d
call fcn.00472740
lea ecx, [ebp - 0xe4]
jmp 0x429e32
call fcn.0040d513
test al, al
jne 0x429e05
push 0x4ce690
lea ecx, [esi + 0xe4]
call fcn.00472bc0
push str._id
push dword [ebp - 0x40]
lea eax, [ebp - 0xf4]
push eax
call fcn.00473040
add esp, 0xc
push eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x2f
call fcn.00472ca0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2c
call fcn.00472740
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004233ed
lea ecx, [edi + 0x74]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x30
call fcn.00472ff0
add esp, 0xc
push eax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 0x31
call fcn.004727f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x30
call fcn.00472740
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2c
call fcn.00472740
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x17
call fcn.00472740
push str.download_thread:_downloaded__TRUE
lea ecx, [ebp - 0x24]
mov dword [edi + 0xc], 1
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x32
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea ebx, [edi + 0x7c]
cmp byte [ebx + 7], 0xff
mov eax, ebx
jne 0x429ec7
mov eax, dword [ebx]
push 0
push eax
call fcn.00410568
mov dword [edi + 0x24], eax
push str.main
add edi, 0x4c
push edi
call fcn.0040d57d
add esp, 0x10
test al, al
je 0x429efc
mov eax, dword [ebp - 0xc4]
push ebx
lea ecx, [esi + 0x74]
mov dword [esi + 0x1b4], eax
call fcn.004727f0
lea ecx, [esi + 0x9e0]
call fcn.0040d513
test al, al
jne 0x429f1b
push 0x4cf9a4
lea ecx, [esi + 0x9e0]
call fcn.00472bc0
push dword [ebp - 0x40]
lea ecx, [esi + 0x9e0]
call fcn.00472ca0
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.0047b860
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.004226eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.004215e4
mov ecx, esi
call fcn.00424d00
test eax, eax
jne 0x42978d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x9ec], eax
xor edi, edi
jmp 0x42a246
cmp dword [esi + 0x14], ebx
jne 0x42a040
lea ecx, [esi + 0xc]
call fcn.0040d513
add edi, 0x3c
test al, al
push edi
lea eax, [ebp - 0x2c]
jne 0x429fc8
push str.actionerrorvaluelocal_
push eax
call fcn.00473090
push str._missing
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
call fcn.00473040
add esp, 0x18
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call dword [edx + 0x10]
mov byte [ebp - 4], 0xc
jmp 0x42a02c
push str.actionerrorvalue
push eax
call fcn.00473090
cmp dword [ebp - 0x30], 0x800705b4
jne 0x42a005
push str._timeout
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
call fcn.00473040
add esp, 0x18
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call dword [edx + 0x10]
mov byte [ebp - 4], 0xe
jmp 0x42a02c
push str._missing
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x10
call fcn.00473040
add esp, 0x18
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call dword [edx + 0x10]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x18]
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [esi + 0x1cc]
call fcn.0041e4af
push str.download_thread:_exiting
lea ecx, [ebp - 0x24]
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x12
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.004226eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.004215e4
jmp 0x42a2d4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b9d0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x1e
jne 0x42a0b0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call fcn.00472740
add edi, 0x3c
push edi
lea eax, [ebp - 0x2c]
push str.actionerrorvalue
push eax
call fcn.00473090
push str._invalid
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00473040
add esp, 0x18
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x20
call dword [edx + 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00472740
lea ecx, [esi + 0x1cc]
call fcn.0041e4af
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004186e9
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.0047b860
jmp 0x42a072
push str.download_thread:_failure
lea ecx, [ebp - 0x24]
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x27
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00423374
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x28
jne 0x42a17d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea ecx, [esi + 0xe4]
call fcn.0040d513
test al, al
jne 0x42a1af
push 0x4ce690
lea ecx, [esi + 0xe4]
call fcn.00472bc0
push str._id
add edi, 0x3c
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00473040
add esp, 0xc
push eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x29
call fcn.00472ca0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call fcn.00472740
push edi
lea eax, [ebp - 0x2c]
push str.actionerrorvalue
push eax
call fcn.00473090
push str._invalid
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x2a
call fcn.00473040
add esp, 0x18
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2b
call dword [edx + 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00472740
lea ecx, [esi + 0x1cc]
call fcn.0041e4af
jmp 0x42a127
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x3c], edi
jne 0x42a23b
lea ecx, [ebp - 0x24]
cmp dword [esi + 0x14], edi
jne 0x42a283
push str.download_thread:_setting_m_bDownloaded__T
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0x33
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472740
mov dword [esi + 0x44], 1
jmp 0x42a2aa
push str.download_thread:_did_not_set_m_bDownloaded__T
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0x34
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472740
push str.download_thread:_exiting_2
lea ecx, [ebp - 0x48]
call fcn.00472760
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 0x35
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00472740
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x404
leave
ret