Function at 0x47bea0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ab59a
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x5fcd20
mov dword [esp + 0x44], esi
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea edi, [esp + 0x3c]
mov dword [esp + 0xf8], ebx
call fcn.00474ab0
mov byte [esp + 0xf8], 1
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x47bf44
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x47c036
cmp ecx, eax
jg 0x47c036
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x47bf44
push 0x5c
call fcn.00404400
push 0x17fd9d0c
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov ebx, 4
call fcn.00408340
call fcn.0047d980
xor eax, eax
or ebp, 0xffffffff
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str.QQPinyin.dat
mov byte [esp + 0x100], 2
call fcn.00412480
mov eax, dword [eax]
add esp, 8
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebp
jne 0x47c040
call fcn.004129d0
mov edi, eax
cmp edi, ebx
jl 0x47bff1
mov eax, esi
lea ecx, [esp + 0x6c]
call fcn.004d08f0
cmp esi, ebx
mov edi, eax
je 0x47bff1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jge 0x47c044
lea esi, [esp + 0x84]
call fcn.004d04e0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004d04e0
jmp 0x47c2a3
push 0x80070057
call fcn.00404550
mov esi, eax
jmp 0x47bfd9
lea ecx, [esp + 0x38]
push ecx
lea eax, [esp + 0x70]
call fcn.004d05c0
mov esi, dword [esp + 0x38]
push 6
push str.Time:
push esi
call fcn.0057c5c6
add esp, 0xc
test eax, eax
jne 0x47c11c
xor edi, edi
add esi, 0xc
push esi
call fcn.0057969d
mov dword [esp + edi*4 + 0x4c], eax
movzx eax, word [esi]
add esp, 4
add edi, 1
cmp ax, 0x30
jb 0x47c0a3
lea esp, [esp]
cmp ax, 0x39
ja 0x47c0a3
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x30
jae 0x47c090
cmp word [esi], bx
je 0x47c0b5
add esi, 2
cmp word [esi], bx
je 0x47c0b5
cmp edi, 6
jb 0x47c073
cmp edi, 6
jne 0x47c11c
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x68]
call fcn.00418070
push eax
lea edx, [esp + 0xac]
push edx
call fcn.0057a8de
add esp, 8
test eax, eax
je 0x47c0f7
xor eax, eax
jmp 0x47c10d
mov ecx, 9
lea esi, [esp + 0xa8]
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x48]
push eax
call fcn.0057c84d
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47c13e
lea esi, [esp + 0x84]
call fcn.004d04e0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004d04e0
jmp 0x47c2a3
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x70]
call fcn.004d05c0
lea ecx, [esp + 0x38]
push ecx
lea eax, [esp + 0x70]
call fcn.004d05c0
mov esi, dword [esp + 0x38]
xor edi, edi
cmp dword [esi - 0xc], edi
jl 0x47c1e9
push str.Version:
push esi
call fcn.0057880c
add esp, 8
cmp eax, edi
je 0x47c1e9
sub eax, esi
sar eax, 1
cmp eax, ebp
je 0x47c1e9
lea ecx, [eax + 9]
lea esi, [esp + 0x20]
lea edx, [esp + 0x38]
call fcn.00403540
mov eax, dword [eax]
push 0x2e
push eax
xor esi, esi
call fcn.00578331
add esp, 8
cmp eax, edi
je 0x47c1c6
add eax, 2
push 0x2e
push eax
call fcn.00578331
add esp, 8
cmp eax, edi
je 0x47c1c6
add eax, 2
push eax
call fcn.0057969d
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c1e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
jne 0x47c20b
lea esi, [esp + 0x84]
call fcn.004d04e0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call fcn.004d04e0
jmp 0x47c2a1
push edi
push ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xbf
call fcn.0047b780
push edi
push esi
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xc0
call fcn.0047b780
mov esi, dword [esp + 0x84]
mov ebp, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
cmp esi, edi
je 0x47c254
push esi
call ebp
test eax, eax
jne 0x47c252
call fcn.004129d0
mov ebx, eax
xor esi, esi
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x47c275
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47c273
test ebx, ebx
jl 0x47c273
call fcn.004129d0
xor edi, edi
xor ebx, ebx
test esi, esi
je 0x47c289
push esi
call ebp
test eax, eax
jne 0x47c289
call fcn.004129d0
mov ebx, eax
test edi, edi
je 0x47c2a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47c2a1
test ebx, ebx
jl 0x47c2a1
call fcn.004129d0
xor ebx, ebx
mov ebp, 0xa
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebx
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0xfc], 3
call fcn.00402a80
push 1
push ebx
xor edx, edx
xor ecx, ecx
lea esi, [esp + 0xb0]
mov byte [esp + 0x100], 4
call fcn.004026f0
mov dword [esp + 0x2c], eax
mov edx, esi
push edx
mov byte [esp + 0xfc], 5
call fcn.004031a0
mov edi, esi
call fcn.00408ad0
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x47c331
push eax
call fcn.0057876f
add esp, 4
mov eax, dword [esp + 0x2c]
push ebx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xc1
call fcn.0047b780
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
push ebx
mov byte [esp + 0xfc], 6
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x47c38a
lea ecx, [esp + 0x48]
push ecx
call fcn.00436790
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x47c3c0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x47c3b6
mov ecx, eax
mov ecx, dword [ecx + 8]
cmp ecx, edx
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
jne 0x47c3c4
cmp eax, ebx
jne 0x47c396
jmp 0x47c3c4
push 0x80004005
call fcn.00404550
mov ecx, dword [esp + 0x18]
push ebx
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0xc2
call fcn.0047b780
mov dword [esp + 0x24], vtable.CSeqIDGenerator.0
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0xfc], 7
call fcn.0044e010
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0xfc], 6
call fcn.0044f0a0
test al, al
jne 0x47c456
lea ecx, [esp + 0xcc]
push ecx
call fcn.0044f130
test al, al
jne 0x47c456
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov eax, dword [0x60325c]
mov ecx, dword [esp + 0xdc]
mov dword [eax], ecx
mov edx, dword [esp + 0xe0]
mov eax, dword [0x60325c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xe4]
mov edx, dword [0x60325c]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0xe8]
mov ecx, dword [0x60325c]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0xcc]
mov eax, dword [0x603258]
mov dword [eax], edx
mov ecx, dword [esp + 0xd0]
mov edx, dword [0x603258]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xd4]
mov ecx, dword [0x603258]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xd8]
mov eax, dword [0x603258]
xor ebp, ebp
mov dword [eax + 0xc], edx
mov dword [esp + 0x30], ebp
lea edi, [esp + 0x1c]
mov byte [esp + 0xf8], 8
call fcn.00474ab0
mov byte [esp + 0xf8], 9
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx - 0xc]
cmp edi, ebx
jle 0x47c558
lea eax, [edi - 1]
cmp eax, ebx
jl 0x47c036
cmp eax, edi
jg 0x47c036
movzx eax, word [ecx + eax*2]
cmp ax, 0x5c
je 0x47c558
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x47c53a
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.00403d50
mov ecx, dword [esp + 0x1c]
cmp esi, ebx
mov word [ecx + edi*2], 0x5c
jl 0x47c036
cmp esi, dword [ecx - 8]
jg 0x47c036
mov dword [ecx - 0xc], esi
mov word [ecx + esi*2], bx
push 3
push 0x5c0060
lea ecx, [esp + 0x24]
push ecx
call fcn.00403fc0
mov edi, dword [esp + 0x1c]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x47c6ff
call fcn.004129d0
cmp eax, ebx
jl 0x47c5fb
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea edx, [esp + 0x28]
push edx
push 0x10
lea eax, [esp + 0xe8]
push eax
push ebp
call esi
cmp eax, ebx
jne 0x47c5b8
call fcn.004129d0
push ebx
lea ecx, [esp + 0x28]
push ecx
push 4
lea edx, [esp + 0x38]
push edx
push ebp
call esi
cmp eax, ebx
jne 0x47c5d1
call fcn.004129d0
push ebx
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push ebp
call esi
cmp eax, ebx
jne 0x47c5ea
call fcn.004129d0
cmp ebp, ebx
je 0x47c5fb
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov dword [esp + 0x30], ebp
lea eax, [edi - 0x10]
mov byte [esp + 0xf8], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c61f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x47c62a
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x48]
mov byte [esp + 0xf8], 1
call fcn.004d2a90
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
mov dword [esp + 0x40], ebx
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea esi, [esp + 0x20]
call fcn.00403f60
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x30]
push ecx
push 0x20019
push ebx
push str.SOFTWARETencentQQPinyin
mov byte [esp + 0x108], 0xb
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x47cb01
mov edx, dword [esp + 0x30]
mov eax, dword [0x5fcd20]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0xf8], 0xc
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x22
or eax, ecx
mov dword [esp + 0x1c], 0x20
jge 0x47c6e4
mov ecx, 0x22
lea eax, [esp + 0x18]
call fcn.00403d50
mov esi, dword [esp + 0x18]
push str.Version
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x24]
call fcn.0041adb0
cmp esi, ebx
jne 0x47c70a
xor eax, eax
jmp 0x47c725
mov ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x47c596
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c710
sub eax, edx
sar eax, 1
js 0x47c036
cmp eax, dword [esi - 8]
jg 0x47c036
push 0x2e
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], bx
xor ebp, ebp
call fcn.00578331
add esp, 8
cmp eax, ebx
je 0x47c766
add eax, 2
push 0x2e
push eax
call fcn.00578331
add esp, 8
cmp eax, ebx
je 0x47c766
add eax, 2
push eax
call fcn.0057969d
add esp, 4
mov ebp, eax
push 0x5bcc3c
xor ebx, ebx
lea eax, [esp + 0x1c]
call fcn.00404050
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x22
or eax, ecx
mov dword [esp + 0x1c], 0x20
jge 0x47c7a4
lea ecx, [ebx + 0x22]
lea eax, [esp + 0x18]
call fcn.00403d50
mov esi, dword [esp + 0x18]
push 0x5c06fc
lea ecx, [esp + 0x30]
push ecx
lea edi, [esp + 0x24]
call fcn.0041adb0
test esi, esi
jne 0x47c7bf
xor eax, eax
jmp 0x47c7d9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c7c4
sub eax, edx
sar eax, 1
js 0x47c036
cmp eax, dword [esi - 8]
jg 0x47c036
push 0x2e
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
xor edi, edi
call fcn.00578331
add esp, 8
test eax, eax
je 0x47c81c
add eax, 2
push 0x2e
push eax
call fcn.00578331
add esp, 8
test eax, eax
je 0x47c81c
add eax, 2
push eax
call fcn.0057969d
add esp, 4
mov edi, eax
push 0
push ebp
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0xc5
call fcn.0047b780
push 0
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0xc6
call fcn.0047b780
push 0x5bcc3c
xor ebx, ebx
lea eax, [esp + 0x1c]
call fcn.00404050
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x22
or eax, ecx
mov dword [esp + 0x1c], 0x20
jge 0x47c882
lea ecx, [ebx + 0x22]
lea eax, [esp + 0x18]
call fcn.00403d50
mov esi, dword [esp + 0x18]
push str.supply
lea edx, [esp + 0x30]
push edx
lea edi, [esp + 0x24]
call fcn.0041adb0
test esi, esi
mov edi, eax
jne 0x47c89f
xor eax, eax
jmp 0x47c8b9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c8a4
sub eax, edx
sar eax, 1
js 0x47c036
cmp eax, dword [esi - 8]
jg 0x47c036
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x18]
push eax
call fcn.0047e5c0
test edi, edi
jne 0x47c8e8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005796ae
add esp, 4
jmp 0x47c8eb
or eax, 0xffffffff
cdq
push edx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0xd7
call fcn.0047b780
push 0x5bcc3c
xor ebx, ebx
lea eax, [esp + 0x1c]
call fcn.00404050
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x102
or eax, ecx
mov dword [esp + 0x1c], 0x100
jge 0x47c941
mov ecx, 0x102
lea eax, [esp + 0x18]
call fcn.00403d50
mov esi, dword [esp + 0x18]
push str.InstallPackName
lea edx, [esp + 0x30]
push edx
lea edi, [esp + 0x24]
call fcn.0041adb0
test esi, esi
jne 0x47c95c
xor ecx, ecx
jmp 0x47c976
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x47c961
sub ecx, edi
sar ecx, 1
js 0x47c036
cmp ecx, dword [esi - 8]
jg 0x47c036
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x47c992
lea eax, [esp + 0x18]
jmp 0x47c9b1
lea eax, [esp + 0x24]
push eax
mov ecx, str.unknown
call fcn.00404460
mov byte [esp + 0xf8], 0xd
mov dword [esp + 0x34], 1
mov ebp, dword [eax]
test ebp, ebp
jne 0x47c9bb
xor edi, edi
jmp 0x47ca10
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.0057740a
add esp, 4
push esi
mov edi, eax
push 0
push edi
call fcn.00580260
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebx
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0x3a8
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0xf8], 0xc
test byte [esp + 0x34], 1
je 0x47ca42
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ca42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x32
call fcn.0057740a
add esp, 4
test edi, edi
mov esi, eax
jne 0x47ca5d
push 0x32
push edi
push esi
call fcn.00580260
jmp 0x47ca91
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x47ca62
push 0x32
sub eax, edx
push 0
push esi
mov ebx, eax
call fcn.00580260
lea ecx, [ebx + 1]
add esp, 0xc
cmp ecx, 0x32
jle 0x47ca89
mov ebx, 0x31
push ebx
push edi
push esi
call fcn.0057e7b0
mov edx, dword [0x6032ac]
add esp, 0xc
push 0x30
push esi
push edx
call fcn.0057e7b0
add esp, 0xc
test edi, edi
je 0x47cab3
push edi
call fcn.0057832c
add esp, 4
test esi, esi
je 0x47cac0
push esi
call fcn.0057832c
add esp, 4
mov byte [esp + 0xf8], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47caff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], 0
xor ebx, ebx
lea ecx, [esp + 0x34]
push ecx
push 0x2001f
push ebx
push str.SOFTWARETencentQQPinyin
push closesocket
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x47cc87
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x47cb39
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x34]
mov ebp, esi
jne 0x47cc8b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.StatTime
push esi
mov dword [esp + 0x3c], 4
call edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.lastupdatetime
push esi
mov dword [esp + 0x3c], 4
call edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.ImeSyncTime
push esi
mov dword [esp + 0x3c], 4
call edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.LastSync
push esi
mov dword [esp + 0x3c], 4
call edi
mov edx, dword [esp + 0x34]
push ebx
push edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0xc9
call fcn.0047b780
mov eax, dword [esp + 0x30]
push ebx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0xca
call fcn.0047b780
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0xcb
call fcn.0047b780
mov edx, dword [esp + 0x2c]
push ebx
push edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0xcc
call fcn.0047b780
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.StatPostTimes
push esi
mov dword [esp + 0x3c], 4
call edi
mov dword [esp + 0x24], 0xcf
mov eax, dword [esp + 0x40]
push ebx
push eax
lea eax, [esp + 0x2c]
call fcn.0047b780
mov eax, dword [esp + 0x40]
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push ebx
add eax, 1
push str.StatPostTimes
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x47cc8b
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
mov byte [esp + 0xf8], 0xa
je 0x47cc9e
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0xc7
call fcn.0047d6c0
push ebx
push eax
lea eax, [esp + 0x2c]
call fcn.0047b780
mov edx, dword [esp + 0x44]
push edx
call fcn.0047bbb0
add esp, 4
push ebx
push 1
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0xc8
call fcn.0047b6b0
mov byte [esp + 0xf8], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ccff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cd26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf8], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cd51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.005787fd
add esp, 0xe8
ret