Function at 0x405cb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21c0
call fcn.0048d860
mov eax, dword [0x4f3168]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00413ef0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2138]
mov dword [0x4f4728], eax
call fcn.00418dc0
push str.Tencent_StrokesHelper_Client_Mutex_EDC844B7_47EC_4469_9D0D_CB281A69046B
lea ecx, [ebp - 0x2138]
call fcn.00418e20
test eax, eax
je 0x405d81
push str.Tencent_StrokesHelper_WND_EDC844B7_47EC_4469_9D0D_CB281A69046B
lea ecx, [ebp - 0x2138]
call fcn.00418ea0
mov edi, eax
push edi
call dword [0x4b42e4]
test eax, eax
je 0x405d64
push edi
call dword [0x4b42e8]
test eax, eax
je 0x405d54
xor esi, esi
call dword [0x4b42f0]
push 9
test edi, edi
push edi
cmovne esi, eax
call dword [0x4b42dc]
test esi, esi
je 0x405d7a
push esi
call dword [0x4b42d8]
test eax, eax
je 0x405d7a
push esi
call dword [0x4b42f4]
xor edi, edi
jmp 0x406241
push 4
push edi
call dword [0x4b42dc]
xor edi, edi
jmp 0x406241
mov esi, dword [ebp + 0x14]
push esi
push edi
call dword [0x4b42dc]
test esi, esi
je 0x405d7a
push edi
call dword [0x4b42f4]
xor edi, edi
jmp 0x406241
call dword [0x4b4268]
push eax
lea ecx, [ebp - 0x2120]
call fcn.00401930
lea ecx, [ebp - 0x2120]
call fcn.00405220
lea eax, [ebp - 0x2180]
push eax
lea eax, [ebp - 0x2120]
push eax
mov dword [ebp - 0x2180], 0
mov dword [ebp - 0x217c], 0
mov dword [ebp - 0x2178], 0x11
mov dword [ebp - 0x2160], 0
mov dword [ebp - 0x215c], 0xa
mov dword [ebp - 0x2158], 0
mov dword [ebp - 0x2154], 0
mov dword [ebp - 0x2174], 0x3f400000
mov dword [ebp - 0x2170], 0x3e800000
mov dword [ebp - 0x216c], 0x40100000
mov dword [ebp - 0x2168], 0x26
mov dword [ebp - 0x2164], 0
call fcn.00405410
add esp, 8
call dword [0x4b404c]
lea ecx, [ebp - 0x2190]
call fcn.00418bb0
push 1
lea ecx, [ebp - 0x2190]
call fcn.00418c60
call fcn.00451a30
test al, al
je 0x405e6b
push 0
call fcn.00455d10
mov ecx, eax
call fcn.00455ce0
mov dword [eax + 0xcec], 1
push ebx
call fcn.004192e0
mov ecx, 0x4f72c8
call fcn.00464df0
mov ecx, 0x4f46d0
call fcn.00403a00
mov ecx, 0x4f73b8
call fcn.00467ec0
lea ecx, [ebp - 0x210c]
call fcn.00408ad0
push 0
push 0
lea ecx, [ebp - 0x210c]
call fcn.00404e70
push str.Tencent_StrokesHelper_WND_EDC844B7_47EC_4469_9D0D_CB281A69046B
push dword [ebp - 0x2108]
lea ecx, [ebp - 0x2138]
call fcn.00418f10
lea ecx, [ebp - 0x21c0]
call fcn.00414b90
push 0
lea ecx, [ebp - 0x21c0]
call fcn.00414cd0
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x21c0]
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call fcn.00414c50
mov eax, dword [0x4b48ac]
mov ebx, dword [0x4b48a8]
mov dword [ebp - 0x211c], eax
lea eax, [ebp - 0x2118]
push eax
xorps xmm0, xmm0
push str.StrokeHelperPosX
push str.SOFTWARETencentQQPinyin
movq qword [ebp - 0x2144], xmm0
mov dword [ebp - 0x213c], 0
mov dword [ebp - 0x2118], 0
mov dword [ebp - 0x2114], 0
mov dword [ebp - 0x2130], ebx
call fcn.004171a0
add esp, 0xc
test eax, eax
je 0x4060fd
lea eax, [ebp - 0x2114]
push eax
push str.StrokeHelperPosY
push str.SOFTWARETencentQQPinyin
call fcn.004171a0
add esp, 0xc
test eax, eax
je 0x4060fd
movq xmm0, qword [ebp - 0x14]
mov edi, dword [ebp - 0x2118]
mov esi, dword [ebp - 0x2114]
lea edx, [ebx + edi]
mov dword [ebp - 0x2140], edx
lea eax, [esi + 0x24]
cmp esi, eax
mov dword [ebp - 0x213c], eax
movq qword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0xc]
mov dword [ebp - 0x2144], esi
mov dword [ebp - 0x2148], edi
movq qword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x2148]
movq qword [ebp - 0x24], xmm0
movq xmm0, qword [ebp - 0x2140]
mov ecx, dword [ebp - 0x20]
movq qword [ebp - 0x1c], xmm0
mov ebx, dword [ebp - 0x18]
cmovg ebx, ecx
mov eax, dword [ebp - 0x18]
cmp edi, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2110], ebx
mov ebx, dword [ebp - 0x1c]
mov esi, ebx
cmovl ebx, dword [ebp - 0x24]
cmovg esi, dword [ebp - 0x24]
cmp ecx, eax
cmovl eax, ecx
cmp dword [ebp - 0x10], edx
mov dword [ebp - 0x2128], eax
mov eax, dword [ebp - 0x14]
mov ecx, edx
cmovg ecx, dword [ebp - 0x10]
mov dword [ebp - 0x214c], ecx
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
mov edi, ecx
cmovl edi, eax
mov dword [ebp - 0x2124], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x28]
cmovg ebx, eax
cmp dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x2124]
cmovl ecx, dword [ebp - 0x30]
sub eax, ebx
cdq
mov dword [ebp - 0x212c], ecx
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov eax, edi
sub eax, esi
cdq
mov dword [ebp - 0x2150], esi
mov esi, eax
xor esi, edx
sub esi, edx
cmp ecx, esi
cmovg esi, ecx
sub ebx, edi
mov edi, dword [ebp - 0x214c]
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [ebp - 0x2150]
sub eax, dword [ebp - 0x2124]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [ebp - 0x2128]
xor ebx, ebx
cmp ecx, esi
setg bl
sub eax, edi
cdq
mov esi, dword [ebp - 0x2110]
mov ecx, eax
mov eax, dword [ebp - 0x212c]
xor ecx, edx
sub eax, esi
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
cmovg eax, ecx
mov dword [ebp - 0x2110], eax
test ebx, ebx
je 0x4060e5
sub edi, dword [ebp - 0x212c]
sub esi, dword [ebp - 0x2128]
mov eax, edi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov eax, esi
cdq
xor eax, edx
sub eax, edx
add ecx, eax
cmp ecx, dword [ebp - 0x2110]
jg 0x40610f
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x2130]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x211c]
sub eax, ebx
sub ecx, edx
jmp 0x406127
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x211c]
sub eax, ebx
sub ecx, edx
jmp 0x406127
mov eax, dword [ebp - 0x2118]
mov ecx, dword [ebp - 0x2114]
mov ebx, dword [ebp - 0x2130]
mov edx, dword [ebp - 0x211c]
push 1
push edx
push ebx
push ecx
push eax
push dword [ebp - 0x2108]
call dword [0x4b42e0]
lea ecx, [ebp - 0x210c]
call fcn.0040d6a0
push 4
push dword [ebp - 0x2108]
call dword [0x4b42dc]
push 0
push 1
push 0x107
lea ecx, [ebp - 0x2110]
call fcn.00418f30
mov ecx, eax
call fcn.00419250
mov esi, dword [0x4b430c]
push 0
push 0
push 0
lea eax, [ebp - 0x21ac]
push eax
call esi
test eax, eax
je 0x4061c0
mov edi, dword [0x4b4308]
mov ebx, dword [0x4b42ec]
cmp dword [ebp - 0x21a8], 0x12
je 0x4061c0
lea eax, [ebp - 0x21ac]
push eax
call edi
lea eax, [ebp - 0x21ac]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x21ac]
push eax
call esi
test eax, eax
jne 0x406192
mov ecx, 0x4f46d0
call fcn.00404250
mov ecx, 0x4f73b8
call fcn.004684f0
mov ecx, 0x4f72c8
call fcn.00466d90
call fcn.00419d90
mov edi, dword [ebp - 0x21a4]
lea ecx, [ebp - 0x21c0]
call fcn.00414bc0
lea ecx, [ebp - 0x210c]
call fcn.00409050
lea ecx, [ebp - 0x2190]
call fcn.00418d90
lea ecx, [ebp - 0x2190]
call fcn.00418bd0
lea ecx, [ebp - 0x2180]
call fcn.00404d90
mov esi, dword [ebp - 0x2120]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
pop ebx
test ecx, ecx
jg 0x406241
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x2138]
call fcn.00418dd0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0048caf4
mov esp, ebp
pop ebp
ret 0x10