Function at 0x4ccaf8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ccf31
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004da2b4
and dword [eax + 0x2c], 0xfff7ffff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x543df8]
call fcn.00562c34
mov ebx, eax
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0x18], eax
mov eax, ebx
call fcn.00566468
mov byte [ebx + 0x146], 2
mov eax, ebx
call fcn.005c668c
lea eax, [ebp - 0x10c]
call fcn.005447c4
mov dword [ebp - 0x108], 0x16
mov al, byte [0x4ccf40]
mov byte [ebp - 5], al
push 0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 5]
push eax
mov ecx, dword [ebx + 0x2f8]
mov dl, 2
mov eax, ebx
call fcn.005cfd20
call fcn.00656518
mov edi, eax
lea eax, [ebp - 0x110]
push eax
mov eax, 0x4ccf4c
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0xb
mov eax, 0x4ccf74
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
mov eax, 0x4ccf9c
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0xb
mov eax, dword [esi + 0x1cc]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
mov eax, 0x4ccfc8
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0xb
lea edx, [ebp - 0x138]
mov eax, 0x4ccfe4
mov ecx, 4
call fcn.0065d7d4
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0xc]
call fcn.0065c958
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00656738
mov ax, word [0x4ccf40]
mov word [ebp - 2], ax
lea eax, [ebp - 2]
push eax
mov ecx, edi
mov dl, 0xd
mov eax, ebx
call fcn.005cfcec
mov eax, edi
call fcn.004028c0
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.005c8d98
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.005649f0
mov eax, dword [esi + 0x19c]
mov edx, dword [eax + 0x30]
sub edx, 0xe
mov eax, ebx
call fcn.00566018
mov dword [ebp - 0xb0], eax
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb0]
xor edx, edx
mov eax, ebx
call fcn.005cfcec
push 0
mov al, byte [0x4cd00c]
push eax
lea eax, [ebp - 0x13c]
push eax
mov eax, 0x4ccf74
pop edx
call fcn.0065c958
mov eax, dword [ebp - 0x13c]
call fcn.00403ab8
mov edi, eax
mov eax, 0x4ccf9c
lea edx, [ebp - 0x13c]
call fcn.0065c958
mov eax, dword [ebp - 0x13c]
call fcn.00403ab8
add edi, eax
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.005c332c
mov eax, dword [esi + 0x19c]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x18]
call fcn.0044e9a0
mov byte [ebx + 0x3fa], 1
mov eax, ebx
call fcn.005bcb1c
mov edx, dword [0x6720a4]
mov eax, ebx
call fcn.0056272c
mov eax, dword [ebx + 0x134]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea edi, [eax + 0x48]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, 7
mov eax, 7
call fcn.00656220
mov eax, dword [ebp - 0x1c]
push esi
push edi
lea esi, [ebp - 0x14c]
lea edi, [eax + 0x48]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi + 0x19c]
mov eax, dword [eax + 0xc8]
call fcn.0064fd80
call fcn.00651940
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.0064f1bc
mov edi, eax
mov eax, dword [0x6720e4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.0062df70
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x20]
call fcn.0064f198
lea eax, [ebp - 0x14c]
push eax
push edi
call sub.user32.dll_FillRect
push 1
push edi
call sub.gdi32.dll_SetBkMode
mov eax, edi
call fcn.006528d4
mov eax, dword [0x67250c]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x147], 1
mov eax, dword [0x672428]
mov ax, word [eax + 0x174]
mov word [ebp - 4], ax
mov eax, dword [0x672428]
mov eax, dword [eax + 0x176]
mov dword [ebp - 0x10], eax
mov eax, dword [0x672428]
mov dx, word [esi + 0x1c4]
mov word [eax + 0x174], dx
mov eax, dword [0x672428]
mov edx, dword [esi + 0x1c8]
mov dword [eax + 0x176], edx
mov eax, dword [0x672428]
test byte [eax + 0x144], 0x40
setne al
mov byte [ebp - 0x11], al
mov eax, dword [0x672428]
and dword [eax + 0x144], 0xffffffbf
mov byte [ebx + 0x3ff], 1
mov byte [ebx + 0x48b], 1
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005c1964
mov byte [ebx + 0x48b], 1
mov eax, dword [ebp - 0x20]
call fcn.0064f1bc
mov edi, eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.005c1964
cmp byte [ebp - 0x11], 0
je 0x4cce96
mov eax, dword [0x672428]
or dword [eax + 0x144], 0x40
mov eax, dword [0x672428]
mov dx, word [ebp - 4]
mov word [eax + 0x174], dx
mov eax, dword [0x672428]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x176], edx
push 2
call sub.gdi32.dll_GetStockObject
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x20]
call fcn.0064f198
lea eax, [ebp - 0x14c]
push eax
push edi
call sub.user32.dll_FrameRect
mov eax, dword [0x67250c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x19c]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x268]
call fcn.004028c0
call fcn.004da2b4
or dword [eax + 0x2c], 0x80000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccf38
lea eax, [ebp - 0x13c]
call fcn.00403880
lea eax, [ebp - 0x110]
call fcn.00403274
lea eax, [ebp - 0xc]
call fcn.00403880
ret