Function at 0x4f7cdb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [0xbd9048]
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push dword [0xbd9034]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0xbda744]
mov esi, 0x28
add ecx, 0xffffffff
mov dword [ebp - 0x150], eax
mov edx, 0x28c
mov dword [ebp - 0x154], 0x29
cmovns esi, ecx
mov dword [ebp - 0x14c], edx
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
imul ebx, esi, 0x68
mov eax, dword [ebx + 0xbd90b4]
cmp eax, 7
ja case.default.0x4f7cb1
jmp dword [eax*4 + 0x4f8430]
push 0x3232fa
jmp 0x4f7ce7
push 0xff00
jmp 0x4f7ce7
push 0xef9800
jmp 0x4f7ce7
push 0x4000ff
jmp 0x4f7ce7
push 0x2e9afe
jmp 0x4f7ce7
push 0xffffff
jmp 0x4f7ce7
push 0xb5ad00
push edi
call ecx
mov edx, dword [ebp - 0x14c]
lea ebx, [ebx + 0xbd9050]
mov eax, ebx
lea ecx, [eax + 1]
mov dword [ebp - 0x158], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f7d01
sub eax, dword [ebp - 0x158]
cmp eax, 1
jle 0x4f7d2e
push eax
push ebx
push edx
push 0
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [ebp - 0x14c]
sub edx, 0xf
mov dword [ebp - 0x14c], edx
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
sub esi, 1
mov eax, 0x28
cmovns eax, esi
sub dword [ebp - 0x154], 1
mov esi, eax
jne 0x4f7ca3
push dword [ebp - 0x150]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x148]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [0xbd9028]
sub dword [ebp - 0x140], 0x226
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0x3c
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push ebx
call eax
push dword [0xbd902c]
mov edi, eax
push ebx
call esi
push 0xfafafa
mov esi, eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
call eax
push dword [0xbd9044]
lea eax, [ebp - 0x148]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 0x25
lea eax, [ebp - 0x148]
push eax
push 0x11
push str.GameServer_Siege
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
call edi
push ebx
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xbda79c
push str.GameServer_Siege
push 0x55ba60
lea eax, [ebp - 0x138]
push str.__s___s____s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x138]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x148]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x140]
mov eax, 0x55555556
lea ecx, [esi - 0x226]
imul ecx
mov eax, 0xfffffeed
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [esi + eax*2]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x144]
add eax, 0x3c
push dword [0xbd9028]
mov dword [ebp - 0x144], eax
add eax, 0x19
mov dword [ebp - 0x13c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 1
push esi
call edi
push dword [0xbd9038]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x6509b0], 0xffffffff
mov dword [ebp - 0x150], eax
je 0x4f7f11
cmp dword [0x7509e8], 0xffffffff
je 0x4f7f11
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfafafa
push esi
call ebx
push dword [0xbd903c]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0x25
lea eax, [ebp - 0x148]
push eax
push 0xc
push str.ACTIVE_MODE
jmp 0x4f7f43
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfafafa
push esi
call ebx
push dword [0xbd9040]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0x25
lea eax, [ebp - 0x148]
push eax
push 0xd
push str.STANDBY_MODE
mov eax, dword [sym.imp.USER32.dll_DrawTextA]
push esi
call eax
push dword [ebp - 0x150]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push esi
call eax
push esi
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x148]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x140]
push dword [0xbd9028]
lea ecx, [esi - 0x226]
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, 0x55555556
imul ecx
mov eax, 0xfffffdda
sar edi, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
add esi, eax
mov dword [ebp - 0x140], esi
lea eax, [ecx + 2]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x144]
add eax, 0x3c
mov dword [ebp - 0x144], eax
add eax, 0x19
mov dword [ebp - 0x13c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [0xbd9038]
mov dword [ebp - 0x158], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [0xbda81c]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x38]
push dword [0xcd6274]
push str.ONLINE:__d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
add edi, 0xffffffc4
cmp dword [0xcd6274], 0
push 0xfafafa
push esi
jle 0x4f8059
call ebx
push dword [0xbd903c]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f8050
jmp 0x4f807c
call ebx
push dword [0xbd9040]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f8075
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
mov eax, dword [ebp - 0x144]
add eax, 2
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [ebp - 0x150]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x158]
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push esi
call edi
push esi
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x148]
push ecx
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x140]
mov eax, 0x55555556
push dword [0xbd9028]
sub ecx, 0x226
imul ecx
mov dword [ebp - 0x140], ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x144]
add eax, 0x3c
mov dword [ebp - 0x144], eax
add eax, 0x19
mov dword [ebp - 0x13c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 1
push ebx
call edi
push dword [0xbd9038]
mov edi, eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xfafafa
mov esi, eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
call eax
push dword [0xbd903c]
lea eax, [ebp - 0x148]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 0x25
lea eax, [ebp - 0x148]
push eax
push 0xb
push str.UPDATE_1.0
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
call edi
push ebx
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.004f8450
call fcn.004f8ab0
lea eax, [ebp - 0x148]
push eax
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x140]
push dword [0xbd9028]
mov dword [ebp - 0x144], 0x127
mov dword [ebp - 0x13c], 0x1b8
lea eax, [ecx - 0x226]
sub ecx, 5
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 1
push esi
mov dword [ebp - 0x14c], esi
call edi
push dword [0xbd9034]
mov dword [ebp - 0x15c], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [0xbd904c]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffa0a0
push esi
call ebx
mov eax, dword [ebp - 0x144]
push 0xf
push str.GLOBAL_MESSAGE:
add eax, 2
push eax
mov eax, dword [ebp - 0x148]
add eax, 5
push eax
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [0xbda74c]
mov esi, 7
add eax, 0xffffffff
mov dword [ebp - 0x154], 8
mov edi, 0x78
cmovns esi, eax
push 0xbe00
push dword [ebp - 0x14c]
call ebx
imul eax, esi, 0x68
lea edx, [eax + 0xbda404]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x150], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f8293
sub ecx, dword [ebp - 0x150]
cmp ecx, 1
jle 0x4f82cc
mov eax, dword [ebp - 0x144]
push ecx
add eax, 5
push edx
add eax, edi
push eax
mov eax, dword [ebp - 0x148]
add eax, 0xa
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.GDI32.dll_TextOutA]
sub edi, 0xf
sub esi, 1
mov eax, 7
cmovns eax, esi
sub dword [ebp - 0x154], 1
mov esi, eax
jne 0x4f8272
push dword [ebp - 0x158]
mov ebx, dword [ebp - 0x14c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x15c]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x3eb
push dword [0xbd9028]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [0xbda81c]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, eax
push dword [0xcd6274]
lea eax, [ebp - 0x138]
push str.Online_Players:__d__d
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x138]
add esp, 0x10
push eax
push 0
push 0x401
push edi
call esi
push dword [0xcd72a0]
lea eax, [ebp - 0x138]
push str.OffStore:__d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 1
push 0x401
push edi
call esi
push dword [0xcd729c]
lea eax, [ebp - 0x138]
push str.OffAttack:__d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 2
push 0x401
push edi
call esi
push dword [0xcd7298]
lea eax, [ebp - 0x138]
push str.All_Bots:__d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 3
push 0x401
push edi
call esi
push 0x9c4
push dword [0xcd6294]
lea eax, [ebp - 0x138]
push str.Monsters:__d__d
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x138]
push eax
push 4
push 0x401
push edi
call esi
push 0
push 5
push 0x401
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 3
push edi
call esi
push 9
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00529f01
mov esp, ebp
pop ebp
ret