Function at 0x100319a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10102220
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1017542c]
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 esi, ecx
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x68]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100195d0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10031a20
mov eax, dword [ecx]
jmp 0x10031a22
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100195d0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea edx, [esi + 0x28c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10031a59
mov eax, dword [ecx]
jmp 0x10031a5b
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.100195d0
mov byte [ebp - 4], 0
call sym.UserAndPayClient.dll_public:_static_int___cdecl_Talk2Svr::CTalk2Svr::signout_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____int__
add esp, 0x38
cmp eax, 0xc8
jne 0x10031b4a
mov eax, dword [esi + 0x2c4]
mov word [esi + 0x2f8], 0
mov byte [esi + 0x2f4], 0
mov byte [esi + 0x2f7], 0
test eax, eax
je 0x10031aa9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x124
push 0
push esi
call fcn.100bf4c0
add esp, 0xc
cmp byte [ebp + 0x10], 0
jne 0x10031b46
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x10127298
call fcn.10019280
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1012740c
call fcn.10019280
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.viptype
call fcn.10019280
mov ecx, esi
mov byte [ebp - 4], 0
call sym.UserAndPayClient.dll_public:_void___thiscall_Talk2Svr::CTalk2Svr::WriteValuetoIni_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
cmp dword [esi + 0x340], 0x10
lea eax, [esi + 0x32c]
jb 0x10031b1a
mov eax, dword [eax]
push eax
push 0
push 0
push str.Qrcode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0
push 0x5f4
push dword [esi + 0x2e4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call sym.UserAndPayClient.dll_public:_void___thiscall_Talk2Svr::CTalk2Svr::WriteUserMsgTpIni_void_
mov bl, 1
jmp 0x10031b56
test edi, edi
je 0x10031b54
mov dword [edi], 0
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10031b6b
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10019fa0
mov al, bl
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.100c1de9
mov esp, ebp
pop ebp
ret 0xc