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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
push 0x10
call sym.vidcap60.exe__SfGetUIBrush_4
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
shr eax, 6
push ecx
lea edx, [esp + 0x90]
and eax, 1
push edx
lea esi, [esp + 0x40]
mov dword [esp + 0x48], eax
call fcn.004b6380
mov esi, dword [esp + 0xb8]
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [ebp], 0x40
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x48], ecx
je 0x4b9485
mov edx, dword [esp + 0x38]
push edx
jmp 0x4b948a
mov eax, dword [esp + 0x44]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
push 0
push 0
push 0
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x68]
push edx
push 2
push 0
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x90]
push 0
push edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov esi, eax
mov eax, dword [ebp + 0x8c]
mov ecx, eax
shr ecx, 4
test cl, 7
mov dword [esp + 0x90], esi
je 0x4b95dd
lea edx, [ebp + 0x68]
mov ebx, edx
mov edx, dword [ebx]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
dec edx
dec ebx
test esi, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
je 0x4b952e
test cl, 1
je 0x4b952e
shr eax, 2
and eax, 1
shl eax, 1
or eax, 9
jmp 0x4b9533
mov eax, 0xc
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [0x622254]
mov edx, dword [eax + 0x3c]
push 1
push edi
push edx
call dword [eax + 0x58]
lea eax, [ebp + 0x78]
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
dec eax
dec ecx
test esi, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
je 0x4b9587
mov eax, dword [ebp + 0x8c]
test al, 0x20
je 0x4b9587
shr eax, 3
and eax, 1
shl eax, 1
or eax, 0xd
jmp 0x4b958c
mov eax, 0x10
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [0x622254]
mov edx, dword [eax + 0x3c]
push 1
push edi
push edx
call dword [eax + 0x58]
mov eax, dword [ebp + 0x64]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, eax
mov eax, dword [ebp + 0x68]
sar ecx, 1
sub eax, ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 6
push edi
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x4b95fe
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0xb0]
test eax, eax
mov dword [esp + 0x58], 1
mov dword [esp + 0x30], 0
jbe 0x4b9c9a
lea edx, [ebp + 0x170]
mov dword [esp + 0x3c], edx
mov esi, edx
lea eax, [esi + 0x44]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0x12
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp edx, eax
sete cl
xor ebx, ebx
mov dword [esp + 0x34], ecx
mov ecx, edx
test ecx, ecx
jbe 0x4b96a9
cmp ecx, eax
mov ebx, 6
jne 0x4b969d
mov ebx, 4
jmp 0x4b96b6
dec ecx
cmp ecx, eax
jne 0x4b96b6
mov ebx, 5
jmp 0x4b96b6
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b96b6
mov ebx, 2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b9727
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push 1
push edx
sub eax, dword [ebp + 0x60]
push eax
push edi
push ebx
push ecx
call fcn.004108e0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b97b6
mov ecx, dword [esp + 0x34]
xor ebx, ebx
test ecx, ecx
setne bl
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
inc ebx
push ebx
push 1
push edi
push ecx
call dword [eax + 0x58]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
push ebx
push 1
push edi
push ecx
call dword [eax + 0x60]
jmp 0x4b9883
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x4b9759
mov eax, dword [ebp + 0x60]
mov edx, eax
imul edx, ebx
push 0xcc0020
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push edx
sub ecx, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4b96d9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b978d
mov esi, dword [ebp + 0x60]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push 1
push ebx
push edx
push esi
sub ecx, esi
call fcn.004b71e0
mov esi, dword [esp + 0x3c]
jmp 0x4b96d9
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp]
mov eax, dword [ebp + 0x60]
push ecx
mov ecx, dword [ebp + 0x64]
and edx, 0x20
push edx
mov edx, dword [esp + 0x18]
push 1
push ebx
push ecx
push eax
sub edx, eax
mov eax, dword [esp + 0x2c]
push edx
mov ebx, edi
call fcn.004b6ed0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b97c5
mov edx, dword [esp + 0x38]
push edx
jmp 0x4b97cd
mov eax, dword [esp + 0x8c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
mov dword [esp + 0xb4], edx
lea edx, [esp + 0xb0]
push edx
push 2
push 0
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x34]
push 0
push edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
test byte [ebp], 0x20
je 0x4b982a
mov ebx, dword [esp + 0x14]
add ebx, 2
jmp 0x4b982e
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0xf00021
push 1
sub ecx, eax
push ecx
dec ebx
push ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, 2
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
sub ebx, eax
add edx, eax
sub ecx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x38]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4b9a29
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b995d
mov eax, dword [ebp]
test ah, 1
jne 0x4b995d
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x4b995d
push eax
push edi
mov dword [esp + 0x5c], 1
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b99db
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov eax, ebx
sub eax, edx
add eax, ecx
inc ecx
dec eax
inc edx
push 0
dec ebx
push edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov edx, dword [esi + 0x54]
mov ebx, eax
xor eax, eax
test edx, edx
sete al
push 0
lea ecx, [esp + 0x80]
push ecx
lea eax, [eax*4 + 1]
push eax
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 3
push edi
push edx
call dword [eax + 0x58]
test byte [ebp], 0x40
je 0x4b99a0
test esi, esi
jne 0x4b996a
xor eax, eax
jmp 0x4b9974
mov dword [esp + 0x54], 0
jmp 0x4b98d1
push esi
call dword [0x5d2620]
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
push 0
push eax
push esi
lea eax, [esp + 0x2c]
push eax
push 4
push ecx
add edx, 2
push edx
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextAlign]
jmp 0x4b9a14
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextAlign]
test esi, esi
jne 0x4b99b0
xor eax, eax
jmp 0x4b99ba
push esi
call dword [0x5d2620]
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push 0
push eax
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x94]
push 4
push ecx
lea eax, [eax + edx + 3]
jmp 0x4b9a07
test esi, esi
jne 0x4b99e3
xor eax, eax
jmp 0x4b99ed
push esi
call dword [0x5d2620]
add esp, 4
mov edx, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push 4
push edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b9a72
mov edx, dword [ebp + 0x40]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4b9a72
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
test esi, esi
jne 0x4b9a41
xor eax, eax
jmp 0x4b9a4b
push esi
call dword [0x5d2620]
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push 0
push eax
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
add eax, edx
cdq
push 4
sub eax, edx
push ecx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b9add
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4b9add
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x4b9a96
mov ecx, dword [ebp + 0x10]
dec eax
cmp eax, ecx
jne 0x4b9a96
xor ebx, ebx
jmp 0x4b9a99
mov ebx, dword [ebp + 0x60]
test byte [ebp], 0x20
je 0x4b9aa8
mov esi, dword [esp + 0x1c]
add esi, 0xfffffffe
jmp 0x4b9aac
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0xf00021
push 1
mov edx, ebx
sub edx, eax
add edx, ecx
push edx
push esi
sub eax, ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0xb0]
inc eax
cmp eax, ecx
jb 0x4b9ba5
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, 1
je 0x4b9b02
mov ecx, 3
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b9b20
mov edx, dword [esp + 0x14]
push 1
push edx
mov edx, dword [esp + 0x20]
push edx
push edi
push ecx
push eax
call fcn.004108e0
jmp 0x4b9b4e
mov edx, dword [ebp + 0x54]
test edx, edx
je 0x4b9b4e
mov eax, dword [ebp + 0x60]
mov ebx, eax
imul ebx, ecx
mov ecx, dword [ebp + 0x64]
push 0xcc0020
push 0
push ebx
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b9b63
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x60]
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b9ba5
test byte [ebp], 0x20
je 0x4b9b7a
mov ebx, dword [esp + 0x1c]
add ebx, 0xfffffffe
jmp 0x4b9b7e
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push 0xf00021
push 1
sub ecx, eax
push ecx
push ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [ebp + 0x64]
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x4b9c08
mov eax, dword [ebp + 0x64]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
add eax, ecx
mov dword [esp + 0xa0], eax
test byte [ebp], 0x40
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
push 1
je 0x4b9bf5
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x9c]
push eax
jmp 0x4b9c02
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x9c]
push edx
push edi
call fcn.004b6980
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b9c7c
mov ecx, dword [ebp + 0x64]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0x48]
cmp eax, edx
jl 0x4b9c7c
mov ebx, dword [esp + 0x10]
mov eax, edx
sub eax, ebx
cmp eax, ecx
mov dword [esp + 0x58], 0
jle 0x4b9c3e
mov eax, ecx
mov ebx, edx
sub ebx, eax
mov eax, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x60], eax
test byte [ebp], 0x40
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
push 0
je 0x4b9c6c
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x64]
push ecx
jmp 0x4b9c76
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x64]
push eax
push edi
call fcn.004b6980
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0xb0]
inc eax
add esi, 0x58
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], esi
jb 0x4b9628
test byte [ebp + 0x8c], 0x70
je 0x4b9cac
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc