Function at 0x40f1a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558702
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x5c100c]
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
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00429bd0
push str.WanNeng
lea eax, [ebp - 0x420]
push str._sMakeStatusWndMainFrame
push eax
call fcn.00406c50
add esp, 0x18
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
cmp word [ebp - 0x420], ax
jne 0x40f249
xor ecx, ecx
jmp 0x40f261
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f252
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.004071b0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x498]
call fcn.0040e780
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x40f2a8
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.004073a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00429bd0
push 0x5b4ddc
lea eax, [ebp - 0x218]
push 0x5b64b4
push eax
call fcn.00406c50
add esp, 0x18
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
cmp word [ebp - 0x218], ax
jne 0x40f320
xor ecx, ecx
jmp 0x40f33f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f330
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.004071b0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48c]
call fcn.0040e780
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x40f38a
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.004073a0
push 0x5b4ddc
lea eax, [ebp - 0x218]
push 0x5b64cc
push eax
call fcn.00406c50
xor eax, eax
mov dword [ebp - 0x46c], 7
add esp, 0xc
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [ebp - 0x218], ax
jne 0x40f3cd
xor ecx, ecx
jmp 0x40f3e5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f3d6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.004071b0
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x48c]
call fcn.0040e780
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x40f430
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.004073a0
push 0x5b4ddc
lea eax, [ebp - 0x218]
push 0x5b64e4
push eax
call fcn.00406c50
xor eax, eax
mov dword [ebp - 0x424], 7
add esp, 0xc
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x40f473
xor ecx, ecx
jmp 0x40f48f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f480
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004071b0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x48c]
call fcn.0040e780
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x40f4da
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.004073a0
mov esi, dword [ebp - 0x498]
xor eax, eax
mov ecx, dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp esi, dword [ebp - 0x494]
je 0x40f552
cmp dword [esi + 0x14], 8
jb 0x40f51b
mov eax, dword [esi]
jmp 0x40f51d
mov eax, esi
push 0
push eax
call ecx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f541
push 0
push edi
call ebx
push 0
push 0
push 0x12
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [sym.imp.USER32.dll_FindWindowW]
add esi, 0x18
cmp esi, dword [ebp - 0x494]
jne 0x40f511
mov esi, dword [ebp - 0x48c]
cmp esi, dword [ebp - 0x488]
je 0x40f5a1
cmp dword [esi + 0x14], 8
jb 0x40f56a
mov eax, dword [esi]
jmp 0x40f56c
mov eax, esi
push eax
push 0
call ecx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f590
push 0
push edi
call ebx
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [sym.imp.USER32.dll_FindWindowW]
add esi, 0x18
cmp esi, dword [ebp - 0x488]
jne 0x40f560
cmp dword [0x5d60cc], 0
jne 0x40f5af
call fcn.00407a30
mov ecx, dword [0x5d60cc]
call fcn.00424660
push eax
push 0
push str.MakeStatusWndShow
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [ebp - 0x48c]
test esi, esi
je 0x40f613
push dword [ebp - 0x49c]
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x488]
push esi
call fcn.0040eb90
mov ecx, dword [ebp - 0x484]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040ea30
mov esi, dword [ebp - 0x498]
test esi, esi
je 0x40f659
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x498]
push ecx
push dword [ebp - 0x494]
push esi
call fcn.0040eb90
mov ecx, dword [ebp - 0x490]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040ea30
mov al, 1
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.00415db5
mov esp, ebp
pop ebp
ret