Function at 0x7bf850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x881388
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], edi
call edx
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov edx, dword [eax + 0x20]
push ecx
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
mov ecx, edi
call fcn.007d3093
lea ecx, [esp + 0x20]
call fcn.007bf030
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x80], esi
cmp ebx, esi
je 0x7bf9ea
mov edi, edi
mov edi, dword [esp + 0x28]
mov esi, ebx
mov ecx, dword [esi + 8]
mov ebx, dword [ebx]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], edx
mov ecx, dword [esi + 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x7bf965
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x7bf953
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x7bf953
push eax
call fcn.004a9b50
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x7bf946
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esp + 0x28], ecx
jmp 0x7bf961
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004a8db0
mov ebp, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x4c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x50], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x54], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 0x44]
push eax
mov dword [esp + 0x60], edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x7bf9e0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.007bf6e0
test ebx, ebx
jne 0x7bf8f0
xor esi, esi
mov ebx, dword [ebp + 0x40]
cmp ebx, esi
je 0x7bfb02
mov edi, dword [esp + 0x28]
mov esi, ebx
mov eax, dword [esi + 8]
mov ebx, dword [ebx]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x7bfa6a
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x7bfa58
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x7bfa58
push eax
call fcn.004a9b50
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x7bfa4b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esp + 0x28], ecx
jmp 0x7bfa66
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004a8db0
mov ebp, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x4c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x50], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x54], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [ebp]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 0x44]
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebp
call edx
test eax, eax
je 0x7bfaf8
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x7bfaf8
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.007bf6e0
test ebx, ebx
jne 0x7bf9f5
xor esi, esi
mov ecx, dword [esp + 0x60]
call fcn.007d407d
test eax, 0x400000
je 0x7bfb23
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x7bfb4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0080262b
add esp, 0x70
ret 4