Function at 0x434f60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dcee
mov eax, dword fs:[0]
push eax
sub esp, 0x6e8
mov eax, dword [0x5c6150]
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 ebx, ecx
mov dword [ebp - 0x6a4], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5cc]
call fcn.0044fd40
lea ecx, [ebp - 0x4a8]
call fcn.0044fd40
mov esi, str.http:__ime.sogou.com_version.txt
mov dword [ebp - 0x384], 0
mov byte [ebp - 0x380], 0
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434fd0
sub esi, ecx
lea ecx, [ebp - 0x4a0]
sar esi, 1
mov dword [ebp - 0x4a4], esi
inc esi
push esi
call fcn.00450b00
cmp byte [ebp - 0x38c], 0
lea eax, [esi + esi]
lea ecx, [ebp - 0x49c]
cmove ecx, dword [ebp - 0x4a0]
push eax
add ecx, 4
push str.http:__ime.sogou.com_version.txt
push ecx
call fcn.004d9a60
push str.SOGOU_UPDATER
lea eax, [ebp - 0x694]
push 0x64
push eax
call fcn.004e1af2
add esp, 0x18
push dword [ebp + 0x10]
lea eax, [ebp - 0x694]
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0042e5b0
lea ecx, [ebp - 0x37c]
call fcn.00436c70
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.00451900
mov byte [ebp - 4], 2
lea eax, [ebp - 0x128]
cmp byte [ebp - 0x18], 0
lea esi, [ebx + 8]
mov dword [ebp - 0x6a0], esi
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
push str._sSogouPinyin.ini
push esi
call fcn.00415720
add esp, 0xc
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
cmp byte [ebp - 0x18], 0
jne 0x4350c7
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x4350c7
push eax
call fcn.004e1b56
add esp, 4
mov byte [ebp - 4], 0
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4350f7
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x4350f7
push eax
call fcn.004e1b56
add esp, 4
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
je 0x43511a
push 0x5c080c
lea eax, [ebp - 0x69c]
mov dword [ebp - 0x69c], 0x80800000
push eax
call fcn.004da58d
xor eax, eax
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x6b0], eax
call fcn.0044fd40
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x694]
call fcn.00474a80
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x69c], 0
nop word [eax + eax]
push ecx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x6f4]
call fcn.00439910
push 0
push 0
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x24c]
cmp byte [ebp - 0x13c], 0
lea ecx, [ebp - 0x37c]
mov esi, dword [esi]
cmove ebx, dword [ebp - 0x250]
push 0
push 0
push 0
add ebx, 4
mov byte [ebp - 0x6a9], 0
push esi
mov dword [ebp - 0x6bc], ebx
call fcn.00451610
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00475240
add esp, 4
mov byte [ebp - 0x695], al
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4351f0
mov ecx, dword [ebp - 0x374]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x4351f0
push ecx
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x695], 0
mov ecx, 1
movzx eax, byte [ebp - 0x6a9]
cmovne eax, ecx
test al, al
jne 0x43530b
push str.SOGOU_UPDATER
lea ecx, [ebp - 0x134]
call fcn.0044fe90
push 0
lea ecx, [ebp - 0x6b0]
mov byte [ebp - 4], 6
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push ecx
cmove eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x6b8]
push ecx
push 0
push 0
push 0
push 0
push esi
push ebx
add eax, 4
mov dword [ebp - 0x6b8], 0
push eax
push 0
push 0x14
push ecx
push 0x10
push 0x65
mov dword [ebp - 0x6b0], 0
call fcn.0048b0f0
mov ecx, eax
call fcn.0048b1c0
mov bl, al
test bl, bl
jne 0x4352a7
mov ecx, dword [ebp - 0x6e0]
mov dword [ebp - 0x6b0], 0xffffffff
test ecx, ecx
je 0x4352b1
sub esp, 8
push esi
push dword [ebp - 0x6bc]
call fcn.0041a420
mov bl, al
jmp 0x4352b1
mov dword [ebp - 0x6b0], 0
mov byte [ebp - 4], 4
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4352de
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x4352de
push eax
call fcn.004e1b56
add esp, 4
test bl, bl
jne 0x43530b
mov ebx, dword [ebp - 0x6a4]
mov eax, dword [ebx + 0x10]
cmp dword [eax], 0
jne 0x43555c
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 3
call fcn.00439e10
lea esi, [ebx + 8]
jmp 0x435443
mov dword [ebp - 0x6d8], fcn.004e1b5b
mov dword [ebp - 0x6d4], fcn.004e1ae7
mov dword [ebp - 0x6d0], fcn.004e1b56
mov dword [ebp - 0x6cc], 0
mov dword [ebp - 0x6c8], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 0x6c0], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6dc]
mov esi, dword [ebp - 0x6a0]
push 0x3a8
push dword [esi]
push edi
call fcn.00455f50
test al, al
jne 0x4353ba
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6cc]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test ecx, ecx
je 0x4353ae
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x6cc], eax
call dword [ebp - 0x6d0]
mov ecx, dword [ebp - 0x6cc]
add esp, 4
test ecx, ecx
jne 0x435391
mov dword [ebp - 0x6cc], 0
jmp 0x43542e
lea ecx, [ebp - 0x6dc]
call fcn.00456b60
lea ecx, [ebp - 0x6dc]
cmp dword [eax + 4], 0
je 0x435429
push 0x596f5c
push 0x596f5c
call fcn.00455c90
test eax, eax
je 0x435423
mov ecx, 0x594578
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x435416
test dx, dx
je 0x435412
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x435416
add ecx, 4
add eax, 4
test dx, dx
jne 0x4353f0
xor eax, eax
jmp 0x43541b
sbb eax, eax
or eax, 1
test eax, eax
je 0x435577
lea ecx, [ebp - 0x6dc]
call fcn.00455500
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 3
call fcn.00439e10
mov ebx, dword [ebp - 0x6a4]
mov eax, dword [ebp - 0x69c]
inc eax
mov dword [ebp - 0x69c], eax
cmp eax, 3
jl 0x435160
mov eax, dword [ebp - 0x6b0]
push 0xffffffffffffffff
push eax
call fcn.00434e50
cmp dword [edi], 0
je 0x43547d
nop dword [eax]
mov edi, dword [edi]
add edi, 0x124
cmp dword [edi], 0
jne 0x435470
push 0x128
call fcn.004d7188
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x6a0], esi
call fcn.0044fd40
push 0x596f64
push 0x5971f4
mov dword [esi + 0x124], 0
push esi
mov dword [edi], esi
call fcn.00450580
add esp, 0xc
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
cmp byte [ebp - 0x13c], 0
jne 0x4354e4
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x4354e4
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x38c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x435510
mov eax, dword [ebp - 0x4a0]
lea ecx, [ebp - 0x49c]
cmp eax, ecx
je 0x435510
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x4b0], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43553c
mov eax, dword [ebp - 0x5c4]
lea ecx, [ebp - 0x5c0]
cmp eax, ecx
je 0x43553c
push eax
call fcn.004e1b56
add esp, 4
xor al, al
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.004d6cfd
mov esp, ebp
pop ebp
ret 0xc
push 0x5c080c
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x6a0], 0x80800000
push eax
call fcn.004da58d
mov eax, dword [ebp - 0x6b0]
test eax, eax
je 0x435589
push 0
push eax
call fcn.00434e50
mov byte [ebp - 0x6b0], 0
mov dword [ebp - 0x6b4], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6c4]
test ecx, ecx
je 0x4356d2
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6a0], str.sgcloud
push eax
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.00457160
test eax, eax
je 0x4356d2
cmp dword [eax + 4], 0
je 0x4356d2
push str.disableprotect
push str.sgcloud
lea ecx, [ebp - 0x6dc]
call fcn.00455c90
test eax, eax
je 0x4356d2
mov edx, str.true
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x435636
test si, si
je 0x435632
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x435636
add ecx, 4
add edx, 4
test si, si
jne 0x435610
xor ecx, ecx
jmp 0x43563b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x43565a
mov ebx, dword [ebp - 0x6a4]
push 0x5da570
mov ecx, dword [ebx + 0x14]
call fcn.0047aa60
test al, al
je 0x4356b5
push 0
jmp 0x4356a8
mov ecx, str.false
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435686
test dx, dx
je 0x435682
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435686
add eax, 4
add ecx, 4
test dx, dx
jne 0x435660
xor eax, eax
jmp 0x43568b
sbb eax, eax
or eax, 1
mov ebx, dword [ebp - 0x6a4]
test eax, eax
jne 0x4356b5
mov ecx, dword [ebx + 0x14]
push 0x5da570
call fcn.0047aa60
test al, al
jne 0x4356b5
push 1
mov ecx, dword [ebx + 0x14]
push 0x5da570
call fcn.0047ab40
push 1
push dword [ebx + 0x14]
lea eax, [ebp - 0x6b4]
push dword [ebx + 0x18]
push eax
call fcn.004cd840
mov ecx, eax
call fcn.004cde90
jmp 0x4356d8
mov ebx, dword [ebp - 0x6a4]
lea ecx, [ebp - 0x6b4]
call fcn.00450c20
mov byte [ebp - 0x6a4], 0
mov dword [ebp - 0x6a8], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x6c4]
test ecx, ecx
je 0x435840
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6a0], str.sgexp
push eax
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.00457160
test eax, eax
je 0x435840
cmp dword [eax + 4], 0
je 0x435840
push str.enpreload
push str.sgexp
lea ecx, [ebp - 0x6dc]
call fcn.00455c90
mov esi, eax
test esi, esi
je 0x435840
mov ecx, dword [ebx + 0x14]
push 0x5d8f38
call fcn.0047aa60
mov byte [ebp - 0x695], al
mov edx, 0x594578
mov ecx, esi
nop dword [eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x4357a6
test di, di
je 0x4357a2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4357a6
add ecx, 4
add edx, 4
test ax, ax
jne 0x435780
xor eax, eax
jmp 0x4357ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4357b3
mov al, 1
jmp 0x4357f1
mov eax, 0x59457c
mov cx, word [esi]
cmp cx, word [eax]
jne 0x4357de
test cx, cx
je 0x4357da
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x4357de
add esi, 4
add eax, 4
test cx, cx
jne 0x4357b8
xor ecx, ecx
jmp 0x4357e3
sbb ecx, ecx
or ecx, 1
movzx eax, byte [ebp - 0x695]
xor edx, edx
test ecx, ecx
cmove eax, edx
mov ecx, dword [ebx + 0x14]
push 0x5d8f38
mov byte [ebp - 0x6b0], al
mov dword [ebp - 0x69c], eax
call fcn.0047aa60
cmp byte [ebp - 0x69c], al
je 0x435840
push dword [ebp - 0x6b0]
mov ecx, dword [ebx + 0x14]
push 0x5d8f38
call fcn.0047ab40
push 1
push dword [ebx + 0x14]
lea eax, [ebp - 0x6a8]
push dword [ebx + 0x18]
push eax
call fcn.004cd840
mov ecx, eax
call fcn.004cde90
lea ecx, [ebp - 0x6a8]
call fcn.00450c20
lea ecx, [ebp - 0x6dc]
call fcn.00455500
lea ecx, [ebp - 0x6f4]
call fcn.00439e10
lea ecx, [ebp - 0x258]
call fcn.00424a60
lea ecx, [ebp - 0x694]
call fcn.00474a10
mov al, 1
jmp 0x43553e