Function at 0x414310
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da70d
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x100], ebx
call fcn.004111f0
push ebx
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 1
call fcn.004161e0
push eax
push 0x493e0
push ecx
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.00436e1f
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
jb 0x4143ab
push dword [ebp - 0x28]
call fcn.004a295f
add esp, 4
sub esp, 8
add edi, 0x18
xor eax, eax
push edi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x110], edi
call fcn.00436f05
test al, al
je 0x41440a
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00412df0
mov eax, dword [eax]
mov ebx, 1
cmp dword [eax + 0x18], 0x190
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0xf9], 0
jl 0x414411
mov byte [ebp - 0xf9], 1
test bl, 1
je 0x414449
mov edi, dword [ebp - 0x130]
and ebx, 0xfffffffe
mov dword [ebp - 0x100], ebx
test edi, edi
je 0x414443
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x414443
test edi, edi
je 0x414443
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov edi, dword [ebp - 0x110]
cmp byte [ebp - 0xf9], 0
je 0x414603
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x4144c3
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x1e
push str.Couldnt_download_digest_from
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00404c90
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x141
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x4144c3
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
mov byte [esi], 0
or ebx, 2
mov dword [ebp - 0x100], ebx
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0xb4]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
mov dword [ebp - 0xb4], edi
test esi, esi
je 0x414510
lea eax, [esi + 4]
push eax
call ebx
test eax, eax
jne 0x41450a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x41450a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edi, dword [ebp - 0xb4]
cmp dword [ebp - 0x9c], 8
jb 0x41452d
push dword [ebp - 0xb0]
call fcn.004a295f
mov edi, dword [ebp - 0xb4]
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 8
test edi, edi
je 0x414571
lea eax, [edi + 4]
push eax
call ebx
test eax, eax
jne 0x414571
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x414571
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [ebp - 0xc0], 8
jb 0x414588
push dword [ebp - 0xd4]
call fcn.004a295f
add esp, 4
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], ax
test esi, esi
je 0x4145c9
lea eax, [esi + 4]
push eax
call ebx
test eax, eax
jne 0x4145c9
test esi, esi
je 0x4145c9
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x4145e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x4145f8
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0x118]
jmp 0x415159
push ecx
push esp
lea ecx, [ebp - 0xe0]
call fcn.00412df0
lea ecx, [ebp - 0x44]
call fcn.00437353
add esp, 4
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.00411370
test al, al
sete al
cmp dword [ebp - 0x30], 8
mov byte [ebp - 0xf9], al
jb 0x41464d
push dword [ebp - 0x44]
call fcn.004a295f
mov al, byte [ebp - 0xf9]
add esp, 4
test al, al
je 0x4146e2
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x4146c2
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x1b
push str.Couldnt_parse_digest_from
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00404c90
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x146
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x4146c2
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
or ebx, 2
lea ecx, [ebp - 0xe0]
mov byte [esi], 0
mov dword [ebp - 0x100], ebx
mov byte [ebp - 4], 1
call fcn.00436ea3
jmp 0x415143
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 1
call fcn.00436ea3
xor edi, edi
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], edi
push str.updates_update
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00403110
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x104]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x41474d
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x110]
call fcn.00411960
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x41476f
push dword [ebp - 0x44]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x14], 8
jb 0x414794
push dword [ebp - 0x28]
call fcn.004a295f
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
test eax, eax
je 0x41495d
xor esi, esi
mov dword [ebp - 0x130], esi
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x108]
push ecx
mov ecx, eax
call fcn.004200b0
mov byte [ebp - 4], 0x14
mov edi, dword [eax]
test edi, edi
je 0x4147e2
mov eax, dword [edi]
push edi
call dword [eax + 4]
test edi, edi
sete al
test al, al
sete al
test al, al
je 0x41483e
test edi, edi
je 0x41492d
mov eax, dword [edi]
lea ecx, [ebp - 0x138]
push ecx
push 0x4ea670
push edi
call dword [eax]
xor ecx, ecx
test eax, eax
cmovns ecx, dword [ebp - 0x138]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x128], ecx
test esi, esi
je 0x414834
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x128]
mov esi, ecx
mov dword [ebp - 0x130], esi
jmp 0x414861
test esi, esi
je 0x414856
mov ecx, esi
xor esi, esi
mov dword [ebp - 0x130], esi
test ecx, ecx
je 0x414856
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, 0x80004002
mov dword [ebp - 0x114], eax
test edi, edi
je 0x414871
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x114]
test eax, eax
jns 0x414880
cmp eax, 0x80004002
jne 0x414937
test esi, esi
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x108]
setne byte [ebp - 0xf9]
test eax, eax
je 0x41489d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0xf9], 0
je 0x41493d
push dword [ebp - 0x10c]
push ecx
mov edi, esp
push ecx
mov eax, esp
mov dword [edi], 0
mov dword [eax], esi
test esi, esi
je 0x4148c8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, edi
call fcn.0041c660
test eax, eax
jns 0x4148da
cmp eax, 0x80004002
jne 0x414937
lea eax, [ebp - 0xf8]
push eax
call fcn.00416450
mov byte [ebp - 4], 0x15
mov al, byte [ebp - 0xf8]
test al, al
je 0x41490c
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x124]
call fcn.0041af50
mov al, byte [ebp - 0xf8]
mov byte [ebp - 4], 0x13
test al, al
je 0x41491f
lea ecx, [ebp - 0xf4]
call fcn.00416d00
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4147c2
push 0x80004003
call fcn.004a27e0
push eax
call fcn.004a27e0
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41494b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x120]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x41496b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x513098]
and eax, 0xf
cmp al, 0xf
jne 0x4149ec
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x13
push str.Found__i_version_s_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.00404c90
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
sub ecx, dword [ebp - 0x124]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x156
push str.Elements::CUpdater::DownloadUpdate
push 0xf
call fcn.00428590
add esp, 0x18
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 8
jb 0x4149ec
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ecx + 0x5c]
cmp eax, dword [ecx + 0x60]
je 0x414a3b
push ecx
mov ecx, dword [ebp - 0x124]
mov edx, edi
call fcn.0041d100
add esp, 4
cmp eax, edi
je 0x414a21
push dword [ebp - 0x10c]
mov edx, edi
mov ecx, eax
call fcn.0041c6d0
add esp, 4
push edi
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x124]
call fcn.0041b010
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
cmp eax, edi
jne 0x414acc
mov eax, dword [0x513098]
and eax, 0xf
cmp al, 0xf
jne 0x414abb
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x25
push str.No_updates_available_for_application
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00404c90
push 0xffffffffffffffff
push 0
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x165
push str.Elements::CUpdater::DownloadUpdate
push 0xf
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x414abb
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
or ebx, 2
mov byte [esi], 0
mov dword [ebp - 0x100], ebx
jmp 0x415138
mov ecx, edi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x124]
sar edx, 4
mov eax, edx
shr eax, 0x1f
mov byte [ebp - 0x108], 0
push dword [ebp - 0x108]
add eax, edx
push eax
mov edx, edi
call fcn.0041c830
mov eax, dword [0x513098]
and eax, 0xf
add esp, 8
add edi, 0xffffffa0
cmp al, 0xf
jne 0x414b72
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x11
push str.Download_version
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00404c90
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x173
push str.Elements::CUpdater::DownloadUpdate
push 0xf
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x414b72
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x19
call fcn.004161e0
push eax
push 0x36ee80
push ecx
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x1a
call fcn.00436e1f
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x14], 8
jb 0x414bbf
push dword [ebp - 0x28]
call fcn.004a295f
add esp, 4
xor eax, eax
push 0x74
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004a2b5d
add esp, 4
test eax, eax
je 0x414bea
mov ecx, eax
call fcn.00412c70
jmp 0x414bec
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
test eax, eax
je 0x414c0c
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x118]
lea ecx, [edi + 0x14]
lea edx, [eax + 0xc]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x128], ecx
cmp edx, ecx
je 0x414c32
push 0xffffffffffffffff
push 0
push ecx
mov ecx, edx
call fcn.00402c10
mov eax, dword [ebp - 0x118]
push 0
mov byte [eax + 0x59], 1
push 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00436f7c
test al, al
je 0x414c7d
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00412df0
mov eax, dword [eax]
or ebx, 4
cmp dword [eax + 0x18], 0x190
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0xf9], 0
jl 0x414c84
mov byte [ebp - 0xf9], 1
test bl, 4
je 0x414c9d
and ebx, 0xfffffffb
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x100], ebx
call fcn.0041ada0
cmp byte [ebp - 0xf9], 0
je 0x414d4c
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x414d1d
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov byte [ebp - 0x30], al
push 0x1e
push str.Couldnt_download_update_from
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1e
call fcn.00404c90
mov ecx, dword [ebp - 0x128]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [ebp - 0x48]
call fcn.00402a00
lea eax, [ebp - 0x48]
push eax
push eax
push 0x17f
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x34], 8
jb 0x414d1d
push dword [ebp - 0x48]
call fcn.004a295f
add esp, 4
or ebx, 2
lea ecx, [ebp - 0x114]
mov byte [esi], 0
mov dword [ebp - 0x100], ebx
mov byte [ebp - 4], 0x1c
call fcn.0041ada0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x19
call fcn.00436ea3
jmp 0x415130
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00412df0
mov byte [ebp - 4], 0x1f
mov eax, dword [eax]
add eax, 0x20
lea ecx, [ebp - 0x60]
cmp ecx, eax
je 0x414d78
push 0xffffffffffffffff
push 0
push eax
call fcn.00402c10
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x1d
call fcn.0041ada0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1c
call fcn.0041ada0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x19
call fcn.00436ea3
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.0043746c
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x68], 0
je 0x41509f
cmp dword [edi + 0x44], 8
lea ecx, [edi + 0x30]
jb 0x414dc9
mov ecx, dword [ecx]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.004a3db2
add esp, 8
test eax, eax
jne 0x41509f
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x28]
call fcn.004375a3
push eax
lea ecx, [ebp - 0x78]
call fcn.0041a9c0
lea ecx, [ebp - 0x28]
call fcn.00403170
cmp dword [ebp - 0x68], 0
je 0x415031
cmp dword [edi + 0x5c], 8
lea ecx, [edi + 0x48]
jb 0x414e17
mov ecx, dword [ecx]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.004a3db2
add esp, 8
test eax, eax
jne 0x415031
push edi
push dword [ebp - 0x10c]
lea eax, [ebp - 0x90]
push eax
call fcn.004160a0
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x23
call fcn.004014c0
call fcn.0042d808
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.004014c0
call fcn.0042d459
add esp, 0x18
test al, al
jne 0x414eef
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x414ed3
lea ecx, [ebp - 0x2c]
call fcn.00404e10
push str.Couldnt_create_directory
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x24
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x19b
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
or ebx, 2
lea ecx, [ebp - 0x90]
mov byte [esi], 0
mov dword [ebp - 0x100], ebx
call fcn.00403170
jmp 0x415128
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.004376f6
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x12c], 0
je 0x414feb
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00437792
test al, al
je 0x414feb
cmp dword [edi + 0x2c], 1
jne 0x414fe1
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x134]
add eax, 0x44
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00418210
test al, al
jne 0x414fe1
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x414faa
lea ecx, [ebp - 0x2c]
call fcn.00404e10
push str.Couldnt_apply_patches
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x27
call fcn.00404c40
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x1ab
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x25
call fcn.00403170
push edi
push dword [ebp - 0x10c]
call fcn.00415620
mov byte [esi], 0
or ebx, 2
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x100], ebx
mov byte [ebp - 4], 0x23
call fcn.00437760
lea ecx, [ebp - 0x90]
call fcn.00403170
jmp 0x415128
push edi
mov ecx, esi
call fcn.0041ac20
jmp 0x414fb9
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x414faa
lea ecx, [ebp - 0x2c]
call fcn.00404e10
push str.Couldnt_unzip_update_to
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x1a1
jmp 0x414f8f
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x415110
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push str.SHA_2_not_equals_for_file
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x22
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x14]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x191
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x20
call fcn.00403170
jmp 0x415110
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x415110
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push str.MD5_not_equals_for_file
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x14]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x18a
push str.Elements::CUpdater::DownloadUpdate
push 3
call fcn.00428590
add esp, 0x14
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x18], 8
jb 0x415110
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
push edi
push dword [ebp - 0x10c]
call fcn.00415620
or ebx, 2
mov dword [ebp - 0x100], ebx
mov byte [esi], 0
lea ecx, [ebp - 0x78]
call fcn.00403170
lea ecx, [ebp - 0x60]
call fcn.00403170
lea ecx, [ebp - 0x124]
call fcn.0041af00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x415157
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2964
mov esp, ebp
pop ebp
ret 8