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

Disassembly:
push 0x1c
mov eax, 0x5e1f8e
call fcn.005234b0
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x71f704]
mov dword [ebx + 4], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx], vtable.TeamViewer::CWhiteboardOverlayTB.0
mov dword [ebx + 0x24], eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebx + 0x28]
call fcn.00411894
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x4c]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
lea eax, [ebx + 0x7c]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea eax, [ebx + 0x8c]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea eax, [ebx + 0x9c]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea eax, [ebx + 0xac]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], esi
lea eax, [ebx + 0xd0]
mov dword [eax], esi
mov dword [eax + 4], esi
lea eax, [ebx + 0xd8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xa
mov ecx, dword [ebp - 0x14]
call fcn.00423efe
add dword [ebp - 0x14], 0x48
dec dword [ebp - 0x18]
jns 0x59797d
mov dword [ebx + 0x414], esi
push 0x14
pop ecx
lea eax, [ebx + 0x434]
mov edx, ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
add eax, ecx
dec edx
jns 0x59799f
push 4
lea eax, [ebx + 0x5dc]
pop edx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
add eax, ecx
dec edx
jns 0x5979b8
push 3
lea eax, [ebx + 0x644]
pop edx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
add eax, ecx
dec edx
jns 0x5979d1
push 4
lea eax, [ebx + 0x698]
pop edx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
add eax, ecx
dec edx
jns 0x5979ea
mov dword [ebx + 0x700], esi
mov dword [ebx + 0x704], esi
mov dword [ebx + 0x708], esi
mov dword [ebx + 0x70c], esi
mov dword [ebx + 0x710], esi
push 0x423f3f
push 0x423f26
push 4
push 8
lea eax, [ebx + 0x718]
push eax
mov byte [ebp - 4], 0xc
call fcn.0051e813
mov byte [ebp - 4], 0xd
or dword [ebx + 0x40c], 0xffffffff
or dword [ebx + 0x418], 0xffffffff
push 0x15c
push 0x64
push esi
push esi
lea eax, [ebx + 0x8c]
mov byte [ebx + 0xcc], 0
mov dword [ebx + 0xc8], 0x82
mov dword [ebx + 0x5d8], esi
mov dword [ebx + 0x640], esi
mov dword [ebx + 0x694], esi
mov dword [ebx + 0x6fc], esi
mov byte [ebx + 0x430], 1
mov dword [ebx + 0x41c], esi
mov dword [ebx + 0x34], esi
push eax
mov dword [0x712ab8], esi
call dword [sym.imp.USER32.dll_SetRect]
push 0x15c
push 0x26
push esi
push esi
lea eax, [ebx + 0x7c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebx + 0x8c]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
push 0x32
lea eax, [ebx + 0x7c]
mov edx, ecx
sub edx, dword [eax]
push 0x8a
add dword [eax + 8], edx
push esi
mov dword [eax], ecx
push esi
lea eax, [ebx + 0xac]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebx + 0x98]
sub ecx, dword [ebx + 0x90]
lea eax, [ebx + 0xac]
mov edx, ecx
sub edx, dword [eax + 4]
mov dword [eax + 4], ecx
add dword [eax + 0xc], edx
mov eax, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xb4]
push eax
push ecx
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
add ecx, 0xffffffe2
mov eax, dword [edi + 4]
sub eax, dword [edi + 0xc]
mov dword [ebp + 0xc], ecx
push dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [edi]
sub ecx, dword [edi + 8]
push edx
push eax
add ecx, edx
push ecx
lea edi, [ebx + 0x3c]
push edi
call esi
mov esi, edi
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x712ac8], esi
jne 0x597b56
mov dword [0x712ac8], esi
lea eax, [ebx + 0x20]
push eax
push 0x712a98
call fcn.004123d5
movzx eax, ax
push eax
push esi
push 0x80080
push bind
push esi
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.0045a759
push 0x43
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
lea esi, [ebx + 0x2c]
mov dword [esi], eax
mov eax, dword [ebx + 0xc8]
mov byte [ebx + 0x3a], al
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x34]
push eax
lea eax, [ebx + 0x30]
push eax
push esi
mov byte [ebx + 0x3b], 1
mov byte [ebx + 0x39], 0
mov byte [ebx + 0x38], 0
call fcn.0054c159
add esp, 0x10
push 1
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
call edi
push 0x20
sub esp, 0x10
lea ecx, [ebx + 0xbc]
mov dword [ecx], eax
mov edi, esp
lea esi, [ebx + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0xc4]
movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebx + 0xc0]
push esi
push ecx
call fcn.0054c0f3
add esp, 0x20
push dword [esi]
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, 0xcea0
push eax
push 0x68bad8
push eax
push dword [ebx + 0xc4]
call fcn.0051e4e8
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
add esp, 0x10
push 0
push 0
push 6
pop edi
push edi
call esi
push 0
push 2
push edi
mov dword [ebx + 0x700], eax
call esi
push 0xffffff
push 2
push edi
mov dword [ebx + 0x704], eax
call esi
push 0x7f7f7f
push 2
push edi
mov dword [ebx + 0x708], eax
call esi
push 0xd57733
push 1
push 0
mov dword [ebx + 0x70c], eax
call esi
push str.Arial
push 4
mov dword [ebx + 0x414], eax
push 1
lea eax, [ebx + 0x710]
push 0xd
push eax
xor al, al
mov cl, 4
mov dword [ebx + 0x714], 0x900
call fcn.0041dd25
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00412117
mov eax, ebx
call fcn.00523588
ret 0x10