Function at 0x4da1a8
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 0x4da5c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6730b4]
and dword [eax], 0xfff7ffff
call fcn.0054a7a0
mov ebx, eax
mov eax, dword [ebx + 0x174]
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.005687e8
mov byte [ebx + 0x14e], 2
mov eax, ebx
call fcn.005c652c
lea eax, [ebp - 0x104]
call fcn.005471b8
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.005cf610
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [0x671b24]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 6
mov eax, dword [0x671ef8]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 6
mov eax, dword [0x671fb8]
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 [0x671f98]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 6
lea edx, [ebp - 0x134]
mov eax, 0x4da5d0
mov ecx, 4
call fcn.00659050
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0065829c
mov eax, dword [ebp - 0x108]
call fcn.006517ec
mov edi, eax
mov ecx, edi
mov dl, 0xd
mov eax, ebx
call fcn.005cf5e8
mov eax, edi
call fcn.004028c0
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.005c8b04
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.00566f78
mov eax, dword [esi + 0x1a0]
mov edx, dword [eax + 0x30]
sub edx, 0xe
mov eax, ebx
call fcn.00568354
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.005cf5f8
push 0
mov al, byte [0x4da5f8]
push eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x671ef8]
mov edx, dword [edx]
call fcn.00403438
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0065829c
mov eax, dword [ebp - 0x108]
call fcn.00403ab8
mov edi, eax
lea eax, [ebp - 0x10c]
mov edx, dword [0x671fb8]
mov edx, dword [edx]
call fcn.00403438
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0065829c
mov eax, dword [ebp - 0x108]
call fcn.00403ab8
add edi, eax
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.005c32e0
mov eax, dword [esi + 0x1a0]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
call fcn.004629e4
mov byte [ebx + 0x403], 1
mov eax, ebx
call fcn.005bccdc
mov edx, dword [0x6721f4]
mov eax, ebx
call fcn.00564d98
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.00650bf0
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.0064c6f8
call fcn.0064e3d0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.0064bcf0
mov edi, eax
mov eax, dword [0x671bac]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00627d3c
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x18]
call fcn.0064bccc
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.0064f370
mov eax, dword [0x6726c4]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x14f], 1
mov eax, dword [0x672cb4]
mov ax, word [eax + 0x30]
mov word [ebp - 2], ax
mov eax, dword [0x672cb4]
mov eax, dword [eax + 0x32]
mov dword [ebp - 8], eax
mov eax, dword [0x672cb4]
mov dx, word [esi + 0x1c8]
mov word [eax + 0x30], dx
mov eax, dword [0x672cb4]
mov edx, dword [esi + 0x1cc]
mov dword [eax + 0x32], edx
mov eax, dword [0x672cb4]
test byte [eax], 0x40
setne al
mov byte [ebp - 9], al
mov eax, dword [0x672cb4]
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.005c197c
mov byte [ebx + 0x493], 1
mov eax, dword [ebp - 0x18]
call fcn.0064bcf0
mov edi, eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.005c197c
cmp byte [ebp - 9], 0
je 0x4da534
mov eax, dword [0x672cb4]
or dword [eax], 0x40
mov eax, dword [0x672cb4]
mov dx, word [ebp - 2]
mov word [eax + 0x30], dx
mov eax, dword [0x672cb4]
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.0064bccc
lea eax, [ebp - 0x144]
push eax
push edi
call sub.user32.dll_FrameRect
mov eax, dword [0x6726c4]
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 [0x6730b4]
or dword [eax], 0x80000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da5c7
lea eax, [ebp - 0x10c]
call fcn.00403274
lea eax, [ebp - 0x108]
call fcn.00403880
ret