Function at 0x40bef0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c0db
mov eax, dword fs:[0]
push eax
sub esp, 0x5d4
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x5cc], eax
push ebx
push edi
mov eax, dword [0x491870]
xor eax, esp
push eax
lea eax, [esp + 0x5e0]
mov dword fs:[0], eax
mov eax, dword [esi + 0xf7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0xf7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x496994]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 0xf88]
xor edi, edi
test eax, eax
jle 0x40c0f8
jmp 0x40bf70
mov ebx, edi
lea eax, [esi + 0xfc4]
call fcn.0040c750
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebx]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp + 0x10], edx
test edi, edi
jl 0x40c18c
cmp edi, dword [esi + 0xf9c]
jge 0x40c18c
mov ebx, dword [esi + 0xf98]
lea eax, [edi*4]
add ebx, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jge 0x40bfc7
or eax, 0xffffffff
jmp 0x40bfe2
push 0x479e44
push eax
call fcn.0044e1de
add esp, 8
test eax, eax
jne 0x40bfde
or eax, 0xffffffff
jmp 0x40bfe2
sub eax, dword [ebx]
sar eax, 1
cmp edi, dword [esi + 0xf9c]
jge 0x40c18c
mov ecx, dword [esi + 0xf98]
lea edx, [edi*4]
add ecx, edx
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00405d80
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x3de]
mov dword [esp + 0x5f0], 0
push ecx
mov word [esp + 0x3e0], ax
call fcn.00451570
add esp, 0xc
push edi
lea eax, [esi + 0xfdc]
call fcn.0040c830
add eax, 0x38
cmp dword [eax + 0x18], 8
jb 0x40c04d
mov eax, dword [eax + 4]
jmp 0x40c050
add eax, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
push str.http:__record.4399.com_d.php_aweb.onlinegame_sserverS_slength_ldcid38714
lea edx, [esp + 0x3e4]
push 0x100
push edx
call fcn.0044e418
push 0x4792fc
lea ecx, [esp + 0x3f0]
call fcn.00403f90
add esp, 0x1c
cmp edi, dword [esi + 0xf88]
jge 0x40c18c
mov eax, dword [esi + 0xf84]
mov ebx, dword [eax + edi*4]
push 0
push ebx
call dword [sym.imp.USER32.dll_SetParent]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x5e8], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c0eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esi + 0xf88]
jl 0x40bf70
push 0x3b8
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00451570
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x3d8]
add esp, 0xc
push 0x492d48
lea ecx, [esp + 0x30]
push 0x80
push ecx
mov dword [esp + 0x30], 0x401
mov dword [esp + 0x20], 0x3bc
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 7
mov dword [esp + 0x34], eax
call fcn.0044e23f
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x5e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x5cc]
xor ecx, esp
call fcn.0044dee5
mov esp, ebp
pop ebp
ret
call fcn.0042151a
int3