Function at 0x4caa1c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cae04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x669a50]
and dword [eax], 0xfff7ffff
call fcn.00541d4c
mov ebx, eax
mov eax, dword [ebx + 0x174]
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.0055ff90
mov byte [ebx + 0x14e], 2
mov eax, ebx
call fcn.005be83c
lea eax, [ebp - 0x104]
call fcn.0053e6c8
mov dword [ebp - 0x100], 0x16
push 0
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebx + 0x300]
mov dl, 2
mov eax, ebx
call fcn.005c7af4
lea eax, [ebp - 0x10c]
push eax
mov eax, 0x4cae1c
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
mov eax, 0x4cae44
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
mov eax, 0x4cae6c
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0xb
mov eax, dword [esi + 0x1d0]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0xb
mov eax, 0x4cae98
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 0xb
lea edx, [ebp - 0x134]
mov eax, 0x4caeb4
mov ecx, 4
call fcn.006550e0
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0065432c
mov eax, dword [ebp - 0x108]
call fcn.0064d9c0
mov edi, eax
mov ecx, edi
mov dl, 0xd
mov eax, ebx
call fcn.005c7acc
mov eax, edi
call fcn.004028c0
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.005c0e14
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.0055e56c
mov eax, dword [esi + 0x1a0]
mov edx, dword [eax + 0x30]
sub edx, 0xe
mov eax, ebx
call fcn.0055fafc
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xa8]
xor edx, edx
mov eax, ebx
call fcn.005c7adc
push 0
mov al, byte [0x4caedc]
push eax
lea edx, [ebp - 0x108]
mov eax, 0x4cae44
call fcn.0065432c
mov eax, dword [ebp - 0x108]
call fcn.00403ab8
mov edi, eax
mov eax, 0x4cae6c
lea edx, [ebp - 0x108]
call fcn.0065432c
mov eax, dword [ebp - 0x108]
call fcn.00403ab8
add edi, eax
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.005bb588
mov eax, dword [esi + 0x1a0]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
call fcn.0044bcb0
mov byte [ebx + 0x403], 1
mov eax, ebx
call fcn.005b4f84
mov edx, dword [0x669448]
mov eax, ebx
call fcn.0055c38c
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edi, [eax + 0x48]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, 7
mov eax, 7
call fcn.0064d694
mov eax, dword [ebp - 0x14]
push esi
push edi
lea esi, [ebp - 0x144]
lea edi, [eax + 0x48]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi + 0x1a0]
mov eax, dword [eax + 0xc8]
call fcn.0064919c
call fcn.0064ae74
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00648794
mov edi, eax
mov eax, dword [0x6691b4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00624538
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x18]
call fcn.00648770
lea eax, [ebp - 0x144]
push eax
push edi
call sub.user32.dll_FillRect
push 1
push edi
call sub.gdi32.dll_SetBkMode
mov eax, edi
call fcn.0064be14
mov eax, dword [0x669650]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x14f], 1
mov eax, dword [0x6698c8]
mov ax, word [eax + 0x30]
mov word [ebp - 2], ax
mov eax, dword [0x6698c8]
mov eax, dword [eax + 0x32]
mov dword [ebp - 8], eax
mov eax, dword [0x6698c8]
mov dx, word [esi + 0x1c8]
mov word [eax + 0x30], dx
mov eax, dword [0x6698c8]
mov edx, dword [esi + 0x1cc]
mov dword [eax + 0x32], edx
mov eax, dword [0x6698c8]
test byte [eax], 0x40
setne al
mov byte [ebp - 9], al
mov eax, dword [0x6698c8]
and dword [eax], 0xffffffbf
mov byte [ebx + 0x408], 1
mov byte [ebx + 0x493], 1
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005b9c24
mov byte [ebx + 0x493], 1
mov eax, dword [ebp - 0x18]
call fcn.00648794
mov edi, eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.005b9c24
cmp byte [ebp - 9], 0
je 0x4cad78
mov eax, dword [0x6698c8]
or dword [eax], 0x40
mov eax, dword [0x6698c8]
mov dx, word [ebp - 2]
mov word [eax + 0x30], dx
mov eax, dword [0x6698c8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x32], edx
push 2
call sub.gdi32.dll_GetStockObject
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x18]
call fcn.00648770
lea eax, [ebp - 0x144]
push eax
push edi
call sub.user32.dll_FrameRect
mov eax, dword [0x669650]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x1a0]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x268]
call fcn.004028c0
mov eax, dword [0x669a50]
or dword [eax], 0x80000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cae0b
lea eax, [ebp - 0x10c]
call fcn.00403274
lea eax, [ebp - 0x108]
call fcn.00403880
ret