Function at 0x506b08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
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 esi, eax
mov eax, dword [esi + 8]
mov dword [eax + 0x3c], 0xffffffff
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x10]
mov eax, dword [esi + 4]
call fcn.0044ca3c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x30]
mov ebx, dword [esi + 8]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x38]
mov eax, ebx
call fcn.005036f0
mov edi, eax
mov eax, dword [esi + 4]
push esi
push edi
lea esi, [eax + 0x302]
lea edi, [ebp - 0x2c]
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
pop esi
mov eax, dword [esi + 8]
call fcn.005056c4
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x16c]
neg eax
push eax
mov edx, dword [esi + 4]
mov edx, dword [edx + 0x16c]
neg edx
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_OffsetRect
mov dl, 1
mov eax, dword [0x42741c]
call fcn.0042daac
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x506cee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.0042f0ec
mov edx, dword [edi + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
call fcn.0042e07c
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.00428bb8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a3f4
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0042e07c
pop edx
call fcn.00428f90
push 0
push 0
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0042e07c
call fcn.004293d8
push eax
call sub.gdi32.dll_SetWindowOrgEx
push 0
mov eax, dword [ebp - 0x14]
call fcn.0042e07c
call fcn.004293d8
mov edx, eax
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x38]
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0042e07c
call fcn.004293d8
push eax
call sub.gdi32.dll_SetWindowOrgEx
mov eax, edi
call fcn.00502418
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0041a3cc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 4]
call fcn.0044ca10
mov eax, dword [esi + 0xc]
sub dword [ebp - 0x18], eax
test byte [esi + 0x15], 0x40
je 0x506cb5
mov eax, dword [esi + 0x50]
mov byte [eax + 0x28], 1
jmp 0x506cbc
mov eax, dword [esi + 0x50]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [esi + 0x50]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00501cd0
mov eax, dword [esi + 0x50]
call fcn.00502148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506cf5
mov eax, dword [ebp - 0x14]
call fcn.00403ff4
ret