Function at 0x4d7af0
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 0x4d7f0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x670050]
and dword [eax], 0xfff7ffff
call fcn.005477e8
mov ebx, eax
mov eax, dword [ebx + 0x174]
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.00565830
mov byte [ebx + 0x14e], 2
mov eax, ebx
call fcn.005c356c
lea eax, [ebp - 0x104]
call fcn.00544200
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.005cc650
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [0x66eabc]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 6
mov eax, dword [0x66ee90]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 6
mov eax, dword [0x66ef50]
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 6
mov eax, dword [esi + 0x1d0]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0xb
mov eax, dword [0x66ef30]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 6
lea edx, [ebp - 0x134]
mov eax, 0x4d7f1c
mov ecx, 4
call fcn.00655a28
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00654c74
mov eax, dword [ebp - 0x108]
call fcn.0064e190
mov edi, eax
mov ecx, edi
mov dl, 0xd
mov eax, ebx
call fcn.005cc628
mov eax, edi
call fcn.004028c0
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.005c5b44
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.00563fc0
mov eax, dword [esi + 0x1a0]
mov edx, dword [eax + 0x30]
sub edx, 0xe
mov eax, ebx
call fcn.0056539c
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.005cc638
push 0
mov al, byte [0x4d7f44]
push eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x66ee90]
mov edx, dword [edx]
call fcn.00403438
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00654c74
mov eax, dword [ebp - 0x108]
call fcn.00403aa8
mov edi, eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x66ef50]
mov edx, dword [edx]
call fcn.00403438
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00654c74
mov eax, dword [ebp - 0x108]
call fcn.00403aa8
add edi, eax
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.005c0320
mov eax, dword [esi + 0x1a0]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00461b10
mov byte [ebx + 0x403], 1
mov eax, ebx
call fcn.005b9d24
mov edx, dword [0x66f18c]
mov eax, ebx
call fcn.00561de0
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.0064d580
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.00649080
call fcn.0064ad58
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00648678
mov edi, eax
mov eax, dword [0x66eb44]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00624860
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x18]
call fcn.00648654
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.0064bcf8
mov eax, dword [0x66f65c]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x14f], 1
mov eax, dword [0x66fc50]
mov ax, word [eax + 0x30]
mov word [ebp - 2], ax
mov eax, dword [0x66fc50]
mov eax, dword [eax + 0x32]
mov dword [ebp - 8], eax
mov eax, dword [0x66fc50]
mov dx, word [esi + 0x1c8]
mov word [eax + 0x30], dx
mov eax, dword [0x66fc50]
mov edx, dword [esi + 0x1cc]
mov dword [eax + 0x32], edx
mov eax, dword [0x66fc50]
test byte [eax], 0x40
setne al
mov byte [ebp - 9], al
mov eax, dword [0x66fc50]
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.005be9c4
mov byte [ebx + 0x493], 1
mov eax, dword [ebp - 0x18]
call fcn.00648678
mov edi, eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.005be9c4
cmp byte [ebp - 9], 0
je 0x4d7e7c
mov eax, dword [0x66fc50]
or dword [eax], 0x40
mov eax, dword [0x66fc50]
mov dx, word [ebp - 2]
mov word [eax + 0x30], dx
mov eax, dword [0x66fc50]
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.00648654
lea eax, [ebp - 0x144]
push eax
push edi
call sub.user32.dll_FrameRect
mov eax, dword [0x66f65c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x1a0]
mov bx, 0xffe8
call fcn.00403254
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x268]
call fcn.004028c0
mov eax, dword [0x670050]
or dword [eax], 0x80000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7f13
lea eax, [ebp - 0x10c]
call fcn.00403274
lea eax, [ebp - 0x108]
call fcn.00403880
ret