Function at 0x41e970
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4be8a2
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x6d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x6ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6fc]
mov edi, ecx
lea ecx, [esp + 0x494]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
call fcn.00448930
lea ecx, [esp + 0x5b8]
call fcn.00448930
xor ebx, ebx
mov eax, str.http:__ime.sogou.com_version.txt
lea edx, [esp + 0x5b8]
mov dword [esp + 0x6dc], ebx
mov byte [esp + 0x6e0], bl
call fcn.00448b50
push 0x4d5a68
lea ecx, [esp + 0x3d0]
push 0x64
push ecx
call fcn.00498b64
add esp, 0xc
push edi
lea ecx, [esp + 0x3d0]
mov dword [esp + 0x6f8], ebx
call fcn.0041c310
lea edx, [esp + 0x180]
push edx
call fcn.00408080
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
mov byte [esp + 0x6f8], 1
call fcn.00413390
mov byte [esp + 0x6f4], 2
cmp byte [eax + 0x11c], bl
je 0x41ea56
add eax, 0xc
jmp 0x41ea59
mov eax, dword [eax + 8]
add eax, 4
push eax
lea ebp, [edi + 8]
push str._sSogouPinyin.ini
mov edx, ebp
call fcn.00407a00
add esp, 8
mov esi, vtable.t_str.0
mov dword [esp + 0x5c], esi
cmp byte [esp + 0x178], bl
jne 0x41ea96
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
je 0x41ea96
push eax
call fcn.00498f5b
add esp, 4
mov byte [esp + 0x6f4], bl
mov dword [esp + 0x180], esi
cmp byte [esp + 0x29c], bl
jne 0x41eac8
mov eax, dword [esp + 0x188]
lea ecx, [esp + 0x18c]
cmp eax, ecx
je 0x41eac8
push eax
call fcn.00498f5b
add esp, 4
mov edx, dword [edi + 0x10]
cmp dword [edx], ebx
je 0x41eae6
push 0x4eb2dc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x80800000
call fcn.004a1a26
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x1c], ebx
call fcn.00448930
lea ecx, [esp + 0x3cc]
push ecx
lea edi, [esp + 0x2a8]
mov byte [esp + 0x6f8], 3
call fcn.0045c890
mov eax, dword [ebp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x24]
call fcn.00420340
mov byte [esp + 0x6f4], 4
mov eax, dword [ebp]
lea ecx, [esp + 0x2b0]
cmp byte [esp + 0x3c0], bl
jne 0x41eb57
mov ecx, dword [esp + 0x2ac]
push eax
lea edx, [esp + 0x28]
lea edi, [ecx + 4]
push edx
lea ecx, [esp + 0x24]
call fcn.00420960
test al, al
jne 0x41ebcb
mov eax, dword [esi + 0x10]
cmp dword [eax], ebx
jne 0x41eda4
mov byte [esp + 0x6f4], 3
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x41eb91
call fcn.00420ac0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41ed45
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ed45
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
jmp 0x41ed45
mov dword [esp + 0x40], fcn.00499078
mov dword [esp + 0x44], fcn.0049b4da
mov dword [esp + 0x48], fcn.00498f5b
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x8000
mov dword [esp + 0x3c], vtable.t_heap.0
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x6f4], 5
mov eax, dword [ebp]
push 0x3a8
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.0044fc90
test al, al
jne 0x41ecae
mov byte [esp + 0x6f4], 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x41ec57
mov edi, edi
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x50], ecx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, ebx
jne 0x41ec40
mov byte [esp + 0x6f4], 3
mov esi, dword [esp + 0x38]
mov dword [esp + 0x4c], ebx
cmp esi, ebx
je 0x41ec74
call fcn.00420ac0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x24]
lea edx, [eax - 0xc]
cmp edx, 0x4f9f74
je 0x41ed45
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ed45
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
jmp 0x41ed45
lea ecx, [esp + 0x3c]
call fcn.00450890
cmp dword [eax + 4], ebx
jne 0x41ecd2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6f4], 4
call fcn.0043f0d0
jmp 0x41eb78
push 0x4dd8c4
mov ecx, 0x4dd8c4
lea eax, [esp + 0x40]
call fcn.0044fa50
cmp eax, ebx
je 0x41ed23
mov ecx, eax
mov eax, 0x4dd8cc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ed16
cmp dx, bx
je 0x41ed12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ed16
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41ecf0
xor eax, eax
jmp 0x41ed1b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x41edbb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6f4], 4
call fcn.0043f0d0
lea edi, [esp + 0x24]
mov byte [esp + 0x6f4], 3
call fcn.00415770
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x41eb25
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call fcn.0041e870
mov esi, dword [esp + 0x18]
mov edx, esi
cmp dword [edx], ebx
je 0x41ed7c
lea ecx, [ecx]
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], ebx
jne 0x41ed70
push 0x128
call fcn.00498bee
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41ee0d
mov ecx, edi
call fcn.00448930
mov dword [edi + 0x124], ebx
mov edx, edi
jmp 0x41ee0f
push 0x4eb2dc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x80800000
call fcn.004a1a26
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41edca
push ebx
push eax
call fcn.0041e870
push esi
lea ecx, [esp + 0x40]
call fcn.0041fce0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6f4], 4
call fcn.0043f0d0
lea edi, [esp + 0x24]
call fcn.00415770
lea ecx, [esp + 0x2a4]
call fcn.004444f0
lea eax, [esp + 0x3cc]
call fcn.0045c820
mov al, 1
jmp 0x41eeab
xor edx, edx
push 0x4dd8d0
push 0x4d65ac
mov dword [esi], edx
call fcn.00448ff0
add esp, 8
mov esi, vtable.t_str.0
mov dword [esp + 0x2a4], esi
cmp byte [esp + 0x3c0], bl
jne 0x41ee53
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x2b0]
cmp eax, ecx
je 0x41ee53
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x5b8], esi
cmp byte [esp + 0x6d4], bl
jne 0x41ee7e
mov eax, dword [esp + 0x5c0]
lea edx, [esp + 0x5c4]
cmp eax, edx
je 0x41ee7e
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x494], esi
cmp byte [esp + 0x5b0], bl
jne 0x41eea9
mov eax, dword [esp + 0x49c]
lea ecx, [esp + 0x4a0]
cmp eax, ecx
je 0x41eea9
push eax
call fcn.00498f5b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x6ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00497c58
add esp, 0x6e4
ret 4