Function at 0x4c3930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movsx eax, word [ebx + 2]
movsx ecx, word [ebx]
mov dword [ebp - 0x14], eax
mov ax, word [ebx + 8]
cmp ax, 0xffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], ecx
jne 0x4c3967
mov dx, word [0x598e00]
mov word [ebx + 8], dx
jmp 0x4c397e
movsx ecx, ax
mov eax, dword [0x598e00]
cmp ecx, eax
jle 0x4c397e
mov dword [ebp - 8], 1
mov word [ebx + 8], ax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x1c
call esi
mov edi, eax
mov ax, word [ebx]
cmp ax, 0xffff
mov dword [ebp - 0x20], edi
je 0x4c39a7
movsx edx, ax
cmp edx, edi
jge 0x4c39a7
mov word [ebx], di
mov dword [ebp - 8], 1
push 0x1d
call esi
mov dword [ebp - 0x10], eax
mov ax, word [ebx + 2]
cmp ax, 0xffff
je 0x4c39cd
movsx ecx, ax
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jge 0x4c39cd
mov word [ebx + 2], ax
mov dword [ebp - 8], 1
mov eax, dword [ebx + 0xa]
lea esi, [ebx + 0xa]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x4c39e2
mov dword [ebp + 8], ecx
mov dword [ebp - 4], ecx
jmp 0x4c3a17
cmp eax, 0xfffffffe
jne 0x4c3a0b
mov eax, dword [ebx + 0x8c]
cmp eax, ecx
jne 0x4c39f9
mov dword [ebp + 8], ecx
mov dword [ebp - 4], ecx
jmp 0x4c3a17
mov dx, word [ebx + 0x8c]
shr eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
jmp 0x4c3a17
mov cx, word [esi]
shr eax, 0x10
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov dx, word [0x598df8]
mov ax, word [0x635b1c]
push edx
push eax
push 0x50
lea ecx, [ebp - 4]
push ebx
lea eax, [ebx + 4]
push ecx
push eax
mov word [0x5b30f8], di
call fcn.004c4030
add esp, 0x18
cmp eax, 1
jne 0x4c3a48
mov dword [ebp - 8], eax
mov ax, word [0x598dfc]
mov cx, word [0x635b20]
mov dx, word [ebp - 0x10]
push eax
push ecx
lea eax, [ebx + 2]
mov word [0x5b30f8], dx
push 0x1e
push eax
lea edx, [ebp + 8]
lea eax, [ebx + 6]
push edx
push eax
call fcn.004c4030
add esp, 0x18
cmp eax, 1
jne 0x4c3a80
mov dword [ebp - 8], eax
cmp dword [esi], 0xfffffffe
jne 0x4c3aa3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
mov dword [ebx + 0x8c], eax
jmp 0x4c3abb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
and edx, 0xffff
and eax, 0xffff
shl edx, 0x10
or edx, eax
mov dword [esi], edx
movsx ecx, word [ebx]
cmp ecx, edi
jge 0x4c3ad1
mov word [ebx], di
mov dword [ebp - 8], 1
jmp 0x4c3a17
cmp dword [esi], 0xfffffffe
jne 0x4c3af0
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x1c], edx
lea ecx, [ebx + 0x6c]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
jmp 0x4c3af5
push 0
push 0
push esi
mov edi, dword [ebp + 0xc]
push edi
call fcn.004c4130
mov dword [ebp - 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
add esp, 0x10
cmp ecx, eax
jne 0x4c3be1
mov eax, dword [esi]
mov dword [ebp - 8], 1
cmp eax, 0xfffffffe
jne 0x4c3b37
mov eax, dword [ebx + 0x8c]
mov cx, word [ebx + 0x8c]
shr eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp + 8], ecx
jmp 0x4c3b43
mov dx, word [esi]
shr eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
mov cx, word [0x598df8]
mov ax, word [ebp - 0x20]
mov dx, word [0x635b1c]
push ecx
mov word [0x5b30f8], ax
push edx
push 0x50
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebx + 4]
push eax
call fcn.004c4030
mov dx, word [0x598dfc]
mov ax, word [0x635b20]
mov cx, word [ebp - 0x10]
push edx
push eax
lea eax, [ebx + 2]
mov word [0x5b30f8], cx
push 0x1e
push eax
lea ecx, [ebp + 8]
lea eax, [ebx + 6]
push ecx
push eax
call fcn.004c4030
mov eax, dword [esi]
add esp, 0x30
cmp eax, 0xfffffffe
jne 0x4c3bc4
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
and edx, 0xffff
and eax, 0xffff
shl edx, 0x10
or edx, eax
xor eax, eax
mov dword [ebx + 0x8c], edx
jmp 0x4c3c0b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
xor eax, eax
mov dword [esi], ecx
jmp 0x4c3c0b
cmp dword [ebp - 8], 1
jne 0x4c3bf5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x4c3c0b
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x4c3c03
mov word [ebx + 2], cx
cmp dword [ebp - 0x18], ecx
jne 0x4c3c0b
mov word [ebx], cx
mov cx, word [edi + 0x160]
mov word [ebx + 0x60], ax
mov word [ebx + 0x64], ax
mov word [ebx + 0x66], ax
mov word [ebx + 0x68], ax
mov word [ebx + 0x6a], ax
mov eax, dword [esi]
mov word [ebx + 0x5e], cx
cmp eax, 0xfffffffe
mov word [ebx + 0x62], 0xffff
jne 0x4c3c4f
mov edx, dword [ebx + 0x8c]
mov ax, word [ebx + 0x8c]
shr edx, 0x10
mov dword [ebp - 4], edx
mov dword [ebp + 8], eax
jmp 0x4c3c5b
mov cx, word [esi]
shr eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp + 8], ecx
mov dx, word [0x598dfc]
mov ax, word [0x635b20]
push edx
push eax
lea eax, [ebx + 2]
push 0x1e
push eax
lea ecx, [ebp + 8]
lea eax, [ebx + 6]
push ecx
push eax
call fcn.004c4030
mov eax, dword [ebp - 0x14]
add esp, 0x18
cmp eax, 0xffffffff
je 0x4c3c8f
mov dx, ax
mov word [ebx + 2], dx
mov ax, word [0x598df8]
mov cx, word [0x635b1c]
push eax
push ecx
push 0x50
lea edx, [ebp - 4]
push ebx
lea eax, [ebx + 4]
push edx
push eax
call fcn.004c4030
mov eax, dword [ebp - 0x18]
add esp, 0x18
cmp eax, 0xffffffff
je 0x4c3cbc
mov word [ebx], ax
cmp dword [ebp - 8], 1
jne 0x4c3ccb
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x16c], ecx
mov eax, dword [0x5994b8]
test eax, eax
je 0x4c3ce2
cmp dword [esi], 0xfffffffe
jne 0x4c3d05
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0x1c8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push eax
call esi
mov ecx, dword [edi + 0x16c]
mov edx, dword [edi + 0x1cc]
push ecx
push edx
call esi
push ebx
push edi
mov dword [edi + 0x178], 1
call fcn.004b6fb0
add esp, 8
cmp eax, 0xffffffff
jne 0x4c3d3b
push 0x251
push 0x599a58
push 5
call fcn.004bfc20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0xe]
mov edi, 0x5b30fc
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4c3d73
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
push ecx
call fcn.004a4dfd
lea eax, [ebx + 0xe]
push eax
call fcn.004b0cbe
mov edx, dword [esi]
add esp, 8
mov dword [esi + 0x10], eax
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x174]
test ecx, ecx
jne 0x4c3eeb
call fcn.004bb580
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c3e9d
cmp dword [0x5b350c], 1
jne 0x4c3e88
movsx ecx, word [ebx]
mov eax, dword [0x598df8]
mov edx, dword [0x598dfc]
cmp ecx, eax
jne 0x4c3dec
movsx esi, word [ebx + 2]
cmp esi, edx
jne 0x4c3dec
mov edi, dword [ebp + 0xc]
push 0
push 0x3ef
push 0x111
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x5b30f4], 1
jmp 0x4c3ea6
cmp ecx, eax
jl 0x4c3e0f
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x11
call esi
movsx edx, word [ebx + 2]
cmp edx, eax
jge 0x4c3e64
mov edx, dword [0x598dfc]
mov eax, dword [0x598df8]
jmp 0x4c3e15
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
movsx edi, word [ebx]
cmp eax, edi
jge 0x4c3e1e
mov edi, eax
movsx eax, word [ebx + 2]
cmp edx, eax
mov dword [ebp - 0x18], edx
jl 0x4c3e2c
mov dword [ebp - 0x18], eax
push 0x20
call esi
lea ecx, [edi + eax*2]
push 0x21
mov dword [ebp - 0x20], ecx
call esi
push 4
mov edi, eax
call esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
add eax, ecx
push 0x116
lea eax, [eax + edi*2]
push eax
push edx
push 0
push 0
push 0
call fcn.004bb580
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp + 0xc]
push 0
push 0x3ef
push 0x111
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x5b30f4], 1
jmp 0x4c3ea6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
mov dword [0x5b30f4], 1
jmp 0x4c3ea6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x598e10]
push 0
push 0
push 0x229
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4c3edf
mov ecx, dword [0x598e10]
push eax
mov eax, dword [edi]
push eax
push 0x222
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0x174], 1
jmp 0x4c3ef4
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x5b350c]
test eax, eax
jne 0x4c3fa1
movsx ecx, word [ebx]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jl 0x4c3f48
movsx eax, word [ebx + 2]
cmp eax, dword [ebp - 0x24]
jl 0x4c3f48
cmp ecx, edx
jg 0x4c3f2e
cmp eax, dword [ebp - 0x24]
jle 0x4c3fc2
mov ecx, dword [edi]
push 0x117
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4c3fb2
cmp dword [0x598e64], 1
jne 0x4c3f69
mov edx, dword [edi]
mov eax, dword [0x598e10]
push 0
push edx
push 0x223
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4c3fb2
push 0x116
push 0x21
call esi
movsx ecx, word [ebx + 2]
push 4
lea edi, [ecx + eax*2]
call esi
lea edx, [edi + eax - 1]
push edx
push 0x20
call esi
movsx ecx, word [ebx]
mov edi, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
mov eax, dword [edi]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4c3fb2
mov cx, word [ebx + 2]
mov dx, word [ebx]
push ecx
push edx
call fcn.004be5b0
add esp, 8
cmp dword [0x5b350c], 1
jne 0x4c3fc2
mov eax, dword [edi]
push 3
push eax
jmp 0x4c3fc7
mov ecx, dword [edi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x234
call fcn.004bb590
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call fcn.004c0f80
push edi
call fcn.004c99d0
mov eax, dword [0x598e20]
add esp, 8
test eax, eax
push 1
push 0
je 0x4c4011
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret