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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539723
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x58bc40]
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.0041c0cf
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
call fcn.00413912
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411a45
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.00413912
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x411a72
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 0x412448
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x518]
push eax
push edi
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 8], edi
jle 0x412448
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x6c]
call fcn.0041c1ae
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x4124df
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 8]
jge 0x4124df
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 0x411b08
cmp eax, dword [esi - 0x10]
jne 0x411b08
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x411b40
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 0x4124da
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.0051370f
add esp, 0x10
lea ecx, [ebp - 0x84]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.004055b0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], edx
call fcn.00413912
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x411a3b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, 0x568a68
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x411baa
mov edx, ecx
movzx esi, dx
push esi
call fcn.004147ca
test eax, eax
je 0x411bb9
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00402040
jmp 0x411bb9
push 1
push 0x568a68
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 0x411c15
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x411c05
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411c05
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 0x411bfd
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 0x411c12
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 0x411c35
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 0x411c5f
cmp dword [ecx - 0xc], 0
jl 0x411c5f
push eax
push ecx
call fcn.00514464
mov ecx, dword [ebp - 0x7c]
add esp, 8
test eax, eax
je 0x411c5f
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x411c65
cmp dword [ebp - 0x70], 0
jne 0x411c90
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x411c8a
cmp dword [ecx - 0xc], 0
jl 0x411c8a
push eax
push ecx
call fcn.00514464
add esp, 8
test eax, eax
je 0x411c8a
sub eax, dword [ebp - 0x7c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x411c90
cmp dword [ebp - 0x70], 0
je 0x411cbf
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.004057f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
push eax
push edx
lea ecx, [ebp - 0x6c]
call fcn.0041c4ae
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
jmp 0x411c1c
cmp dword [ebp - 0x64], 0
jle 0x4124df
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp + 8]
push ecx
add eax, 0x66c
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00405e20
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 0x411d3d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x411d2d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411d2d
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 0x411d25
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 0x411d3d
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 0x411d60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x64], 0
jle 0x4124df
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push str.Downloading
push edx
call fcn.00403f30
add esp, 0xc
push str._file
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call fcn.00404010
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, 0x5b0
push eax
call fcn.00425354
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 0x411dcd
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 0x411df0
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.00404ff0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411e13
test al, 0x10
je 0x411e13
mov eax, 1
jmp 0x411e15
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 0x411e39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x411f43
push edi
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404ff0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x411e71
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 0x411f37
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x411e95
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.005138e8
add esp, 8
test eax, eax
js 0x4124e4
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4124e4
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 0x411f20
mov ecx, dword [ebp - 0x10]
push 0x5c
push ecx
call fcn.005144c4
add esp, 8
test eax, eax
jne 0x411ef1
or eax, 0xffffffff
jmp 0x411ef6
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.00405db0
mov ecx, dword [ebp + 8]
add ecx, 0x63c
call fcn.00404dd0
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 0x411f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x64], 0
jle 0x4124df
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
push ecx
add edx, 0x674
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00405e20
add esp, 0xc
push str..zip
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00404010
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 0x411fa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x569fd4
push 0x568b8c
lea ecx, [ebp - 0x24]
call fcn.004059a0
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.00404010
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 0x411ffe
cmp eax, dword [esi - 0x10]
jne 0x411ffe
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x412036
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 0x4124da
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.0051370f
add esp, 0x10
mov esi, dword [ebp + 8]
add edi, 0x10
mov dword [ebx], edi
push esi
mov byte [ebp - 4], 0xd
call fcn.00410f80
test al, al
je 0x412618
mov eax, dword [esi + 0x680]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp eax, 1
jne 0x4122a1
push str.backup_
lea eax, [esi + 0x66c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00404010
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x64], 0
jle 0x4124df
mov edx, dword [ebp - 0x68]
push edx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405e20
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 0x4120f8
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4120e8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4120e8
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 0x4120e0
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 0x4120f8
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 0x41211b
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 0x41213e
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.00404ff0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412161
test al, 0x10
je 0x412161
mov eax, 1
jmp 0x412163
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 0x412187
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x412291
push edi
lea ecx, [ebp - 0x14]
push ecx
call fcn.00404ff0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4121bf
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 0x412285
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x4121e3
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.005138e8
add esp, 8
test eax, eax
js 0x4124e4
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x4124e4
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 0x41226e
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.005144c4
add esp, 8
test eax, eax
jne 0x41223f
or eax, 0xffffffff
jmp 0x412244
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.00405db0
mov ecx, dword [ebp + 8]
add ecx, 0x63c
call fcn.00404dd0
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 0x412291
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 0x4124df
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x50]
push str.Extracting
push eax
call fcn.00403f30
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x5b0]
call fcn.00425354
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 0x4122f5
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 0x412324
cmp eax, dword [esi - 0x10]
jne 0x412324
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41235c
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 0x4124da
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.0051370f
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.00404010
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
mov byte [ebp - 4], 0xd
call fcn.00410c80
test al, al
je 0x4124ee
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + 0x518]
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 0x4123d1
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 0x4123fe
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 0x41241d
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 0x41243c
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 0x411ab0
mov ecx, dword [ebp + 8]
push str.All_the_files_have_been_updated
add ecx, 0x5b0
call fcn.00425354
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x6c]
call fcn.0041c1ae
lea ecx, [ebp - 0x6c]
call fcn.0041c0e6
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 0x412492
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 0x4124b5
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.0041c355
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.0041467d
push 0x80070057
call fcn.004026c0
push str.Update_Failed
lea ecx, [esi + 0x5b0]
call fcn.00425354
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp + 8]
push str.Update_Failed_while_extracting:_n
push eax
call fcn.00403f30
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.00404010
add esp, 0xc
mov ecx, esi
call fcn.00410500
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 0x412555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x460]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push ecx
call edi
mov edx, dword [esi + 0x518]
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 0x4125a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x84]
call fcn.00405710
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 0x4125d0
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 0x4125f3
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.0041c355
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 + 0x5b0]
call fcn.00425354
mov ecx, dword [esi + 0x460]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push ecx
call edi
mov edx, dword [esi + 0x518]
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 0x412675
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x84]
call fcn.00405710
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 0x4126a3
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 0x4126c6
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.0041c355
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