Function at 0x531f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59d780
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x5f7780
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x24]
mov byte [esp + 0x60], 1
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
mov dword [eax], edi
mov eax, esp
lea edx, [esp + 0x2c]
mov dword [eax], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x28], esp
push eax
lea ebx, [esi + 0x5c]
push ebx
call fcn.00532230
mov ecx, ebx
call fcn.00532950
mov ecx, dword [ebx]
push 6
push 0xfffffffffffffff4
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x50]
push edx
push ebx
call fcn.00532350
push 1
push esi
call fcn.00532df0
mov ecx, dword [esi + 0x68]
mov ecx, dword [ecx - 0xc]
lea eax, [esi + 0x68]
add esp, 8
cmp ecx, edi
je 0x532002
lea edi, [esp + 0x18]
mov dword [esp + 0x1c], 1
call fcn.00480f90
jmp 0x53204a
mov eax, dword [esi + 0x74]
cmp eax, edi
je 0x53204a
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00533890
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x60], 2
call fcn.00480f90
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53204a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b239c
push ebx
lea ebx, [esp + 0x1c]
call fcn.00532290
push 0x18
call fcn.00566e45
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x532088
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.ksOleClientSite.0
mov dword [eax + 4], vtable.ksOleClientSite.1.0
mov dword [eax + 8], vtable.ksOleClientSite.2.0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
jmp 0x53208a
xor eax, eax
lea edi, [esi + 0x54]
call fcn.00532fe0
mov eax, dword [edi]
cmp eax, ebx
je 0x5320b2
cmp dword [esp + 0x14], ebx
je 0x5320b2
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x14]
mov esi, dword [edi]
push eax
call fcn.00533dd0
cmp dword [esp + 0x1c], ebx
je 0x53213c
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov word [esp + 0x44], 3
mov dword [esp + 0x4c], 2
mov byte [esp + 0x60], 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x532128
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x100]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov edi, dword [esp + 0x14]
jne 0x53218b
xor esi, esi
mov dword [esp + 0x20], esi
lea edx, [esp + 0x34]
push edx
mov eax, edx
push eax
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x70], 5
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x2c]
push esi
push edi
call ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x44]
push edx
call esi
lea eax, [esp + 0x34]
push eax
call esi
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x532150
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x532178
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
jne 0x532105
push 0x8007000e
call fcn.00473d10
int3