Function at 0x10047340
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122d10
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 0x68
push eax
lea ecx, [ebp - 0x28]
call fcn.10022e50
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x28]
push eax
call fcn.10022e50
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
add edx, 0x388
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call fcn.10022e50
mov dword [ebp - 0x54], eax
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
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xc8
jne 0x100474ff
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3f5], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3f0], 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x3f4], 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3f3], 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x3c0], 0
je 0x1004742a
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x130
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100e0f10
add esp, 0xc
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x100474e7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1015126c
call fcn.10022760
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x10151270
call fcn.10022760
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x10151274
call fcn.10022760
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
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___
mov ecx, dword [ebp - 0x2c]
add ecx, 0x428
call fcn.100237b0
push eax
push 0
push 0
push str.Qrcode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0
push 0x5f4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x3e0]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public:_void___thiscall_Talk2Svr::CTalk2Svr::WriteUserMsgTpIni_void_
mov byte [ebp - 0x2d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10023b10
mov al, byte [ebp - 0x2d]
jmp 0x10047523
cmp dword [ebp + 0xc], 0
je 0x1004750d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov byte [ebp - 0x2e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10023b10
mov al, byte [ebp - 0x2e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 0xc