Function at 0x4c763c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov edi, eax
cmp byte [ebp + 8], 5
je 0x4c765d
mov eax, edi
call fcn.004c89f8
lea edx, [ebp - 8]
mov eax, edi
call fcn.004c8908
mov esi, eax
test bl, bl
je 0x4c7676
mov edx, esi
mov eax, edi
call fcn.004c8890
mov eax, edi
call fcn.004536d4
push eax
call sub.user32.dll_SetCapture
mov eax, dword [ebp - 8]
mov dword [edi + 0x2e0], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x2e4], eax
jmp 0x4c7723
push 0
push 0
mov eax, edi
call fcn.004536d4
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x4c76bc
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x4c7739
mov eax, dword [ebp - 0x28]
sub eax, 0x200
je 0x4c76d2
sub eax, 2
jne 0x4c771a
call sub.user32.dll_ReleaseCapture
jmp 0x4c7723
test bl, bl
jne 0x4c7705
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, edi
call fcn.004536d4
push eax
call sub.user32.dll_ScreenToClient
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.004c8908
cmp esi, eax
je 0x4c7723
mov bl, 1
jmp 0x4c7723
mov edx, esi
mov eax, edi
call fcn.004c8890
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.004c78a4
jmp 0x4c7723
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, edi
call fcn.004536d4
push eax
call sub.user32.dll_GetCapture
pop edx
cmp edx, eax
je 0x4c769a
test bl, bl
jne 0x4c7878
test esi, esi
je 0x4c7878
cmp dword [esi + 0x30], 0xa
jle 0x4c7878
mov dword [edi + 0x21c], esi
mov eax, dword [edi + 0x2f0]
cmp eax, 0xffffffff
je 0x4c776a
push eax
call sub.gdi32.dll_DeleteObject
lea eax, [esi + 0x98]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov dword [edi + 0x2f0], eax
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4c7798
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [esi + 0x8c]
sub eax, 1
jb 0x4c77aa
je 0x4c77b1
dec eax
je 0x4c77b8
jmp 0x4c77bf
mov ebx, 0x50000044
jmp 0x4c77c4
mov ebx, 0x50000045
jmp 0x4c77c4
mov ebx, 0x50000046
jmp 0x4c77c4
mov ebx, 0x50000044
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.004536d4
push eax
push 1
mov eax, dword [0x510718]
push eax
push 0
mov edx, 0x4c7898
mov eax, 0x4c789c
mov ecx, ebx
call fcn.00407a00
mov dword [edi + 0x2e8], eax
push 1
mov eax, dword [edi + 0x2f0]
push eax
push 0x30
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0xbb8
push 0xc5
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_SendMessageA
push 0xffffffffffffffff
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x48]
sub ecx, edx
push ecx
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_MoveWindow
mov eax, dword [esi + 0x94]
call fcn.00404abc
push eax
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_SetWindowTextA
push 1
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [edi + 0x2e8]
push eax
call sub.user32.dll_SetFocus
mov eax, edi
call fcn.004536d4
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x4c788f
call sub.user32.dll_ReleaseCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4