Function at 0x10031060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
call fcn.10030e80
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi], ebx
jne 0x10031212
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x11
jne 0x1003113f
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp dword [0x1016af88], ebx
je 0x100310b0
push edi
push esi
push str.IsForBid_11___s____s_
push str.forwardfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100310b5
sub eax, edx
sar eax, 1
push eax
push str.SelectContactWnd
push esi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x1003110d
push 0x1012d41c
push edi
call fcn.1007d6f5
add esp, 8
test eax, eax
je 0x10031135
push str.WeChat
push edi
call fcn.1007d6f5
add esp, 8
test eax, eax
je 0x10031135
push 0x1012d404
push edi
call fcn.1007d6f5
add esp, 8
test eax, eax
je 0x10031135
push str.Forward_to
push edi
call fcn.1007d6f5
add esp, 8
test eax, eax
je 0x10031135
push 0x1012d3e4
push edi
call fcn.1007d6f5
add esp, 8
test eax, eax
jne 0x1003120e
mov ebx, 1
jmp 0x10031211
cmp edi, 0x21
jne 0x1003123f
cmp dword [ebp + 0x14], ebx
je 0x1003120e
cmp dword [0x1016af88], ebx
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
je 0x1003117a
push ebx
push edi
push str.IsForBid_21___s_
push str.forwardfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031180
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031196
sub eax, edx
sar eax, 1
push eax
push str.SelectForwardConversationWindow
push edi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x1003120e
push esi
push 0x1012d370
push ebx
call fcn.1007f260
add esp, 0xc
test eax, eax
je 0x100311f1
push esi
push str.Select_chat
push ebx
call fcn.1007f260
add esp, 0xc
test eax, eax
je 0x100311f1
push esi
push 0x1012d34c
push ebx
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x1003120e
mov eax, dword [ebp + 0x14]
push 0x10030f70
push 0xc8
push 1
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [ebp - 4]
pop edi
cmp dword [0x1016af88], 0
je 0x10031235
push ebx
push str.IsForBid___d_
push str.forwardfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 0x10000000
je 0x100312ee
cmp edi, 0x22
je 0x100312ee
cmp edi, 0x30
je 0x100312ee
cmp edi, 0x31
je 0x100312ee
cmp edi, 0x18
jne 0x1003120e
mov ecx, dword [ebp + 0xc]
push str.DingSelectUserWnd
push ecx
call fcn.1007d6f5
add esp, 8
test eax, eax
jne 0x1003120e
mov esi, dword [esi + 4]
mov edi, dword [ebp + 0x14]
test esi, esi
je 0x10031291
push edi
call esi
mov esi, eax
jmp 0x10031293
xor esi, esi
cmp dword [0x1016af88], ebx
je 0x100312b6
push esi
push edi
push str.IsForBid_41___08x____d_
push str.forwardfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
test esi, esi
je 0x10031211
push edi
call fcn.10055d50
add esp, 4
push 0
push str.UIMaskWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x100312e4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 1
jmp 0x10031211
mov edx, dword [ebp + 0xc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100312f6
sub eax, esi
sar eax, 1
push eax
push str.TXGuiFoundation
push edx
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x1003120e
mov esi, dword [ebp + 0x10]
cmp dword [0x1016af88], ebx
je 0x10031341
push esi
push str.IsForBid_31___s_
push str.forwardfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031346
sub eax, edx
sar eax, 1
push eax
push 0x1012d298
push esi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x10031388
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031370
sub eax, edx
sar eax, 1
cmp eax, 2
je 0x1003145b
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031390
sub eax, edx
sar eax, 1
push eax
push 0x1012d290
push esi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x100313cf
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100313b7
sub eax, edx
sar eax, 1
cmp eax, 2
je 0x1003145b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100313d4
sub eax, edx
sar eax, 1
push eax
push 0x1012d284
push esi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x10031414
mov eax, esi
lea edx, [eax + 2]
jmp 0x10031400
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031400
sub eax, edx
sar eax, 1
cmp eax, 5
je 0x1003145b
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031420
sub eax, edx
sar eax, 1
push eax
push 0x1012d274
push esi
call fcn.1007f260
add esp, 0xc
test eax, eax
jne 0x1003147a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10031447
sub eax, edx
sar eax, 1
cmp eax, 6
jne 0x1003147a
mov edx, dword [ebp + 0x14]
push 0x10030f70
push 0x1f4
mov ebx, 1
push ebx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x10031211
cmp edi, 0x22
je 0x1003148d
cmp edi, 0x30
je 0x1003148d
cmp edi, 0x31
jne 0x1003120e
push 0x1012d268
push esi
call fcn.1007dcd6
add esp, 8
test eax, eax
je 0x1003120e
mov ecx, esi
lea edi, [ecx + 2]
jmp 0x100314b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100314b0
sub ecx, edi
sar ecx, 1
lea ecx, [esi + ecx*2]
add eax, 0xa
cmp eax, ecx
jne 0x1003120e
mov edx, dword [ebp + 0x14]
push 0x10030f70
push 0x1f4
mov ebx, 1
push ebx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x10031211