Function at 0x5686f8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
mov eax, dword [edi + 8]
mov dword [eax + 0x40], 0xffffffff
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x10]
mov eax, dword [edi + 4]
call fcn.004bba74
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x34]
mov ebx, dword [edi + 8]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x3c]
mov eax, ebx
call fcn.00563fe0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
push edi
lea esi, [eax + 0x388]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [edi + 8]
call fcn.005665fc
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1b8]
neg eax
push eax
mov edx, dword [edi + 4]
mov edx, dword [edx + 0x1b8]
neg edx
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [edi + 4]
mov si, 0xffc7
call fcn.00405324
test al, al
je 0x5687c1
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x128]
sub dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0x458764]
call fcn.004623cc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x56894e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.00464048
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00462cec
mov eax, dword [eax + 0x48]
mov edx, 0xff00000f
call fcn.0045bc0c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00437948
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00462cec
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
push 0
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00462cec
call fcn.0045ce14
push eax
call sub.gdi32.dll_SetWindowOrgEx
push 0
mov eax, dword [ebp - 0x14]
call fcn.00462cec
call fcn.0045ce14
mov edx, eax
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00462cec
call fcn.0045ce14
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, dword [edi + 4]
mov si, 0xffc7
call fcn.00405324
test al, al
je 0x5688e0
mov eax, dword [edi + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.00562824
add ebx, eax
mov eax, ebx
lea ecx, [ebp - 0x38]
xor edx, edx
call fcn.00437918
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
call fcn.004bb940
jmp 0x568900
mov eax, dword [ebp - 0x20]
call fcn.00562824
lea ecx, [ebp - 0x38]
xor edx, edx
call fcn.00437918
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
call fcn.004bb940
mov eax, dword [edi + 0xc]
sub dword [ebp - 0x18], eax
test byte [edi + 0x15], 0x40
je 0x568915
mov eax, dword [edi + 0x68]
mov byte [eax + 0x28], 1
jmp 0x56891c
mov eax, dword [edi + 0x68]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [edi + 0x68]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00562090
mov eax, dword [edi + 0x68]
call fcn.00562514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568955
mov eax, dword [ebp - 0x14]
call fcn.00405064
ret