Function at 0x411510
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539273
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x58bcc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
call fcn.00414a40
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
call fcn.00413432
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411565
push 0x80004005
call fcn.004026c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00413432
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411592
push 0x80004005
call fcn.004026c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 8]
cmp eax, edi
jle 0x411f68
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6e8]
push eax
push edi
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 8], edi
jle 0x411f68
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x6c]
call fcn.00414b1f
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x411fff
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 8]
jge 0x411fff
mov ecx, dword [ecx + 4]
mov esi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x54], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x411628
cmp eax, dword [esi - 0x10]
jne 0x411628
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x411660
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x411ffa
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00513251
add esp, 0x10
lea ecx, [ebp - 0x84]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.00404f10
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], edx
call fcn.00413432
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41155b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, 0x566cdc
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x4116ca
mov edx, ecx
movzx esi, dx
push esi
call fcn.004142e3
test eax, eax
je 0x4116d9
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00402040
jmp 0x4116d9
push 1
push 0x566cdc
lea ecx, [ebp - 0x20]
call fcn.004021f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x78]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x411735
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x411725
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411725
push eax
call fcn.00401e20
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41171d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x78], ebx
jmp 0x411732
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.004021f0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
lea eax, [ecx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
test eax, eax
je 0x41177f
cmp dword [ecx - 0xc], 0
jl 0x41177f
push eax
push ecx
call fcn.00513fa6
mov ecx, dword [ebp - 0x7c]
add esp, 8
test eax, eax
je 0x41177f
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x411785
cmp dword [ebp - 0x70], 0
jne 0x4117b0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4117aa
cmp dword [ecx - 0xc], 0
jl 0x4117aa
push eax
push ecx
call fcn.00513fa6
add esp, 8
test eax, eax
je 0x4117aa
sub eax, dword [ebp - 0x7c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4117b0
cmp dword [ebp - 0x70], 0
je 0x4117df
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00405150
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
push eax
push edx
lea ecx, [ebp - 0x6c]
call fcn.00414e1f
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
jmp 0x41173c
cmp dword [ebp - 0x64], 0
jle 0x411fff
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
push ecx
add eax, 0x83c
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00405780
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov edi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x41185d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41184d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41184d
push eax
call fcn.00401e20
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x411845
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x18], edi
jmp 0x41185d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004021f0
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411880
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x64], 0
jle 0x411fff
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push str.Downloading
push edx
call fcn.004037a0
add esp, 0xc
push str._file
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call fcn.00403900
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, 0x780
push eax
call fcn.0041dd50
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00404950
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411933
test al, 0x10
je 0x411933
mov eax, 1
jmp 0x411935
xor eax, eax
test al, al
mov eax, dword [ebp - 0x3c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x411a63
push edi
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404950
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x411991
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411a57
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x4119b5
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004024d0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051342a
add esp, 8
test eax, eax
js 0x412004
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x412004
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411a40
mov ecx, dword [ebp - 0x10]
push 0x5c
push ecx
call fcn.00514006
add esp, 8
test eax, eax
jne 0x411a11
or eax, 0xffffffff
jmp 0x411a16
sub eax, dword [ebp - 0x10]
sar eax, 1
push ecx
mov edx, esp
mov dword [ebp - 0x54], esp
push eax
push edx
lea ecx, [ebp - 0x10]
call fcn.00405710
mov ecx, dword [ebp + 8]
add ecx, 0x80c
call fcn.00404730
mov eax, dword [ebp - 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x64], 0
jle 0x411fff
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
push ecx
add edx, 0x844
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00405780
add esp, 0xc
push str..zip
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00403900
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x56987c
push 0x566d38
lea ecx, [ebp - 0x24]
call fcn.00405300
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str..zip
lea edx, [ebp - 0x18]
push edx
push ecx
call fcn.00403900
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esp, 8
mov dword [ebp - 0x58], esp
mov ebx, esp
call edx
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x411b1e
cmp eax, dword [esi - 0x10]
jne 0x411b1e
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x411b56
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x411ffa
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00513251
add esp, 0x10
mov esi, dword [ebp + 8]
add edi, 0x10
mov dword [ebx], edi
push esi
mov byte [ebp - 4], 0xd
call fcn.00410b60
test al, al
je 0x412138
mov eax, dword [esi + 0x850]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp eax, 1
jne 0x411dc1
push str.backup_
lea eax, [esi + 0x83c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403900
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x64], 0
jle 0x411fff
mov edx, dword [ebp - 0x68]
push edx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405780
add esp, 0xc
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x411c18
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x411c08
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411c08
push eax
call fcn.00401e20
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x411c00
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x1c], edi
jmp 0x411c18
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004021f0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404950
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411c81
test al, 0x10
je 0x411c81
mov eax, 1
jmp 0x411c83
xor eax, eax
test al, al
mov eax, dword [ebp - 0x4c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ca7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x411db1
push edi
lea ecx, [ebp - 0x14]
push ecx
call fcn.00404950
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
jne 0x411cdf
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411da5
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x411d03
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004024d0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0051342a
add esp, 8
test eax, eax
js 0x412004
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x412004
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411d8e
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.00514006
add esp, 8
test eax, eax
jne 0x411d5f
or eax, 0xffffffff
jmp 0x411d64
sub eax, dword [ebp - 0x14]
sar eax, 1
push ecx
mov edx, esp
mov dword [ebp - 0x58], esp
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.00405710
mov ecx, dword [ebp + 8]
add ecx, 0x80c
call fcn.00404730
mov eax, dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push 0
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x64], 0
jle 0x411fff
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x50]
push str.Extracting
push eax
call fcn.004037a0
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x780]
call fcn.0041dd50
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x411e44
cmp eax, dword [esi - 0x10]
jne 0x411e44
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x411e7c
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x411ffa
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00513251
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x54], esp
push str..zip
lea edx, [ebp - 0x18]
push edx
push ecx
call fcn.00403900
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
mov byte [ebp - 4], 0xd
call fcn.00410860
test al, al
je 0x41200e
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + 0x6e8]
push 0
inc edi
push edi
push 0x402
push eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ef1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
mov dword [ebp - 0x84], vtable.CToken.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xc]
cmp edi, dword [ecx + 8]
jl 0x4115d0
mov ecx, dword [ebp + 8]
push str.All_the_files_have_been_updated
add ecx, 0x780
call fcn.0041dd50
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x6c]
call fcn.00414b1f
lea ecx, [ebp - 0x6c]
call fcn.00414a57
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414cc6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00402480
call fcn.00414196
push 0x80070057
call fcn.004026c0
push str.Update_Failed
lea ecx, [esi + 0x780]
call fcn.0041dd50
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 8]
push str.Update_Failed_while_extracting:_n
push eax
call fcn.004037a0
add esp, 8
mov ecx, esp
mov dword [ebp + 0xc], esp
push str..zip__n_nCheck_if_the_file_exists_or_is_corrupted
push eax
push ecx
mov byte [ebp - 4], 0x14
call fcn.00403900
add esp, 0xc
mov ecx, esi
call fcn.00410080
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412075
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x630]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push ecx
call edi
mov edx, dword [esi + 0x6e8]
push 0
push 0
push 0x402
push edx
call edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x84]
call fcn.00405070
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412113
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414cc6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Update_Failed
lea ecx, [esi + 0x780]
call fcn.0041dd50
mov ecx, dword [esi + 0x630]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push ecx
call edi
mov edx, dword [esi + 0x6e8]
push 0
push 0
push 0x402
push edx
call edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412195
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x84]
call fcn.00405070
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414cc6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8