Function at 0x42bf40
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x170
mov eax, 0x4bf7c0
call fcn.004943c6
and dword [ebp - 0x10], 0
mov esi, ecx
push str.DownloadThread___starting
lea ecx, [ebp - 0x38]
call fcn.00472340
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00472320
jmp 0x42c762
cmp dword [esi + 0xb9c], 0
je 0x42c771
mov eax, dword [esi + 0xb90]
xor ebx, ebx
mov dword [esi + 0xb38], ebx
mov dword [esi + 0xb3c], ebx
mov dword [esi + 0xb6c], ebx
mov edi, dword [eax + 8]
lea ecx, [esi + 0xb8c]
call fcn.00473560
lea ecx, [ebp - 0xd4]
call fcn.004232d8
lea eax, [ebp - 0xd4]
mov dword [esi + 0xba0], eax
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
mov dword [esi + 0xba4], edi
call fcn.00425423
push ebx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004246b2
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.00472320
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.00472c70
push eax
mov byte [ebp - 4], 5
call fcn.00411af0
add esp, 0x10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 4
call fcn.00472320
cmp byte [ebx + 7], 0xff
mov eax, dword [esi + 0x30]
mov ecx, ebx
jne 0x42c067
mov ecx, dword [ebx]
xor edx, edx
test eax, eax
push 0
setne dl
lea eax, [ebp - 0xa0]
push edx
push dword [esi + 0xff0]
push edi
push ecx
push eax
push esi
push esi
lea ecx, [ebp - 0xd4]
call fcn.00423937
mov dword [ebp - 0x30], eax
test eax, eax
jns 0x42c180
push str.first_download_failed__trying_second
lea ecx, [ebp - 0x68]
call fcn.00472340
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00472320
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0xdc]
push str.trying_backup_
push eax
call fcn.00472c70
push eax
mov byte [ebp - 4], 7
call fcn.00411af0
add esp, 0x10
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00472320
lea eax, [edi + 0x6c]
push eax
push ebx
call fcn.0040d622
pop ecx
pop ecx
test al, al
je 0x42c157
mov ecx, dword [esi + 0x30]
lea eax, [edi + 0x6c]
cmp byte [eax + 7], 0xff
jne 0x42c10e
mov eax, dword [eax]
xor edx, edx
test ecx, ecx
push 0
setne dl
lea ecx, [ebp - 0xd4]
push edx
push dword [esi + 0xff0]
push edi
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
push esi
call fcn.00423937
push str.download_thread:_failed
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x30], eax
call fcn.00472340
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 8
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x70]
jmp 0x42c19e
push str.download_thread:_worked_second_try
lea ecx, [ebp - 0xa8]
call fcn.00472340
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 9
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0xa8]
jmp 0x42c19e
push str.download_thread:_worked_first_try
lea ecx, [ebp - 0x58]
call fcn.00472340
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xa
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00472320
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [esi + 0xba0], eax
mov dword [esi + 0xba4], eax
cmp dword [edi + 4], eax
jne 0x42c1cc
cmp dword [esi + 0x34], eax
jne 0x42c744
push 0x3ff
mov byte [ebp], al
lea eax, [ebp + 1]
push 0
push eax
call fcn.00493d40
lea eax, [edi + 0xac]
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x42c1f0
mov eax, dword [eax]
cmp byte [ebx + 7], 0xff
jne 0x42c1f8
mov ebx, dword [ebx]
lea ecx, [edi + 0x3c]
cmp byte [ecx + 7], 0xff
mov dword [ebp - 0x40], ecx
jne 0x42c206
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.004952eb
add esp, 0x18
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x50]
call fcn.00472340
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00472320
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
jl 0x42c784
cmp dword [ebp - 0xc0], ebx
je 0x42c744
push str.download_thread:_success
lea ecx, [ebp - 0x78]
call fcn.00472340
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x13
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00472320
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004253d0
lea ebx, [edi + 0x7c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x14
call fcn.004723d0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 4
call fcn.00472320
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004253d0
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x15
call fcn.0047b470
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b510
push 0x4d4b68
push eax
mov byte [ebp - 4], 0x18
call fcn.0040d604
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
mov byte [ebp - 0x19], al
mov byte [ebp - 4], 0x17
call fcn.00472320
cmp byte [ebp - 0x19], 0
je 0x42c3e7
push ebx
lea eax, [ebp - 0xec]
push str.download_thread:_exe_
push eax
call fcn.00472c70
push eax
mov byte [ebp - 4], 0x19
call fcn.00411af0
add esp, 0x10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x17
call fcn.00472320
call fcn.0042a1ae
test al, al
jne 0x42c698
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b5b0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x1a
jne 0x42c37d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004250ae
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.00472320
push str.download_thread:_checking_dig_sig
lea ecx, [ebp - 0x60]
call fcn.00472340
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1c
call fcn.00472320
push 0x4d3c38
push dword [ebp - 0x3c]
call fcn.00419efa
pop ecx
pop ecx
test eax, eax
jne 0x42c8a1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x17
call fcn.0040d576
jmp 0x42c698
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b510
or dword [ebp - 0x10], 1
push 0x4d3c34
push eax
mov byte [ebp - 4], 0x21
call fcn.0040d604
pop ecx
pop ecx
test al, al
jne 0x42c444
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b510
or dword [ebp - 0x10], 2
push 0x4d3c60
push eax
mov dword [ebp - 4], 0x22
call fcn.0040d604
pop ecx
pop ecx
test al, al
jne 0x42c444
xor bl, bl
jmp 0x42c446
mov bl, 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 0x21
je 0x42c462
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0xfc]
call fcn.00472320
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 0x17
je 0x42c47e
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x12c]
call fcn.00472320
test bl, bl
je 0x42c698
push str.download_thread:_extensino_rup_or_cab
lea ecx, [ebp - 0x80]
call fcn.00472340
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x23
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ecx, [edi + 0x74]
call fcn.0040d59a
test al, al
jne 0x42c947
push str.download_thread:_extracting
lea ecx, [ebp - 0x48]
call fcn.00472340
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x24
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea eax, [ebp - 0x14c]
push eax
mov ecx, esi
call fcn.00425423
mov ebx, eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x25
call fcn.004253d0
cmp byte [ebx + 7], 0xff
mov byte [ebp - 4], 0x26
jne 0x42c516
mov ebx, dword [ebx]
cmp byte [eax + 7], 0xff
jne 0x42c51e
mov eax, dword [eax]
push ebx
push eax
lea eax, [esi + 4]
push eax
call fcn.004250ef
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov ebx, eax
mov byte [ebp - 4], 0x25
call fcn.00472320
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x17
call fcn.00472320
test ebx, ebx
js 0x42c947
lea ecx, [ebp - 0x38]
call fcn.00472090
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.00425423
mov ecx, esi
call fcn.004257f2
lea ecx, [ebp - 0x38]
call fcn.0040d59a
lea ecx, [esi + 0xd4]
test al, al
jne 0x42c5f8
call fcn.0040d59a
test al, al
jne 0x42c5a5
push 0x4d1b10
lea ecx, [esi + 0xd4]
call fcn.004727a0
push str._id
push dword [ebp - 0x40]
lea eax, [ebp - 0xe4]
push eax
call fcn.00472c20
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00472bd0
add esp, 0x18
push eax
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 0x2e
call fcn.00472880
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x2d
call fcn.00472320
lea ecx, [ebp - 0xe4]
jmp 0x42c63e
call fcn.0040d59a
test al, al
jne 0x42c611
push 0x4d1b10
lea ecx, [esi + 0xd4]
call fcn.004727a0
push str._id
push dword [ebp - 0x40]
lea eax, [ebp - 0xf4]
push eax
call fcn.00472c20
add esp, 0xc
push eax
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 0x2f
call fcn.00472880
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2c
call fcn.00472320
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00425423
lea ecx, [edi + 0x74]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x30
call fcn.00472bd0
add esp, 0xc
push eax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 0x31
call fcn.004723d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x30
call fcn.00472320
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2c
call fcn.00472320
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x17
call fcn.00472320
push str.download_thread:_downloaded__TRUE
lea ecx, [ebp - 0x24]
mov dword [edi + 0xc], 1
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x32
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ebx, [edi + 0x7c]
cmp byte [ebx + 7], 0xff
mov eax, ebx
jne 0x42c6d3
mov eax, dword [ebx]
push 0
push eax
call fcn.00410fcf
mov dword [edi + 0x24], eax
push str.main
add edi, 0x4c
push edi
call fcn.0040d604
add esp, 0x10
test al, al
je 0x42c708
mov eax, dword [ebp - 0xc4]
push ebx
lea ecx, [esi + 0x64]
mov dword [esi + 0x1cc], eax
call fcn.004723d0
lea ecx, [esi + 0xb44]
call fcn.0040d59a
test al, al
jne 0x42c727
push 0x4d3f6c
lea ecx, [esi + 0xb44]
call fcn.004727a0
push dword [ebp - 0x40]
lea ecx, [esi + 0xb44]
call fcn.00472880
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.0047b580
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.0042471c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.004235f1
mov ecx, esi
call fcn.00426d80
test eax, eax
jne 0x42bf99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb50], eax
xor edi, edi
jmp 0x42ca52
cmp dword [esi + 0x14], ebx
jne 0x42c84c
lea ecx, [esi + 0xc]
call fcn.0040d59a
add edi, 0x3c
test al, al
push edi
lea eax, [ebp - 0x2c]
jne 0x42c7d4
push str.actionerrorvaluelocal_
push eax
call fcn.00472c70
push str._missing
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xc
call fcn.00472c20
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 0x42c838
push str.actionerrorvalue
push eax
call fcn.00472c70
cmp dword [ebp - 0x30], 0x800705b4
jne 0x42c811
push str._timeout
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
call fcn.00472c20
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 0x42c838
push str._missing
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x10
call fcn.00472c20
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.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00472320
lea ecx, [esi + 0x1f4]
call fcn.0042023d
push str.download_thread:_exiting
lea ecx, [ebp - 0x24]
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x12
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00472320
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.0042471c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.004235f1
jmp 0x42cae0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x17c]
call fcn.0047b5b0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x1e
jne 0x42c8bc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call fcn.00472320
add edi, 0x3c
push edi
lea eax, [ebp - 0x2c]
push str.actionerrorvalue
push eax
call fcn.00472c70
push str._invalid
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00472c20
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.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00472320
lea ecx, [esi + 0x1f4]
call fcn.0042023d
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040d576
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.0047b580
jmp 0x42c87e
push str.download_thread:_failure
lea ecx, [ebp - 0x24]
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x27
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004253d0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 0x28
jne 0x42c989
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ecx, [esi + 0xd4]
call fcn.0040d59a
test al, al
jne 0x42c9bb
push 0x4d1b10
lea ecx, [esi + 0xd4]
call fcn.004727a0
push str._id
add edi, 0x3c
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00472c20
add esp, 0xc
push eax
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 0x29
call fcn.00472880
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call fcn.00472320
push edi
lea eax, [ebp - 0x2c]
push str.actionerrorvalue
push eax
call fcn.00472c70
push str._invalid
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x2a
call fcn.00472c20
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.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ecx, [esi + 0x1f4]
call fcn.0042023d
jmp 0x42c933
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x38], edi
jne 0x42ca47
lea ecx, [ebp - 0x24]
cmp dword [esi + 0x14], edi
jne 0x42ca8f
push str.download_thread:_setting_m_bDownloaded__T
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0x33
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472320
mov dword [esi + 0x40], 1
jmp 0x42cab6
push str.download_thread:_did_not_set_m_bDownloaded__T
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0x34
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472320
push str.download_thread:_exiting_2
lea ecx, [ebp - 0x48]
call fcn.00472340
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 0x35
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00472320
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.00493f43
add ebp, 0x404
leave
ret