Function at 0x4250b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8db0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7d0
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
push 1
mov dword [ebp - 0x7b8], eax
call fcn.004b2e2b
add esp, 4
mov dword [ebp - 0x788], 0
lea eax, [ebp - 0x782]
mov word [ebp - 0x57a], 0
push str.LocalSogouKaomojiWndEvent
push 0x104
push eax
call fcn.004b3332
add esp, 0xc
lea ecx, [ebp - 0x788]
call fcn.00468f00
cmp byte [ebp - 0x784], 0
je 0x425176
push 0x552024
push str.CherryWindowClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4259f6
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4259f6
lea eax, [ebp - 0x7c0]
mov byte [ebp - 0x7bc], 0
push eax
mov dword [ebp - 0x7c0], 0
call fcn.00466680
mov ecx, eax
call fcn.004652d0
mov eax, dword [0x58f1e0]
test al, 1
jne 0x4251cc
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
test esi, esi
je 0x4253a4
lea eax, [ebp - 0x7b4]
mov dword [ebp - 0x7b0], fcn.004b12a2
push eax
mov dword [ebp - 0x7ac], fcn.004b2dab
mov dword [ebp - 0x7a8], fcn.004ac7ec
mov dword [ebp - 0x7a4], 0
mov dword [ebp - 0x7a0], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x79c], 0
mov byte [ebp - 0x798], 0
call fcn.0042ba30
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425232
sub ecx, edx
sar ecx, 1
jne 0x4252b4
push str.launch_from_double_clk
push ecx
lea ecx, [ebp - 0x7b4]
xor esi, esi
call fcn.0046b270
mov edx, eax
test edx, edx
je 0x42527d
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425261
sub ecx, edi
sar ecx, 1
je 0x42527d
push edx
call fcn.004b2adb
add esp, 4
mov esi, eax
push 0xa
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [esi + 1]
push eax
call fcn.004b80bc
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push str.launch_from_double_clk
push ecx
lea ecx, [ebp - 0x7b4]
call fcn.0046b340
jmp case.0x425328.4
push str.__fromTool
push esi
call fcn.004b2ecb
add esp, 8
test eax, eax
jne 0x4252cd
push str.launch_from_tool
jmp 0x425342
push str.__fromCenter
push esi
call fcn.004b2ecb
add esp, 8
test eax, eax
je case.0x425328.4
push str.__fromShortCut
push esi
call fcn.004b2ecb
add esp, 8
test eax, eax
je case.0x425328.4
push 0x20
push esi
call fcn.004a550b
add esp, 8
test eax, eax
je case.0x425328.4
movzx eax, word [eax + 2]
test ax, ax
je case.0x425328.4
mov dword [ebp - 0x790], eax
lea eax, [ebp - 0x790]
push eax
call fcn.004b2adb
add esp, 4
test eax, eax
je case.0x425328.4
dec eax
cmp eax, 4
ja case.0x425328.4
jmp dword [eax*4 + 0x425a34]
push str.launch_from_six
jmp 0x425342
push str.launch_from_short_cut
jmp 0x425342
push str.launch_from_menu
lea eax, [ebp - 0x7b4]
mov ecx, 0x58f1d8
push eax
call fcn.0042c040
lea eax, [ebp - 0x7b4]
push eax
call fcn.0042bd70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7a4]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test ecx, ecx
je 0x42539d
nop word [eax + eax]
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x7a4], eax
call dword [ebp - 0x7a8]
mov ecx, dword [ebp - 0x7a4]
add esp, 4
test ecx, ecx
jne 0x425380
mov dword [ebp - 4], 0xffffffff
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push 0x5c
push eax
call fcn.004a550b
add esp, 8
test eax, eax
je 0x4253e8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x578]
call fcn.00461db0
push str.SGKaomoji.cupf
lea eax, [ebp - 0x578]
push 0x558df8
push eax
call fcn.004623d0
add esp, 0xc
lea esi, [ebp - 0x56c]
cmp byte [ebp - 0x45c], 0
cmove esi, dword [ebp - 0x570]
call fcn.0044dfb0
mov ecx, dword [eax]
lea eax, [esi + 4]
push eax
call fcn.0044d770
test eax, eax
je 0x4259bf
push str.Theme.xml
mov ecx, eax
call fcn.0044fd00
mov edi, eax
mov dword [ebp - 0x790], edi
test edi, edi
je 0x4259bf
mov ecx, dword [edi + 8]
inc ecx
push ecx
call fcn.004a3bb6
mov edi, dword [edi + 8]
mov esi, eax
mov eax, dword [ebp - 0x790]
add esp, 4
lea ecx, [edi + 1]
mov eax, dword [eax + 4]
mov dword [ebp - 0x78c], eax
test edi, edi
je 0x4254e2
test esi, esi
jne 0x425494
call fcn.004a93fd
mov dword [eax], 0x16
jmp 0x4254dd
test eax, eax
je 0x4254a9
cmp ecx, edi
jb 0x4254a9
push edi
push eax
push esi
call fcn.004a5f60
add esp, 0xc
jmp 0x4254e2
push ecx
push 0
push esi
call fcn.004a64e0
add esp, 0xc
cmp dword [ebp - 0x78c], 0
jne 0x4254cb
call fcn.004a93fd
mov dword [eax], 0x16
jmp 0x4254dd
lea eax, [edi + 1]
cmp eax, edi
jae 0x4254e2
call fcn.004a93fd
mov dword [eax], 0x22
call fcn.004a92f4
mov edi, dword [ebp - 0x790]
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
call fcn.0044cd00
push esi
mov ecx, dword [eax]
call fcn.0044bd70
push esi
call fcn.004a3611
mov eax, dword [0x58f1e0]
add esp, 4
xorps xmm0, xmm0
movq qword [ebp - 0x794], xmm0
test al, 1
jne 0x425542
or eax, 1
mov dword [0x58f1d8], 0xffffffff
push 0x4ff830
mov dword [0x58f1e0], eax
mov dword [0x58f1dc], 0
call fcn.004a3ba1
add esp, 4
lea eax, [ebp - 0x7b4]
mov dword [ebp - 0x7b0], fcn.004b12a2
push eax
mov dword [ebp - 0x7ac], fcn.004b2dab
mov dword [ebp - 0x7a8], fcn.004ac7ec
mov dword [ebp - 0x7a4], 0
mov dword [ebp - 0x7a0], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x79c], 0
mov byte [ebp - 0x798], 0
call fcn.0042ba30
xor al, al
jne 0x425739
push 0x552c40
push ecx
lea ecx, [ebp - 0x7b4]
call fcn.0046b270
mov ecx, eax
test ecx, ecx
je 0x425739
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255c1
sub ecx, edx
sar ecx, 1
je 0x425739
xor al, al
jne 0x425739
push 0x552c48
push ecx
lea ecx, [ebp - 0x7b4]
call fcn.0046b270
mov ecx, eax
test ecx, ecx
je 0x425739
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425600
sub ecx, edx
sar ecx, 1
je 0x425739
push 0x552c40
push ecx
lea ecx, [ebp - 0x7b4]
xor esi, esi
call fcn.0046b270
mov edx, eax
test edx, edx
je 0x42564f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425633
sub ecx, edi
sar ecx, 1
je 0x42564f
push edx
call fcn.004b2adb
add esp, 4
mov esi, eax
push 0x552c48
push ecx
lea ecx, [ebp - 0x7b4]
xor edi, edi
call fcn.0046b270
mov edx, eax
test edx, edx
je 0x425693
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x78c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425673
sub ecx, dword [ebp - 0x78c]
sar ecx, 1
je 0x425693
push edx
call fcn.004b2adb
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x7b4]
call fcn.00428810
push 2
xorps xmm0, xmm0
push edi
push esi
movups xmmword [ebp - 0x450], xmm0
movups xmmword [ebp - 0x440], xmm0
movq qword [ebp - 0x430], xmm0
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x450], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test esi, esi
jns 0x4256e9
mov dword [ebp - 0x790], 0
jmp 0x42570c
mov ecx, dword [ebp - 0x434]
lea eax, [esi + 0x25b]
cmp eax, ecx
jle 0x4256ff
lea esi, [ecx - 0x25b]
xor eax, eax
test esi, esi
cmovs esi, eax
mov dword [ebp - 0x790], esi
test edi, edi
jns 0x425717
xor edi, edi
jmp 0x4257e2
mov ecx, dword [ebp - 0x430]
lea eax, [edi + 0x1a4]
cmp eax, ecx
jle 0x42572d
lea edi, [ecx - 0x1a4]
xor eax, eax
test edi, edi
cmovs edi, eax
jmp 0x4257e2
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x7a4]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test ecx, ecx
je 0x425771
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x7a4], eax
call dword [ebp - 0x7a8]
mov ecx, dword [ebp - 0x7a4]
add esp, 4
test ecx, ecx
jne 0x425754
push 2
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x790]
push dword [ebp - 0x794]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x450], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 0x434]
sub eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x438]
sub eax, 0x25b
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x43c]
mov dword [ebp - 0x790], eax
mov eax, dword [ebp - 0x430]
sub eax, ecx
sub eax, 0x1a4
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, ecx
push ecx
mov ecx, dword [ebp - 0x7b8]
call fcn.00451290
add esp, 4
push 0x1b0
call fcn.004a35dc
add esp, 4
mov esi, eax
mov ecx, esi
call fcn.0044fd60
mov dword [esi], vtable.t_MainWnd.0
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a8], 0
call fcn.00428a00
mov ecx, esi
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x7b8]
push eax
push 0
push 0x1a4
push 0x25b
push edi
push dword [ebp - 0x790]
mov dword [esi + 0x19c], eax
push 0x800a0000
push 0x552024
push 0xc0008
call fcn.0044ff60
cmp byte [esi + 0x30], 1
je 0x425908
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [esi + 0x30], 1
call dword [eax + 0x48]
cmp dword [esi + 0x84], esi
je 0x425914
mov byte [esi + 0x64], 1
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00450e90
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x7c4], 0
push 0
lea eax, [ebp - 0x7dc]
movq qword [ebp - 0x7cc], xmm0
push eax
movups xmmword [ebp - 0x7dc], xmm0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4259b8
mov edi, dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 0xffffffff
je 0x4259b8
push dword [esi + 0xfc]
call edi
test eax, eax
je 0x4259b8
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x425976
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp byte [ebp - 0x45c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4259eb
mov eax, dword [ebp - 0x570]
lea ecx, [ebp - 0x56c]
cmp eax, ecx
je 0x4259eb
push eax
call fcn.004ac7ec
add esp, 4
lea ecx, [ebp - 0x7c0]
call fcn.004643f0
cmp byte [ebp - 0x579], 0
jne 0x425a10
mov eax, dword [ebp - 0x788]
test eax, eax
je 0x425a10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10